SynfraCore
Synfracore
Start Learning
Navigation

Academies

Platform

RoadmapsLabsCertificationsInterviewPYQsAI AssistantCareer
Start Learning Free Learning Roadmaps

Docker DCA Practice Questions

Original practice questions written by SynfraCore, not real exam questions. 20 questions, free, no login required — your score is kept in this browser tab only and resets if you reload.

Target: Docker Certified Associate (DCA)
Sources: Mirantis — Docker Certified Associate (DCA) exam page · Last verified 2026-12-03
Score: 0 / 0 checked so far20 questions total
Image Management
1. In a multi-stage Dockerfile, what is the main benefit of copying only the build output from an earlier stage into the final stage?
Image Management
2. Why is pinning a base image to a specific version tag (e.g. `node:20.11-alpine`) preferred over using `:latest` in production?
Networking
3. What is Docker's default bridge network used for?
Networking
4. What's the practical advantage of a user-defined bridge network over the default bridge network?
Orchestration
5. In Docker Swarm, what does setting a service's `replicas` count to 3 actually do?
Orchestration
6. What does a Docker Swarm 'overlay network' enable that a single-host bridge network can't?
Security
7. Why does running a container's process as a non-root `USER` in the Dockerfile matter for security?
Security
8. What risk does running a container with `--privileged` introduce?
Image Management
9. What does `docker image prune -a` do?
Image Management
10. Why does Docker layer caching make `COPY package*.json ./` followed by `RUN npm install` appear BEFORE `COPY . .` in a typical Node.js Dockerfile?
Storage
11. What's the difference between a named volume and a bind mount in Docker?
Storage
12. Why might a developer use a bind mount instead of a named volume during local development?
Orchestration
13. In Docker Swarm, what is the role of a 'manager' node versus a 'worker' node?
Installation & Configuration
14. What does the Docker daemon's `daemon.json` configuration file typically control?
Installation & Configuration
15. Why does Docker recommend NOT running the Docker daemon with its default configuration exposed on a plain, unauthenticated TCP socket?
Networking
16. What does publishing a port with `-p 8080:3000` actually do?
Security
17. What is the purpose of Docker Content Trust (`DOCKER_CONTENT_TRUST=1`)?
Orchestration
18. What does Swarm's rolling update feature help avoid during a service update?
Image Management
19. What's the difference between `docker build --no-cache` and a normal `docker build`?
Storage
20. What happens to data written to a container's writable layer (not a volume or bind mount) when that container is removed?