Free MongoDB C100DEV Exam Questions

Absolute Free C100DEV Exam Practice for Comprehensive Preparation 

  • MongoDB C100DEV Exam Questions
  • Provided By: MongoDB
  • Exam: MongoDB Certified Developer Associate
  • Certification: MongoDB Certified Developer Associate
  • Total Questions: 411
  • Updated On: Nov 26, 2025
  • Rated: 4.9 |
  • Online Users: 822
Page No. 1 of 83
Add To Cart
  • Question 1
    • 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 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
    • In MongoDB, which statement accurately describes a typical task for a MongoDB developer related to schema validation?

      Answer: C
  • Question 4
    • 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
  • Question 5
    • How can you insert a new document into a MongoDB collection named customers?

      Answer: D
PAGE: 1 - 83
Add To Cart

© Copyrights DumpsEngine 2025. All Rights Reserved

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