New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

MongoDB C100DBA Exam - Topic 5 Question 114 Discussion

Actual exam question for MongoDB's C100DBA exam
Question #: 114
Topic #: 5
[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: C

Contribute your Thoughts:

0/2000 characters
Lashunda
2 months ago
Wait, can you really set j to 0? That seems odd.
upvoted 0 times
...
Kip
2 months ago
I think 7 is overkill for journal writes.
upvoted 0 times
...
Wynell
2 months ago
j should be set to 1 for journal write.
upvoted 0 times
...
Agustin
3 months ago
Agreed, 1 is the right choice here.
upvoted 0 times
...
Emmanuel
3 months ago
Definitely not 0, that would be risky!
upvoted 0 times
...
Sabra
3 months ago
I’m leaning towards 1 for j as well, but I wonder if there are cases where a higher value would be necessary.
upvoted 0 times
...
Germaine
3 months ago
I practiced a similar question, and I feel like setting j to 0 might be risky. We want to ensure durability, right?
upvoted 0 times
...
Rosalind
4 months ago
I'm not entirely sure, but I remember something about needing a majority for write concerns. Does that mean we should choose a higher value for j?
upvoted 0 times
...
Melissa
4 months ago
I think the j option should be set to 1, since it just needs to ensure that the write is committed to the journal of at least one member.
upvoted 0 times
...
Mable
4 months ago
I'm pretty confident on this one. The j option is about ensuring the writes are committed to the journal, and it's independent of the number of replica set members. Since we want to ensure the writes are committed to the journal, the answer should be 1.
upvoted 0 times
...
Eve
4 months ago
Hmm, this is a tricky one. I know the j option is about the journal, but I'm not sure if the number of replica set members is directly related to that. I'll need to think this through carefully and review the concepts around write concerns and journaling in a sharded environment.
upvoted 0 times
...
Hubert
4 months ago
Okay, I think I got this. The j option is about ensuring the data is written to the disk journal, not about the number of replica set members. Since we have a seven-member replica set, the value of j should be 1 to ensure the writes are committed to the journal on at least one member.
upvoted 0 times
...
Pura
4 months ago
I'm a bit confused on this one. The question mentions the w option for write concern, but then asks about the j option. I'm not sure if the j option is related to the number of members in the replica set or something else. I'll need to review my notes on replica set configuration to be sure.
upvoted 0 times
...
Isaac
5 months ago
Hmm, this seems straightforward. The question is asking about the j option in a sharded replica set environment, and we want to ensure the writes are committed to the journal. Since we have a seven-member replica set, I think the answer should be 7.
upvoted 0 times
...
Temeka
6 months ago
This question is a piece of cake! The answer is clearly 7, since we want to make sure the writes are committed to the journal on all 7 members of the replica set. Easy peasy!
upvoted 0 times
Graham
5 months ago
A) 7
upvoted 0 times
...
...
Lillian
6 months ago
Hmm, let me think about this... If I set j to 0, does that mean the writes will be committed to the journal on none of the members? That doesn't sound like a good idea at all!
upvoted 0 times
...
Tyisha
6 months ago
I was just wondering, can we use the 'j' option to write our journal entries in the shape of a smiley face? That would be a nice touch, don't you think?
upvoted 0 times
...
Cortney
6 months ago
For a 7-member replica set, the value of j should be 7 to ensure that the writes are committed to the journal on all members. Option A is the correct answer.
upvoted 0 times
Celeste
5 months ago
B) 2
upvoted 0 times
...
Chanel
5 months ago
A) 7
upvoted 0 times
...
...
Kiley
7 months ago
I think j should be set to 1 for a good balance between durability and performance.
upvoted 0 times
...
Ty
7 months ago
That's true, but setting j to 7 might impact the performance.
upvoted 0 times
...
Cherrie
7 months ago
But wouldn't setting j to 7 provide more durability?
upvoted 0 times
...
Kiley
7 months ago
I agree with Ty, j should be 1 to ensure data is written on disk journal.
upvoted 0 times
...
Ty
7 months ago
I think the value of j should be 1.
upvoted 0 times
...

Save Cancel