Free MongoDB C100DEV Exam Questions

Become MongoDB Certified with updated C100DEV exam questions and correct answers

Page:    1 / 83      
Total 411 Questions | Updated On: Jan 13, 2026
Add To Cart
Question 1

You are designing a MongoDB schema for an e-commerce platform. The system has three collections: Products, Categories, and Reviews.Products Collection: Contains information about each product, including its name, price, and categoryId referencing the Categories collection.Categories Collection: Contains the category name and description.Reviews Collection: Contains user reviews for products, including the productId referencing the Products collection, userId, rating, and reviewText.Which of the following is the best approach to model the relationships between Products, Categories, and Reviews in MongoDB?


Answer: A
Question 2

Which of the following statements correctly describes the relationship between BSON and JSON in MongoDB?


Answer: C
Question 3

Consider the following scenario: You have a MongoDB collection named users that stores user information. Each document in the collection has the following structure:
{
  "_id": ObjectId("609fe4b5728ad805aef1a88d"),
  "name": "John Doe",
  "age": 30,
  "email": "johndoe@example.com",
  "address": {
    "street": "123 Main St",
    "city": "New York",
    "state": "NY",
    "zipcode": "10001"
  }
}
You need to retrieve all the documents from the users collection and convert them to an array format. Which of the following MongoDB queries should you use for this task?


Answer: B
Question 4

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?


Answer: B
Question 5

Consider a MongoDB collection named products which has documents in the following format:
{
    "_id" : ObjectId("5f5b0d2f3e3dfbcc11c84444"),
    "name" : "Smartphone",
    "brand" : "Apple",
    "category" : "Electronics",
    "price" : 1000,
    "discount" : 0.1
}
What is the correct syntax to update the "price" field of all documents in the products collection by multiplying it with (1 - discount) using the $set operator and the $multiply operator?


Answer: D
Page:    1 / 83      
Total 411 Questions | Updated On: Jan 13, 2026
Add To Cart

© Copyrights DumpsCertify 2026. All Rights Reserved

We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the DumpsCertify.