MongoDB C100DBA Exam
MongoDB Associate Database Administrator (Page 9 )

Updated On: 7-Feb-2026

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?

  1. secondaryPreferred
  2. Secondary
  3. nearest
  4. primary
  5. primaryPreferred

Answer(s): E



Which of the following operators is used to updated a document partially?

  1. $set
  2. $update
  3. $project
  4. $modify

Answer(s): A



What is the first task that a secondary would perform on being prompted by another secondary for an election?

  1. Start the election process for primary
  2. Vote for the first secondary so that it would become the next primary
  3. Vote for itself and then call for election
  4. Connect to primary to confirm its availability

Answer(s): D



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 > > ] > )

  1. {''__id" :3, "a": 4, "c" :0, "b" :14}
  2. {''_Jd" :7, "a": 8, "c" :1, "b" :7}
  3. {".Jd" :6, "a": 1, "c" :1, "b" :5}
  4. { ''\Jd" :9, "a": 17, "c": 1, "b": 1}
  5. { \Jd" :10,"a": 3, "c": 1, "b": 1}
  6. {".Jd" :: 2, "a": 2, "c" :: 0, "b": 1}
  7. {".Jd" :: 4, "a": 5, "c" :: 0, "b": 17}
  8. {".Jd" :: 1, "a": 0, "c" :: 0, "b": 2}
  9. {".Jd" :: 5, "a": 3, "c" :: 0, "b": 12}
  10. {".Jd" :: 8, "a": 11, "c": 1, "b": 0}

Answer(s): D,E,F,I,J



JSON stands for

  1. JavaScript Object Notation
  2. JavaScript Object Naming
  3. JavaScript Object Notice
  4. None of the above

Answer(s): A






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

Join the C100DBA Discussion