Black Friday Reward - Upto 75% off - Ends in 0d 00h 00m 00s - Coupon code: CFsave75

MongoDB Associate Database Administrator(Based on MongoDB 6.0 and 7.0+) C100DBA Question # 13 Topic 2 Discussion

MongoDB Associate Database Administrator(Based on MongoDB 6.0 and 7.0+) C100DBA Question # 13 Topic 2 Discussion

C100DBA Exam Topic 2 Question 13 Discussion:
Question #: 13
Topic #: 2

In a replica set with a primary and two secondaries, what should the write concern be set to so only a single node is required to acknowledge a write operation before it is deemed successful?


A.

{ writeConcern: { w: " 1 " } }


B.

{ writeConcern: 1 }


C.

{ writeConcern: " 1 " }


D.

{ writeConcern: { w: 1 } }


Get Premium C100DBA Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.