Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 0d 11h 36m 37s 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:

Helaine
2 months ago
Choosing the right j value is like playing a game of 'Journal Roulette' - you don't want to end up with a blank journal, that's for sure!
upvoted 0 times
Enola
2 days ago
C) 1
upvoted 0 times
...
Roslyn
10 days ago
B) 2
upvoted 0 times
...
Nan
28 days ago
A) 7
upvoted 0 times
...
...
Carman
2 months 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
Terina
23 days ago
B) 2
upvoted 0 times
...
Raymon
28 days ago
A) 7
upvoted 0 times
...
...
Gilberto
2 months 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
2 months 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
2 months 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
2 months 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
Freeman
2 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
...
Chantay
3 days ago
C) 1
upvoted 0 times
...
Carmelina
14 days ago
B) 2
upvoted 0 times
...
Carmela
24 days ago
A) 7
upvoted 0 times
...
...
Jeannine
2 months ago
I agree with Dortha, setting j to 1 will provide the necessary durability for the writes.
upvoted 0 times
...
Dortha
2 months ago
I think the value of j should be 1 to ensure data is written on disk journal.
upvoted 0 times
...

Save Cancel
a