InterviewStack.io LogoInterviewStack.io

Consistency Models and Distributed Databases Questions

Data correctness across distributed systems: strong versus eventual consistency, the CAP and PACELC trade-offs, consensus and quorum reads/writes, and consistency-versus-availability decisions. Covers how distributed databases reconcile replicas and what guarantees applications can rely on. A staple of distributed-systems and architecture interviews.

EasyTechnical
88 practiced

Walk through the CAP theorem in your own words, then name a popular production distributed database that intentionally sacrifices one of the three guarantees for a specific workload. Explain which guarantee it sacrifices and why that trade-off makes sense for that workload.

EasyTechnical
105 practiced

Dynamo-style distributed databases typically expose more than one consistency level to the application rather than a single fixed guarantee. Name three common levels, explain what each one actually guarantees to the caller, and give one realistic use case where you would pick that level over the others.

MediumTechnical
72 practiced

Explain read-repair and anti-entropy (background) repair in replicated stores. Compare their roles, their performance impacts, and when you would tune one over the other. Cover the operational side too: how you would schedule and prioritize background repair at scale, how you would detect divergence cheaply across millions of keys, and what you would monitor to know it is working.

MediumTechnical
76 practiced

Discuss the trade-offs between leaderless (Dynamo-style) and leader-based replication designs for write availability, conflict detection, and operational complexity. Give examples of workloads where a leaderless design shines and where a leader-based design is preferable.

HardTechnical
78 practiced

A multi-master cluster experiences a network partition resulting in split-brain: both sides keep accepting local writes. Describe the operational steps you would take to contain the problem, determine which data is authoritative, reconcile the diverged writes, and restore normal operation while minimizing data loss and customer impact.

Unlock Full Question Bank

Get access to all 11 Consistency Models and Distributed Databases interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.