Confluent
CCDAK · Question #134
You have a Zookeeper cluster that needs to be able to withstand the loss of 2 servers and still be able to function. What size should your Zookeeper cluster have?
The correct answer is B. 5. Your Zookeeper cluster needs to have an odd number of servers, and must maintain a majority of servers up to be able to vote. Therefore, a 2N+1 zookeeper cluster can survive to N zookeeper being down, so here the right answer is N=2, 2*N+1=5
Deployment and Troubleshooting
Question
You have a Zookeeper cluster that needs to be able to withstand the loss of 2 servers and still be able to function. What size should your Zookeeper cluster have?
Options
- A4
- B5
- C2
- D3
- E6
How the community answered
(25 responses)- A8% (2)
- B76% (19)
- D4% (1)
- E12% (3)
Explanation
Your Zookeeper cluster needs to have an odd number of servers, and must maintain a majority of servers up to be able to vote. Therefore, a 2N+1 zookeeper cluster can survive to N zookeeper being down, so here the right answer is N=2, 2*N+1=5
Topics
#Zookeeper quorum#fault tolerance#cluster sizing#high availability
Community Discussion
No community discussion yet for this question.