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.

HardTechnical
60 practiced

A large product has several distinct pieces of state (for example: a timeline feed, a per-post like counter, and a user's own settings). Walk through how you'd decide, feature by feature, which ones need strong consistency and which can tolerate eventual consistency, and what it would cost in infrastructure and user-perceived correctness to get each one wrong in either direction.

HardSystem Design
57 practiced

A business-critical workflow touches around 30 services (payment, inventory, shipping, billing). Compare an orchestration (central coordinator) approach against a choreography (event-driven) approach for keeping this workflow consistent, covering compensating actions, idempotency of each step, and how you'd detect and recover when the coordinator (or one participant) crashes partway through.

HardTechnical
67 practiced

For a globally distributed counter or accumulator (for example, a monitoring signal or a feature aggregate), compare a CRDT-based, coordination-free approach against a consensus-backed approach. What does each cost you, and what real correctness or freshness guarantee does the CRDT approach give up that consensus would preserve?

MediumTechnical
64 practiced

Explain the saga pattern for coordinating a transaction across multiple services without a distributed commit protocol: choreography versus orchestration, and how compensating actions undo partial work. Walk through a concrete order-fulfillment sequence (reserve inventory, charge payment, schedule shipment) and what happens when the shipment step fails.

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.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.