×

Special Offer! Sale of the Month | Extra 20% Off - Ends In Coupon code: DG2020

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 27, 2025
  • Rated: 4.9 |
  • Online Users: 822
Page No. 1 of 83
Add To Cart
  • Question 1
    • In MongoDB, which statement accurately describes a typical task for a MongoDB developer related to schema validation?

      Answer: C
  • Question 2
    • When sharding a MongoDB collection, what is the main factor that determines the distribution of data across shards?

      Answer: D
  • Question 3
    • Suppose you have a products collection with an index:
      { product_category: 1 }
      For which of the following queries can MongoDB look at only a subset of the index entries, rather than all of the index entries?

      Answer: D
  • Question 4
    • You have two collections in your MongoDB database: students and grades. The students collection contains the following document:
      {
          "_id": ObjectId("64d5b0e5c9d95a76ac3ebed2"),
          "student_id": 1,
          "name": "Alice"
      }
      The grades collection contains the following documents:
      {
          "_id": ObjectId("64d5b0e5c9d95a76ac3ebed3"),
          "student_id": 2,
          "course": "Math",
          "grade": "A"
      },
      {
          "_id": ObjectId("64d5b0e5c9d95a76ac3ebed4"),
          "student_id": 2,
          "course": "Science",
          "grade": "B"
      }
      You run the following aggregation query to retrieve students along with their grades:
      db.students.aggregate([
          {
              $lookup: {
                  from: "grades",
                  localField: "student_id",
                  foreignField: "student_id",
                  as: "grades_details"
              }
          }
      ])
      What will be the structure of the documents returned by this aggregation query for the student with student_id: 1?

      Answer: B
  • Question 5
    • 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
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.