Free MongoDB C100DEV Exam Questions

Become MongoDB Certified with updated C100DEV exam questions and correct answers

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

In a MongoDB collection named orders, you are tasked with retrieving a subset of documents that fulfill specific criteria. Each document in this collection contains the following fields: customerId, orderId, orderDate, and orderDetails (an embedded document with fields: product, quantity, unitPrice). You are required to fetch all orders made by the customer with a customerId of 1234 on a specific date 2023-04-12, and only return the orderId, orderDate, and product from orderDetails. Which of the following MongoDB queries would accurately fulfill these requirements?


Answer: A
Question 2

Given the following orders collection in MongoDB:
[
  {
    "_id": 1,
    "customer": "John",
    "orderDetails": [
      { "productId": "P1", "quantity": 2, "unitPrice": 50 },
      { "productId": "P2", "quantity": 1, "unitPrice": 30 }
    ]
  },
  {
    "_id": 2,
    "customer": "Sara",
    "orderDetails": [
      { "productId": "P1", "quantity": 3, "unitPrice": 50 },
      { "productId": "P3", "quantity": 2, "unitPrice": 20 }
    ]
  },
  {
    "_id": 3,
    "customer": "Peter",
    "orderDetails": [
      { "productId": "P2", "quantity": 2, "unitPrice": 30 },
      { "productId": "P4", "quantity": 1, "unitPrice": 100 }
    ]
  }
]
Which MongoDB query will find all orders that contain a product with the productId of "P1" and a quantity greater than 1?


Answer: A
Question 3

Given a movies collection where each document has the following structure:

{
    _id: ObjectId('573a1390f29313caabcd60e4'),
    genres: [ 'Short', 'Comedy', 'Drama' ],
    title: 'The Immigrant',
    year: 1917,
    imdb: { rating: 7.8, votes: 4680, id: 8133 },
    countries: [ 'USA' ]
}
Which of the following queries will find all the movies that have more votes than the year in which they were released?


Answer: D
Question 4

What is the difference between a sparse index and a non-sparse index in MongoDB?


Answer: A
Question 5

In the context of MongoDB development, you are creating a new service that is expected to handle high load. You've decided to leverage the MongoDB drivers' connection pooling capability. What best describes connection pooling and its advantages?


Answer: C
Page:    1 / 83      
Total 411 Questions | Updated On: Feb 09, 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.