Skip to content

Orchestration Questions

Practice questions for Orchestration topic in Docker Certified Associate. 50 questions covering this domain.

50 questions13 easy22 medium15 hard
Q1
medium

A new Linux host must join an existing swarm only as a worker. Which token should the administrator use with `docker swarm join`?

Q2
easy

In swarm mode, what is a task?

Q3
easy

Which service mode should an operator choose when every eligible swarm node must run exactly one copy of the same monitoring agent?

Q4
hard

An administrator loses network connectivity to three of five swarm managers, but worker nodes keep running existing tasks. Which outcome should they e...

Q5
hard

A service is created with a placement constraint requiring the label `region=west`, but no node currently has that label. What is the most likely reas...

Q6
hard

A manager node needs maintenance, but the operator wants existing tasks on that node to move elsewhere while preventing any new tasks from landing on ...

Q7
medium

A platform engineer wants each task to know the node hostname it landed on by passing a templated value into an environment variable during service cr...

Q8
easy

Which swarm feature protects manager state on disk so that a restart requires an unlock key before the manager can access the raft data again?

Q9
hard

An operator has restored `/var/lib/docker/swarm` from backup onto a replacement manager after a failure. Which documented command is used to recover t...

Q10
easy

A team is moving from standalone containers to swarm mode and wants Docker to keep a web tier at a declared scale automatically. Which swarm object sh...

Q11
hard

A company needs a log collector that must run on every current and future worker node without manually adjusting replica counts as the cluster grows. ...

Q12
medium

A developer runs `docker stack deploy -c compose.yaml app` and expects swarm to build an image from a `build:` section in the file. What actually happ...

Q13
medium

A swarm has five manager nodes. How many managers must be available to maintain quorum for management operations?

Q14
hard

A team currently launches web containers with `docker run`, but they now need rolling updates, desired replica counts, and automatic replacement of fa...

Q15
hard

A platform team needs its control-plane helper service to run only on manager nodes because it depends on manager-only capabilities. Which swarm place...

Q16
easy

Which command turns the current Docker host into the first manager of a new swarm?

Q17
medium

A team plans to deploy a swarm application from a compose file. Which compose format family does `docker stack deploy` use?

Q18
easy

Which swarm service mode is used when an operator wants exactly six task replicas distributed by the scheduler?

Q19
medium

Which command changes the certificate expiry interval for swarm node certificates?

Q20
hard

A node should keep running its current service tasks, but the scheduler must stop assigning any new tasks to it until an investigation is complete. Wh...

Sign in to see all 50 questions

Create a free account to browse all questions — completely free during our launch phase.