SRECoreOps
MongoDBAsked in SRE and DevOps engineer rounds
MongoDB writes with concern majority survive a failover that would roll back a w:1 write
The scenario
A deploy made the checkout service write with w:1, meaning the primary acks alone. The primary then died. Orders the API had called successful are missing on the new primary. Support wants the old node forced back so those orders reappear. Finance needs each order once.
Model answer
Unlock the answer interviewers want to hear
Model answer, what to add at your level, the follow-up, and common mistakes.
INTERVIEW BANK PASSNot on sale right nowEvery drill and interview experience. Renews monthly.
DEVOPS PARKInterview Bank includedInterview Bank included, plus War Zone, labs, roadmaps and Daily Challenge.See DevOps Park plans
3 questions in this drill are free.Read a free one
How to answer at your level
The follow-up they'll ask
Common mistakes