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

Assuming correct imports, properly instantiated MongoClient called client, and given the following Java code:
MongoCollection<Document> collection = client.getDatabase(“employees”).getCollection(“records”);
Bson filter = eq(“name”, “Samantha Smith”);
Bson update = set(“name”, “Sam Smith”);
What statement correctly updates a single document in MongoDB?

Previous
Question 13 of 152
Exam C100DBA Topic 1 Question 13
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