Exam Code: C100DEV
Exam Questions: 411
MongoDB Certified Developer Associate
Updated: 26 Nov, 2025
Viewing Page : 1 - 42
Practicing : 1 - 5 of 411 Questions
Question 1

As a MongoDB Developer, you are tasked with optimizing a MongoDB database. Your collection has documents with the following structure:
{
  "_id": ObjectId(),
  "user_id": Number,
  "user_data": {
    "name": String,
    "email": String,
    "phone": String,
    "address": {
      "city": String,
      "state": String,
      "country": String
    }
  },
  "transactions": [
    {
      "transaction_id": Number,
      "amount": Number,
      "date": Date
    }
  ]
}
The application frequently queries for the total transaction amount for users based on the city. Which index should you create to optimize the performance of these queries?

Options :
Answer: B

Question 2

You are designing a MongoDB collection to store information about books in a library. Each book document should contain the following fields:title: The title of the book (string).authors: An array of author names (array of strings).published_date: The publication date of the book (ISODate).categories: An array of categories or genres the book belongs to (array of strings).copies: An array containing details about each copy of the book, where each copy has an availability_status (string), location (string), and borrowed_date (ISODate) if the book is currently borrowed.Given this requirement, which of the following schemas correctly represents the document model for this use case? (Select two)

Options :
Answer: A,E

Question 3

You are managing a MongoDB collection named orders, where each document represents an order. The documents contain the following fields:order_id (String): The unique identifier for the order.customer_name (String): The name of the customer who placed the order.total_amount (Number): The total amount of the order.status (String): The status of the order, which can be "pending," "shipped," or "delivered."items (Array of Strings): A list of items included in the order.You want to find all orders that meet the following criteria:The order has a total amount greater than $1000.The order status is either "pending" or "shipped."The order contains either "laptop" or "smartphone" in the list of items.Which of the following queries would return the correct documents?

Options :
Answer: D

Question 4

How can you insert a new document into a MongoDB collection named customers?

Options :
Answer: D

Question 5

Which of the following is the best practice for managing MongoDB data growth in a production environment (scale-out)?

Options :
Answer: C

Viewing Page : 1 - 42
Practicing : 1 - 5 of 411 Questions

© Copyrights FreePDFQuestions 2025. All Rights Reserved

We use cookies to ensure that we give you the best experience on our website (FreePDFQuestions). If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the FreePDFQuestions.