Published:
Last updated:

Distributed Systems Fundamentals

Authors
Time yourself:
Your progress:

00:30:00

0%

Filter by difficulty

33 of 33 questions shown

Failure, Latency, and Overload

1. What makes a distributed system fundamentally harder than a single process?

Junior
Flag important question
Mark as complete

2. How should you choose timeouts and propagate deadlines?

Mid-level
Flag important question
Mark as complete

3. When should a request be retried, and how do you prevent a retry storm?

Senior
Flag important question
Mark as complete

4. How do backpressure, load shedding, circuit breakers, and bulkheads differ?

Senior
Flag important question
Mark as complete

5. How do failure detectors and heartbeats work, and why can they be wrong?

Senior
Flag important question
Mark as complete

Consistency and Availability

Free preview complete

You’ve reached the end of the free preview

Get every remaining question and complete answer, plus progress tracking across the full Interview Question Library.

  • 28 more questions and complete answers in this topic
  • Full access to every interview topic
  • Progress tracking and question flags
  • New questions and improvements during your subscription

Full access from

$12/month

No long-term commitment. Cancel whenever you want.

6. How do linearizable, sequential, causal, and eventual consistency differ?

Mid-levelPaid Question

7. What does the CAP theorem actually say?

Mid-levelPaid Question

8. What does PACELC add to the CAP discussion?

Mid-levelPaid Question

9. What session guarantees make an eventually consistent system easier to use?

Mid-levelPaid Question

Replication, Quorums, and Consensus

10. How do leader-based, multi-leader, and leaderless replication compare?

Mid-levelPaid Question

11. How do read and write quorums work, and what can still go wrong?

Mid-levelPaid Question

12. What problem does consensus solve, and what does Raft provide?

Mid-levelPaid Question

13. How do leader election, split brain, leases, and fencing tokens relate?

SeniorPaid Question

Clocks, Ordering, and Delivery Semantics

14. Why are physical clocks dangerous in distributed systems?

Mid-levelPaid Question

15. How do Lamport clocks, vector clocks, and sequence numbers help order events?

Mid-levelPaid Question

16. Can a distributed system provide exactly-once processing?

Mid-levelPaid Question

Coordination and Cross-Service State

17. When is a distributed lock appropriate, and why are fencing tokens important?

SeniorPaid Question

18. How do two-phase commit, sagas, and the transactional outbox differ?

SeniorPaid Question

Core Distributed-System Vocabulary

19. What is a network partition?

JuniorPaid Question

20. What is a partial failure?

JuniorPaid Question

21. Why does network latency change system design?

JuniorPaid Question

22. What does idempotent mean in a distributed API?

JuniorPaid Question

23. Why are stateless services easier to scale?

JuniorPaid Question

24. How do availability and reliability differ in a distributed system?

JuniorPaid Question

25. When should distributed work be synchronous versus asynchronous?

JuniorPaid Question

Repair, Placement, and Verification

26. What are anti-entropy and read repair?

Mid-levelPaid Question

27. How does consistent hashing help place data across nodes?

Mid-levelPaid Question

28. How do you version and roll out a distributed protocol?

Mid-levelPaid Question

29. What is a gossip protocol, and when is it useful?

Mid-levelPaid Question

Advanced Failure and Convergence

30. How would you design regional failover for a stateful service?

SeniorPaid Question

31. How does state-machine replication provide consistent results?

SeniorPaid Question

32. What are CRDTs, and when are they appropriate?

SeniorPaid Question

33. How should chaos testing be used safely in distributed systems?

SeniorPaid Question