MongoDB C100DBA MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4) Online Training
MongoDB C100DBA Online Training
The questions for C100DBA were last updated at Jul 05,2025.
- Exam Code: C100DBA
- Exam Name: MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4)
- Certification Provider: MongoDB
- Latest update: Jul 05,2025
If the value of totalKeysExamined is 30000 and the value of totalDocsExamined is 0, which of the following option is correct?
- A . None of the above
- B . The query used an index to fetch the results
- C . The query returned 0 documents
- D . The query returned 30000 documents after scanning the documents
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?
- A . db.posts.createIndex({commerits.$.author":-l});
- B . db.posts.createIndex({comments.$.author": {$desc:l>});
- C . db.posts.createIndex({comments.author":-l});
Which option should be used to update all the documents with the specified condition in the MongoDB query?
- A . specify {all: true} as the third parameter of update command
- B . updateAII instead of update
- C . specify {updateAII: true} as the third parameter of update command
- D . specify {multi: true} as the third parameter of update command
Which mongodb tool is used to report details on number of database operations in MongoDB?
- A . mongorestore
- B . mongostat
- C . mongodump
- D . mongotop
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?
- A . 7
- B . 2
- C . 1
- D . 0
What read preference should your application use if you want to read from the primary under normal circumstances but allow reads from secondaries when a primary is unavailable?
- A . secondaryPreferred
- B . Secondary
- C . nearest
- D . primary
- E . primaryPreferred
Which of the following operators is used to updated a document partially?
- A . $set
- B . $update
- C . $project
- D . $modify
What is the first task that a secondary would perform on being prompted by another secondary for an election?
- A . Start the election process for primary
- B . Vote for the first secondary so that it would become the next primary
- C . Vote for itself and then call for election
- D . Connect to primary to confirm its availability
Which of the documents below will be retrieved by the following query? Assume the documents are stored in a collection called "sample". Check all that apply.
db.sample.find( { "$or" : [ { "a" : { "$in" : [ 3, 10] > }, { "b" : { "$lt" : 2 > > ] > )
- A . {”__id" :3, "a": 4, "c" :0, "b" :14}
- B . {”_Jd" :7, "a": 8, "c" :1, "b" :7}
- C . {".Jd" :6, "a": 1, "c" :1, "b" :5}
- D . { ”Jd" :9, "a": 17, "c": 1, "b": 1}
- E . { Jd" :10,"a": 3, "c": 1, "b": 1}
- F . {".Jd" :: 2, "a": 2, "c" :: 0, "b": 1}
- G . {".Jd" :: 4, "a": 5, "c" :: 0, "b": 17}
- H . {".Jd" :: 1, "a": 0, "c" :: 0, "b": 2}
- I . {".Jd" :: 5, "a": 3, "c" :: 0, "b": 12}
- J . {".Jd" :: 8, "a": 11, "c": 1, "b": 0}
JSON stands for
- A . JavaScript Object Notation
- B . JavaScript Object Naming
- C . JavaScript Object Notice
- D . None of the above