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
98 practiced

What is eventual consistency? Using a food-delivery-style app as your running example, describe one workflow where eventual consistency is acceptable (for example, order-history or delivery-analytics replication) and one where it is not (for example, capturing a payment). Explain what you would actually do to reduce the business risk created by the gap between when a write happens and when every reader sees it.

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.

HardTechnical
102 practiced

Two teams own services with conflicting requirements: Team A needs strong consistency on writes (which raises latency), Team B needs sub-50ms reads. Propose architecture and policy options (consistency models, API design, caching, eventual-consistency compromises) that reconcile both requirements while minimizing complexity and operational risk.

That is every published Consistency Models and Distributed Databases question for Engineering Manager so far. Browse the other topics in this category, or practice this one interactively.