DockerDocker
DCA · Question #18
DCA Question #18: Real Exam Question with Answer & Explanation
Sign in or unlock DCA to reveal the answer and full explanation for question #18. The question stem and answer options stay visible for context.
Submitted by chiamaka_o· Apr 18, 2026Networking
Question
Which of the following is true about using the '-P' option when creating a new container?
Options
- ADocker binds each exposed container port to a random port on all the host's interface
- BDocker gives extended privileges to the container.
- CDocker binds each exposed container port to a random port on a specified host interface
- DDocker binds each exposed container port with the same port on the host
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 run#Port mapping#Exposed ports#Network binding