🔥 0
0
Lesson 5 of 5 15 min +200 XP

🧠 Consensus Assessment

Answer all questions to complete the quiz and earn 200 XP.

1

Your 5-node etcd cluster loses network connectivity between nodes [1,2] and nodes [3,4,5]. Which partition can continue accepting writes?

2

A Raft leader receives a client write request. When can it respond 'success' to the client?

3

You're designing a payment system that must never process a transaction twice. Which property of consensus is most critical?

4

Why does Raft use randomized election timeouts?

5

A ZooKeeper ephemeral node is created by a service. What happens to this node if the service crashes?

6

Your Consul cluster has 3 servers. One server's disk fails and loses all data. What's the safest recovery procedure?

7

In Paxos, what is the purpose of the 'Prepare' phase?

8

Your application needs to read configuration that changes rarely. Which consistency level is most appropriate for reads?

9

A Raft follower's log diverges from the leader's due to a previous leader failure. How does Raft resolve this?

10

You're running a 5-node etcd cluster. How many nodes can fail simultaneously while the cluster remains operational?

11

Final question: You need distributed coordination for a new service. Your stack is Kubernetes-based. Which option makes the most sense?