MongoDB C100DBA Exam
MongoDB Associate Database Administrator (Page 4 )

Updated On: 7-Feb-2026

If the value of totalKeysExamined is 30000 and the value of totalDocsExamined is 0, which of the following option is correct?

  1. None of the above
  2. The query used an index to fetch the results
  3. The query returned 0 documents
  4. The query returned 30000 documents after scanning the documents

Answer(s): B



Given a collection posts as shown below having a document array comments, which of the following command will create an index on the comment author descending?

  1. db.posts.createIndex({commerits.$.author":-l});
  2. db.posts.createIndex({comments.$.author": {$desc:l>});
  3. db.posts.createIndex({comments.author":-l});

Answer(s): C



Which option should be used to update all the documents with the specified condition in the MongoDB query?

  1. specify {all: true} as the third parameter of update command
  2. updateAII instead of update
  3. specify {updateAII: true} as the third parameter of update command
  4. specify {multi : true} as the third parameter of update command

Answer(s): D



Which mongodb tool is used to report details on number of database operations in MongoDB?

  1. mongorestore
  2. mongostat
  3. mongodump
  4. mongotop

Answer(s): B



In a sharded replica set environment, the w Option provides ability for write concern and j Option provides ability for the data to be written on disk journal. Consider that we have a seven member replica set and we want to assure that the writes are committed to journal.
What should be the value of j?

  1. 7
  2. 2
  3. 1
  4. 0

Answer(s): C






Post your Comments and Discuss MongoDB C100DBA exam prep with other Community members:

Join the C100DBA Discussion