GrabCert
HomeExamsProvidersAbout
Sign InSign Up
Home/Exams/MongoDB MongoDB Associate Database Administrator/Question #4
#4Multiple Choice

Given the following documents in a collection:
{_id:1, a: “one”, b: “two”}
{_id:2, a: “two”, b: “three”}
{_id:3, a: “one”, b: “four”, c: “three”}
Using the following update command:
db.coll.replaceOne({a: “one”}, {d: “two”, b: “five”})
What would the contents of the collection be after successfully running this command?

Previous
Question 4 of 152
Exam C100DBA Topic 1 Question 4
Back to all questions
Next
GrabCert

Your trusted source for certification exam preparation. Pass your exams with confidence.

Quick Links

  • Home
  • Exams
  • Providers

Legal

  • About
  • Contact Us
  • Refund Policy
  • Privacy Policy
  • Terms of Service

© 2026 GrabCert. All rights reserved.

Sign InSign Up