DockerDocker
DCA · Question #41
DCA Question #41: Real Exam Question with Answer & Explanation
The correct answer is E: global. The global service mode in Docker Swarm ensures that exactly one task of a service runs on every available node in the swarm.
Submitted by minji_kr· Apr 18, 2026Container Orchestration
Question
What service mode is used to deploy a single task of a service to each node?
Options
- Areplicated
- Bspread
- Cuniversal
- Ddistributed
- Eglobal
Explanation
The global service mode in Docker Swarm ensures that exactly one task of a service runs on every available node in the swarm.
Common mistakes.
- A. Replicated services run a specified number of identical tasks across the swarm, not necessarily one per node.
- B. Spread is a deployment strategy, not a service mode; it aims to evenly distribute tasks across nodes but doesn't guarantee one per node.
- C. "Universal" is not a standard Docker Swarm service mode.
- D. "Distributed" is a general term and not a specific Docker Swarm service mode for deploying one task per node.
Concept tested. Docker Swarm global service mode
Topics
#Docker Swarm#Service Modes#Global Service#Deployment Strategy
Community Discussion
No community discussion yet for this question.