nerdexam
Docker

DCA · Question #41

What service mode is used to deploy a single task of a service to each node?

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

How the community answered

(36 responses)
  • B
    3% (1)
  • C
    6% (2)
  • D
    3% (1)
  • E
    89% (32)

Why each option

The global service mode in Docker Swarm ensures that exactly one task of a service runs on every available node in the swarm.

Areplicated

Replicated services run a specified number of identical tasks across the swarm, not necessarily one per node.

Bspread

Spread is a deployment strategy, not a service mode; it aims to evenly distribute tasks across nodes but doesn't guarantee one per node.

Cuniversal

"Universal" is not a standard Docker Swarm service mode.

Ddistributed

"Distributed" is a general term and not a specific Docker Swarm service mode for deploying one task per node.

EglobalCorrect

In Docker Swarm, a global service deploys one task per node, ensuring that the service is running on all managers and workers that meet the service constraints. This mode is ideal for agents, monitoring tools, or daemon-like services that need to be present on every machine in the cluster.

Concept tested: Docker Swarm global service mode

Source: https://docs.docker.com/engine/swarm/services/

Topics

#Docker Swarm#Service Modes#Global Service#Deployment Strategy

Community Discussion

No community discussion yet for this question.

Full DCA Practice