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

You're operating a service on DynamoDB. A downstream job writes an item, then immediately reads it back with a default GetItem call and sometimes gets a stale or missing result. Walk me through why, and what you'd change.

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.

HardSystem Design
82 practiced

Say you're placing a 5-node quorum-based cluster. Compare spreading those 5 nodes across 3 Availability Zones in one AWS region versus splitting them across two separate regions. How does quorum placement change, and how do you avoid split-brain in each topology?

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.

EasyTechnical
58 practiced

Walk me through the CAP theorem: what do consistency, availability, and partition tolerance each guarantee, and why can a distributed system only provide two of the three once a network partition actually occurs? Give one example of a system design that would lean toward consistency (CP) and one that would lean toward availability (AP), and state precisely what each choice gives up. Also clarify how this notion of 'consistency' differs from the one used in ACID transactions.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.