Given a replica set with five data-bearing members, suppose the primary goes down with operations in its oplog that have been copied from the primary to only one secondary. Assuming no other problems occur, which of the following describes what is most likely to happen?
Suggested Answer: B
Get Premium C100DBA Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
13 comments · newest first
RI
Ricarda
11 months ago
E seems off, I doubt the secondary will roll back anything.
AM
Amie
12 months ago
Wait, can the primary really roll back ops? Sounds risky!
JO
Johana
12 months ago
C makes sense too, reads will be stale for sure.
LE
Lenny
12 months ago
I think B is more likely, that secondary could become primary.
JO
Joana
1 year ago
A is definitely true, missing ops need to be redone.
CR
Crissy
1 year ago
I vaguely remember that if the primary recovers, it might roll back operations, but I’m not entirely certain how that interacts with the election process.
QU
Quiana
1 year ago
I practiced a similar question, and I feel like reads might be stale until the primary comes back up, but I can't recall the exact details.
DA
Daren
1 year ago
I remember something about how the oplog works, but I'm not sure if the secondary can just take over without issues.
TA
Tanesha
1 year ago
I think the secondary with the most current oplog will be elected primary, but I'm a bit confused about the rollback implications.
KA
Katie
1 year ago
The ability to use globals with decision tables is an interesting point, but I'm not sure if that's a significant advantage over if-then rules. I'll have to weigh the pros and cons of each approach.
GE
German
1 year ago
Okay, I've got this. The key is to use a lookup to filter the data and find the relevant information to resolve CustomerB's issue. Options A and B are the correct answers here.
SA
Sanda
1 year ago
Okay, I think I've got this. The key is to identify the reason the account is in this particular status, based on the information provided. Let me work through the options.
ZI
Zita
1 year ago
I think I learned that `git checkout` is mostly for switching branches or restoring files, so that doesn't apply here. Not really sure about `git clean`, though.