Storage and Volumes Questions
Practice questions for Storage and Volumes topic in Docker Certified Associate. 20 questions covering this domain.
A container writes uploaded files into its writable layer and is then removed. What happens to that data if no volume or bind mount was used?
A replicated service uses the local volume driver for application state on three different swarm nodes. Which statement is accurate?
Why does Docker recommend volumes over writing heavily into a container's writable layer for persistent application data?
Which mount type stores data in host memory and does not persist across container stop, restart, or host reboot?
A developer uses a bind mount so the host and container can edit the same source files during local development. Which tradeoff is important to rememb...
An operator mounts an empty named volume over a non-empty container path but wants to prevent Docker from copying the existing container files into th...
Why does Docker warn against manipulating volume contents directly from the host filesystem behind Docker's back?
Which mount option makes a bind mount read-only inside the container?
A service mount uses `volume-subpath=/reports/2026`, but that directory does not yet exist inside the named volume. What should the operator expect?
When a bind mount is created without `readonly` or `ro`, what is the default access mode to the host path?
Which statement correctly describes container writable layers and image layers?
Which command removes unused volumes from a Docker host?
A non-empty named volume is mounted over a non-empty directory already present in the container image. What is the visible effect inside the running c...
A swarm service needs a volume mount that includes driver options. Which mount syntax should be used?
What happens to an anonymous volume when the container that uses it is removed normally without `--rm`?
Which statement about bind propagation and volumes is accurate?
Which statement best describes named volumes compared with bind mounts?
What is the default bind propagation mode for bind mounts in Docker?
A replicated service needs the same persistent dataset to be available from tasks running on different nodes. Which approach is required?
Why are volumes often easier to back up or migrate than bind mounts?
Sign in to see all 20 questions
Create a free account to browse all questions — completely free during our launch phase.