Free C100DBA Exam Braindumps (page: 5)

Page 4 of 34

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



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






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

C100DBA Discussions & Posts