DockerDocker
DCA · Question #42
DCA Question #42: Real Exam Question with Answer & Explanation
Sign in or unlock DCA to reveal the answer and full explanation for question #42. The question stem and answer options stay visible for context.
Submitted by satoshi_tk· Apr 18, 2026Container Orchestration
Question
A docker service 'web' is running with a scale factor of 1 (replicas = 1). Bob intends to use the command 'docker service update --replicas=3 web'. Alice intends to use the command 'docker service scale web=3'. How do the outcomes oft these two commands differ?
Options
- ABob's command results in an error. Alice's command updates the number of replicas of the 'web'
- BBob's command only updates the service definition, but no new replicas are started. Alice's
- CBob's command updates the number of replicas of the 'web' service to 3. Alice's command results
- DBoth Bob's and Alice's commands result in exactly the same outcome, which is 3 instances of the
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#Service Management#CLI