nerdexam
MongoDB

C100DBA · Question #5

C100DBA Question #5: Real Exam Question with Answer & Explanation

The correct answer is D. specify {multi : true} as the third parameter of update command. See the full explanation below for the reasoning.

Question

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

Options

  • Aspecify {all: true} as the third parameter of update command
  • BupdateAII instead of update
  • Cspecify {updateAII: true} as the third parameter of update command
  • Dspecify {multi : true} as the third parameter of update command

Community Discussion

No community discussion yet for this question.

Full C100DBA Practice