ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 27 - DCA discussion

Report
Export

Will this configuration achieve fault tolerance for managers in a swarm?

Solution: only two managers, one active and one passive.

A.

Yes

Answers
A.

Yes

B.

No

Answers
B.

No

Suggested answer: B

Explanation:

= The configuration willnotachieve fault tolerance for managers in a swarm, because it does not have enough managers to form a quorum. A quorum is the minimum number of managers that must be available to agree on values and maintain the consistent state of the swarm. The quorum is calculated as (N/2)+1, where N is the number of managers in the swarm. For example, a swarm with 3 managers has a quorum of 2, and a swarm with 5 managers has a quorum of 3. Having only two managers, one active and one passive, means that the quorum is also 2. Therefore, if one manager fails or becomes unavailable, the swarm will lose the quorum and will not be able to process any requests or schedule any tasks. To achieve fault tolerance, a swarm should have an odd number of managers, at least 3, and no more than 7. This way, the swarm can tolerate the loss of up to (N-1)/2 managers and still maintain the quorum and the cluster state.Reference:

Administer and maintain a swarm of Docker Engines

Raft consensus in swarm mode

How nodes work

asked 08/11/2024
Praneel Maharaj
21 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first