Advanced
System Design
Q84 / 100
In a distributed system using the Raft consensus algorithm, what happens if the current leader becomes unreachable?
Correct! Well done.
Incorrect.
The correct answer is A) Followers that stop receiving heartbeats from the leader will time out and initiate a new leader election, with a candidate becoming the new leader if it receives votes from a majority
A
Correct Answer
Followers that stop receiving heartbeats from the leader will time out and initiate a new leader election, with a candidate becoming the new leader if it receives votes from a majority
Explanation
Raft uses randomized election timeouts; when followers stop hearing from the leader, one becomes a candidate, requests votes, and becomes leader if it secures a majority, ensuring the cluster can continue operating.
Progress
84/100