nerdexam
DockerDocker

DCA · Question #1

DCA Question #1: Real Exam Question with Answer & Explanation

Sign in or unlock DCA to reveal the answer and full explanation for question #1. The question stem and answer options stay visible for context.

Submitted by brentm· Apr 18, 2026Storage and Volumes

Question

Which of the following commands wifi automatically create a volume when a container is started?

Options

  • A'docker container run --name nginxtest --volumes=/app nginx'
  • B'docker container run --name nginxtest -v /app:mount nginx'
  • C'docker container run --name nginxtest --volumes myvol:/app:new nginx'
  • D'docker container run --name nginxtest -v myvol:/app nginx'

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 Volumes#docker run command#Anonymous Volumes#Volume creation
Full DCA PracticeBrowse All DCA Questions