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 1 Question 93 Discussion

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

In a sharded replica set environment, the w Option provides ability for write concern and j Option provides ability for the data to be written on disk journal. Consider that we have a seven member replica set and we want to assure that the writes are committed to journal. What should be the value of j?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Carman
1 days ago
Option D) 0? That would be like asking the journal to take a coffee break during the writes. No way, man. Gotta be 1 for the j option!
upvoted 0 times
...
Gilberto
2 days ago
Hold on, why would we need a value of 7 for the j option? That's the total number of members in the replica set, not the journal write concern. I'm going with C) 1.
upvoted 0 times
...
Mee
5 days ago
I agree with Miss. A value of 1 for the j option will ensure the data is written to the journal, which is what we want in a sharded replica set environment.
upvoted 0 times
...
Lourdes
5 days ago
But wouldn't setting j to 7 be even more secure since it ensures all members have committed the write?
upvoted 0 times
...
Miss
7 days ago
Hmm, if we want to ensure the writes are committed to the journal, then the value of j should be 1. The j option is for the data to be written to the disk journal, so 1 should do the trick.
upvoted 0 times
...
Jeannine
10 days ago
I agree with Dortha, setting j to 1 will provide the necessary durability for the writes.
upvoted 0 times
...
Dortha
16 days ago
I think the value of j should be 1 to ensure data is written on disk journal.
upvoted 0 times
...

Save Cancel