InterviewStack.io LogoInterviewStack.io

Distributed Systems Fundamentals Questions

Core theory that underpins any multi-node system: the CAP and PACELC theorems, consistency models (strong, causal, eventual), partitioning, replication, and the fundamental tradeoffs between latency, availability, and consistency. Covers how network partitions, clock skew, and partial failure change the reasoning compared to single-node systems. This is the vocabulary layer every distributed design question builds on.

HardSystem Design
64 practiced

Design a CRDT suitable for a real-time collaborative text editor where multiple users can type and delete concurrently without a central lock. Describe the data structure, how concurrent operations from different users merge deterministically, and the practical cost (metadata growth, garbage collection of tombstones) of the approach.

HardSystem Design
65 practiced

Design an anti-entropy mechanism to reconcile replicas of a large key-value store that have drifted apart. Compare comparing full Merkle trees, range-based comparison, and delta-based synchronization, and discuss the bandwidth and computation cost of each as the dataset grows into the terabytes.

EasyTechnical
77 practiced

Describe the two-phase commit protocol: the coordinator and participant roles, and the prepare and commit phases. Explain the classic failure case where 2PC blocks indefinitely (a coordinator crash after participants have voted to commit) and why that blocking is a real operational problem. Give one mitigation, and explain when you'd reach for a saga instead of a distributed transaction.

MediumTechnical
81 practiced

What is PACELC, and how does it extend the CAP theorem? Walk through an example decision where PACELC's latency-versus-consistency trade-off matters even when there is no active network partition.

HardTechnical
79 practiced

Explain the transactional outbox pattern: how it lets a service atomically update its own database and reliably publish a corresponding event, without a distributed transaction. Describe the outbox table schema, the background publisher, how it avoids publishing duplicates or losing events on a crash, and how this compares to coordinating the update and the publish with a distributed transaction directly.

Unlock Full Question Bank

Get access to all 34 Distributed Systems Fundamentals interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.