Lesson 14 of 17
14. Replication

Interview questions

6 min read+10 XP

Interview questions (with the counter-questions you'll get)

Q1. Why replicate a database?

They're testing: knowing the goals and the limits.

Think about your answer first, then open it.

reveal

Q2. Synchronous vs asynchronous replication?

They're testing: the core trade-off.

Think about your answer first, then open it.

reveal

Q3. What is replication lag, and what problems does it cause?

They're testing: real-world experience.

Think about your answer first, then open it.

reveal

Q4. How does failover work, and what can go wrong?

They're testing: depth on a hard operational problem.

Think about your answer first, then open it.

reveal

Q5. What is split brain, and how do you prevent it?

They're testing: distributed-systems fundamentals.

Think about your answer first, then open it.

reveal

Q6. When would you use multi-leader replication?

They're testing: knowing it's powerful but dangerous.

Think about your answer first, then open it.

reveal

Q7. Explain quorums: N, W and R.

They're testing: leaderless replication.

Think about your answer first, then open it.

reveal

Q8. How do you route reads between the primary and replicas?

They're testing: practical design.

Think about your answer first, then open it.

reveal

Q9. Replication isn't a backup. Why not?

They're testing: operational wisdom.

Think about your answer first, then open it.

reveal

Q10. A replica keeps falling further behind. What do you check?

They're testing: debugging.

Think about your answer first, then open it.

reveal