
Distributed systems engineer
Free interview questions with answers and explanations
5 topics · 505 questions
Reason about replicated state, concurrency, failure boundaries, and recovering a coherent service.
Distributed systems engineer: Clocks Ordering and Causality
Original interview cases on event graphs, logical and vector clocks, physical uncertainty, session context, deadlines, lifecycle identity, causal snapshots, and ordering evidence.
101 questions · about 51 minutes
Distributed systems engineer: Consensus and Quorum Reasoning
Original interview cases on quorum sets, durable votes, chosen history, log application, authority, membership, snapshots, failure models, and progress evidence.
101 questions · about 51 minutes
Distributed systems engineer: Failure Testing and Recovery Evidence
Original interview cases on history oracles, delivered faults, crash and restore boundaries, simulation limits, recovery metrics, lifecycle identity, and evidence for recovered service behavior.
101 questions · about 51 minutes
Distributed systems engineer: Transactions and Isolation
Original interview cases on invariant boundaries, concurrent histories, commit decisions, cross-shard recovery, compensation, projections, constraints, and retry semantics.
101 questions · about 51 minutes
Mid level
Sample questions with answers
Try these original Distributed systems practice questions, then read the worked explanations. Open a topic for the full question bank.
A catalog promises linearizable reads of each item. A price update completes before another client starts reading that item. Which result is permitted, assuming no later write?
- The updated price
- A random price from the last hour
- The previous price from any replica
- Either price until a scheduled repair
Answer: The updated price
Explanation: Linearizability respects completed operations in real time. Without a later write, a subsequent read cannot return the older item value.
Process P sends m before its later local event p2. Process Q receives m before its local event q2. No other edges are known. Which relation is established by the message path?
- The send of m precedes q2 causally.
- The receive of m precedes its send.
- q2 necessarily precedes p2.
- p2 necessarily precedes q2.
Answer: The send of m precedes q2 causally.
Explanation: A send precedes its matching receive, and local order extends that relation to q2. The supplied graph does not order p2 against q2.
A consensus service for one slot promises that no two chosen values differ. Which history violates that safety requirement?
- One chosen value is learned by clients at different times.
- No value is chosen during a long partition.
- One group chooses X and another chooses Y for that same slot.
- The same chosen value is returned twice.
Answer: One group chooses X and another chooses Y for that same slot.
Explanation: Agreement concerns the value chosen for the same decision instance. Lack of progress is a separate issue, while duplicate knowledge of one value need not violate agreement.