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: Jan 13, 2026
  • Rated: 4.9 |
  • Online Users: 822
Page No. 1 of 83
Add To Cart
  • Question 1
    • 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)

      Answer: A,E
  • Question 2
    • Which of the following scenarios is best suited for applying the Attribute Pattern?

      Answer: D
  • Question 3
    • We have a movies collection with the following document structure:
      {
        _id: ObjectId("573a1390f29313caabcd6223"),
        genres: [ 'Comedy', 'Drama', 'Family' ],
        title: 'The Poor Little Rich Girl',
        released: ISODate("1917-03-05T00:00:00.000Z"),
        year: 1917,
        imdb: { rating: 6.9, votes: 884, id: 8443 }
      },
      {
        _id: ObjectId("573a13e3f29313caabdc08a4"),
        genres: [ 'Horror', 'Thriller' ],
        title: 'Mary Loss of Soul',
        year: 2014,
        imdb: { rating: '', votes: '', id: 2904798 }
      }
      We need to use Aggregation Framework to calculate the following aggregates:
      average imdb rating
      minimum imdb rating
      maximum imdb rating
      Expected output:
      [
          {
              _id: null,
              avg_rating: 6.6934040649367255,
              min_rating: 1.6,
              max_rating: 9.6
          }
      ]
      Please note that some documents have "" (empty string) for the field "imdb.rating". Exclude these documents before aggregation.
      Which pipeline should you use?

      Answer: C
  • Question 4
    • 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 5
    • As a MongoDB Developer, you are tasked with the deletion of specific documents in a collection named users. The documents to be deleted are those that meet the following criteria: the age field is less than 18 and the status field is "inactive". After the deletion, you need to know the count of the deleted documents. Which of the following commands would correctly perform this operation?

      Answer: A
PAGE: 1 - 83
Add To Cart

© Copyrights DumpsEngine 2026. All Rights Reserved

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