Consensus and Coordination Algorithms Questions

How independent nodes agree on shared state: Paxos and Raft, leader election, quorum reads and writes, distributed locks, coordination services such as ZooKeeper or etcd, and Byzantine fault tolerance for replicas that cannot be trusted. Covers split-brain avoidance, fencing tokens, and the cost of coordination on throughput and latency. Frames when consensus is required versus when it can be designed away.

MediumSystem Design
49 practiced

Design a follower-reads optimization for a strongly-consistent key-value system that allows slightly stale reads from followers while guaranteeing clients can request fresher data when needed. Describe API semantics, staleness bounds, and how you would ensure monotonic reads and session guarantees.

HardTechnical
44 practiced

When would you recommend using strong-consensus protocols such as Raft or Paxos versus eventual-consistency approaches? As a Solutions Architect, compare latency, throughput, failure modes, operational overhead, and appropriate use cases like metadata management versus user-facing high-volume data.

MediumBehavioral
36 practiced

Tell me about a time you had to decide whether to adopt a consensus-backed component (e.g., etcd) or a simpler eventual-consistency store for a project. Describe the decision process, stakeholders involved, risks considered, and the outcome. Use the STAR structure (Situation, Task, Action, Result).

EasyTechnical
48 practiced

Why does a distributed database need leader election? Describe common algorithms and systems used for it (Raft, Paxos, ZooKeeper, etcd), how leader election affects availability, and what an architect must consider during network partitions and leader churn.

EasyTechnical
51 practiced

Given N replicas, explain how read quorum size R and write quorum size W interact to provide strong consistency. Provide the general condition and walk through a concrete example for N=5: list at least two (R, W) pairs that guarantee linearizability and show why the intersection property holds.

Unlock Full Question Bank

Get access to all 16 Consensus and Coordination Algorithms interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.