DockerDocker
DCA · Question #26
DCA Question #26: Real Exam Question with Answer & Explanation
Sign in or unlock DCA to reveal the answer and full explanation for question #26. The question stem and answer options stay visible for context.
Submitted by emma.c· Apr 18, 2026Installation and Configuration
Question
A host machine has four CPUs available and two running containers. The sysadmin would like to assign two CPUs to each container. Which of the following commands achieves this?
Options
- ASet the '--cpuset-cpu's flag to '1.3' on one container and '2.4' on the other container.
- BSet the '--cpuset-cpus' flag to '.5' on both containers
- CSet the '--cpuset-cpus' flag of the 'dockerd' process to the value 'even-spread'
- DSet the '--cpu-quota' flag to '1.3' on one container and '2,4' on the other container.
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 resource limits#CPU allocation#Container configuration#Control Groups (cgroups)