Interview questionsStart free
Sharding, replication & partitioningHardSDE-3
Your primary database becomes unreachable and the replica is promoted. Ten seconds later the old primary comes back and still accepts writes. What went wrong and how should failover be designed?
Asked at
GoogleMicrosoftZerodha
Think first
Answer out loud as you would in the room — clarify, give numbers, name the trade-off — then compare with the model answer.
Saved on this device. Create a free account to keep it on every device.
Practise this with Sam
A real mock interview, out loud, with an honest scorecard. Free to start.