Question 1
A DevOps team is managing a Docker Swarm cluster with three manager nodes. During a network partition, one manager becomes isolated, while the other two remain connected and form a majority. What is the state of the isolated manager's Raft log and the overall cluster state?
Answer and explanation
Correct answer: B
In a Docker Swarm using a Raft consensus algorithm, a quorum (majority of managers) is required to make any changes to the cluster state. When a manager is isolated and cannot communicate with the majority, it can no longer participate in the consensus. Its log becomes effectively read-only, and it cannot commit new tasks or changes. The partition with the majority of managers (in this case, two out of three) maintains the quorum and continues to operate the cluster, electing a new leader if necessary.