Question 1
Which mongosh command inserts a single document into the 'orders' collection?
Correct Answer:
db.orders.insertOne({ item: 'book', qty: 5 })
Question 2
Which query returns all documents in the 'products' collection where the price is greater than 100 and the category is 'electronics'?
Correct Answer:
db.products.find({ price: { $gt: 100 }, category: 'electronics' })
Question 3
What does the following aggregation pipeline return? db.sales.aggregate([ { $match: { status: 'completed' } }, { $group: { _id: '$region', total: { $sum: '$amount' } } } ])
Correct Answer:
The total sales amount grouped by region for completed sales
Question 4
In an aggregation pipeline, which stage would you use to join documents from a 'customers' collection into an 'orders' collection based on a matching customer ID?
Correct Answer:
$$lookup
Question 5
You want to create a compound index on the 'orders' collection to efficiently support queries that filter on 'customerId' and sort by 'orderDate' descending. Which command is correct?
Correct Answer:
db.orders.createIndex({ customerId: 1, orderDate: -1 })
Question 1
Exam overview

About this Exam

Prepare with the MongoDB Developer Associate Practice Questions - MongoDB Associate Developer Certification Exam practice quiz. This question bank includes 100 questions covering aggregation, documents, stage, mongodb, and field. Use it to review important concepts, identify knowledge gaps, and build confidence for the related exam, course, or assessment.

More details

Additional Information

MongoDB Developer Associate Practice Questions - MongoDB Associate Developer Certification Exam

This practice set contains 100 questions from the matching question bank and focuses on aggregation, documents, stage, mongodb, and field. Work through each question carefully, review the provided solutions, and revisit topics that need more study before your next attempt.

This is an independent study resource intended for practice and review; it is not an official examination or an endorsement by any organization named in the title.

Quiz information

Frequently Asked Questions

The complete question count is available after full access is unlocked.
No fixed duration is currently configured for this quiz.
Question explanations are included where they are available in the quiz content, helping you review the reasoning after answering.
Yes. You can retake the practice test again as you continue studying during your available access period.
After your access is confirmed, you can continue into the complete practice exam from this quiz flow.
Unless explicitly stated otherwise, this page provides independent practice material for study and exam preparation and is not the official examination itself.
Keep studying

Related Questions