Automation, Orchestration, and Scripting
An administrator is planning the manager nodes for a new Docker Swarm cluster. Which four statements about Swarm nodes are correct? (Choose four.)
Choose 4 answers
Show the answer
Correct answersA. Manager nodes keep the swarm state consistent by using the Raft consensus algorithm.B. An odd number of manager nodes is recommended so that a quorum majority can always be reached.C. A worker node can be promoted to a manager node with the docker node promote command.E. A manager node can run service tasks unless its availability is set to drain.
Managers hold Raft state, can run tasks by default, can be promoted from workers, and are best deployed in odd numbers. Workers only run tasks; they do not take part in Raft or accept swarm management commands such as docker service create.