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.

MediumTechnical
85 practiced

Compare NTP-synchronized wall clocks, pure Lamport clocks, and Hybrid Logical Clocks (HLC) as ways to order events across a distributed system. Why do production distributed databases favor HLC over relying on strict NTP synchronization alone or a pure logical clock, and what does HLC give you that neither of the other two does by itself?

EasyTechnical
74 practiced

What problems does clock skew between machines create in a distributed system? Give at least three concrete examples (event ordering across services, a lease that expires early or late, a TLS certificate that appears valid or invalid depending on which node's clock you ask) and describe, at a high level, why this makes naive wall-clock-based ordering unsafe.

EasyTechnical
78 practiced

Explain the client-centric session guarantees: read-your-writes, monotonic reads, and monotonic writes. For each, describe a concrete client-visible symptom when the guarantee is missing, and one lightweight server-side or client-side mechanism that provides it.

HardSystem Design
65 practiced

Design a membership and failure-detection scheme for a cluster of several thousand nodes, where a fixed health-check threshold is too crude. Walk through how a Phi Accrual-style failure detector produces a continuous suspicion level instead of a binary up/down verdict, and why that matters at this scale.

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.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.