Free MongoDB C100DEV Exam Questions

Become MongoDB Certified with updated C100DEV exam questions and correct answers

Page:    1 / 83      
Total 411 Questions | Updated On: Dec 05, 2025
Add To Cart
Question 1

Where is the MongoDB configuration file usually located?


Answer: B
Question 2

Consider a collection named orders with the following documents:
{
   "_id" : ObjectId("5f0a7e80d8c9c7b5a48c49e1"),
   "order_number" : 1001,
   "customer_id" : "CUST-001",
   "order_date" : ISODate("2022-01-01T00:00:00Z"),
   "total_amount" : 199.99
},
{
   "_id" : ObjectId("5f0a7e80d8c9c7b5a48c49e2"),
   "order_number" : 1002,
   "customer_id" : "CUST-002",
   "order_date" : ISODate("2022-02-01T00:00:00Z"),
   "total_amount" : 299.99
},
{
   "_id" : ObjectId("5f0a7e80d8c9c7b5a48c49e3"),
   "order_number" : 1003,
   "customer_id" : "CUST-003",
   "order_date" : ISODate("2022-03-01T00:00:00Z"),
   "total_amount" : 399.99
}
What is the query to create a compound index on the "customer_id" (ascending) and "order_date" (descending) fields in the orders collection?


Answer: C
Question 3

Given the following documents in a collection:
{ _id: 1, n: [1,2,5], p: 0.75, c: 'Green' },
{ _id: 2, n: 'Orange', p: 'Blue', c: 42, q: 14 },
{ _id: 3, n: [1,3,7], p: 0.85, c: 'Orange' }
Which two documents can successfully be added in the same collection? (Select two)


Answer: C,D
Question 4

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


Answer: D
Question 5

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?


Answer: D
Page:    1 / 83      
Total 411 Questions | Updated On: Dec 05, 2025
Add To Cart

© Copyrights DumpsCertify 2025. All Rights Reserved

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