Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

MongoDB Exam C100DBA Topic 5 Question 101 Discussion

Actual exam question for MongoDB's C100DBA exam
Question #: 101
Topic #: 5
[All C100DBA Questions]

In mongodb how do you update a document partially?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Wai
6 days ago
Hmm, $project sounds like it might work, but I think that's more for data transformation. Let's go with the good ol' $set and call it a day.
upvoted 0 times
...
Glenn
8 days ago
I'm not sure, but I think $update might also work for partially updating a document in mongodb.
upvoted 0 times
...
Chantay
10 days ago
I agree with Goldie, because $set is used to update specific fields in a document.
upvoted 0 times
...
Corinne
11 days ago
Ah, the age-old MongoDB dilemma! I bet the answer is $set, but I'm always tempted to try $update just to see what happens.
upvoted 0 times
...
Goldie
21 days ago
I think the answer is D) $set.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77