DockerDocker
DCA · Question #39
DCA Question #39: Real Exam Question with Answer & Explanation
Sign in or unlock DCA to reveal the answer and full explanation for question #39. The question stem and answer options stay visible for context.
Submitted by lars.no· Apr 18, 2026Container Orchestration
Question
You have deployed a service to swarm. Which command uses the Docker CLI to set the number of tasks of the services to 5? (choose 2)
Options
- A'docker service update --replicas=5 <service-id>'
- B'docker replica update <service-id>=5'
- C'docker update service <service-id>=5'
- D'docker service replicas <service-id>=5'
- E'docker service scale <service-id> = 5''
Unlock DCA to see the answer
You've previewed enough free DCA questions. Unlock DCA for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Docker Swarm#Service Scaling#Docker CLI#Service Management