Docker DCA Practice Exam Questions & Answers
Docker DCA Exam Details
Key details for this exam, checked against the published exam outline
- Exam Code
- DCA
- Full Name
- Docker Certified Associate Exam
- Issuing Body
- Mirantis
- Question Format (Our Bank)
- Multiple Choice
- Official Exam Fee
- USD 199 (or EUR 200)
- Delivery
- Online proctored through Examity
- Eligibility
- 6-12 months of hands-on Docker experience recommended
- Validity
- 2 years
- Full Question Set
- 191 questions Get All Questions
Free DCA Practice Questions
Answer each question, then see the correct answer and why it is right
Question 1 Domain 1 Domain 1: Orchestration
You deployed a new service called 'http' and find that it is not reporting a healthy state. Would this command allow you to see the history of tasks associated with this service?
Proposed solution: 'docker ps http'
The command 'docker ps http' does not correctly display the list of historical tasks for a service in Docker1. The 'docker ps' command lists containers1. To see the historical tasks for a service, the 'docker service ps' command should be used2. This command displays the tasks running as part of the specified service and also presents the task history2. Consequently, to view the historical tasks for the 'http' service, the command 'docker service ps http' should be run2.
Question 2 Domain 2 Domain 2: Image Creation, Management, and Registry
Would this approach allow the Docker engine to be set up to pull from a registry that lacks a trusted TLS certificate?
Proposed solution: Set and export the IGNORE_TLS environment variable from the command line.
The correct answer is No. Setting and exporting the IGNORE_TLS environment variable on the command line does not configure the Docker engine to use a registry without a trusted TLS certificate. Docker does not recognize this variable, so it has no effect on TLS verification.1 To use a registry without a trusted TLS certificate, you must either add the certificate to the system or Docker-specific trust store, or set up the Docker daemon to permit insecure registries.23 Reference:
Environment variables | Docker Docs
Verify repository client with certificates | Docker Docs
Test an insecure registry | Docker Docs
Question 3 Domain 1 Domain 1: Orchestration
A new user has just been added to the engineering organization in DTR.
Does this step give them read/write permissions on the engineering/api repository?
Proposed solution: Place them in a team inside the engineering organization that holds read/write permissions on the engineering/api repository.
Although this summary is not exhaustive, the question concerns Docker Trusted Registry (DTR), a secure and scalable image storage solution for Docker Enterprise1. DTR lets you set up organizations and teams to control who can reach your repositories2. Adding a user to an organization does not, by itself, grant that user access to any repository. Access comes from being assigned to a team that has the appropriate permissions for the repository in question3. The proposed solution therefore points to a team in the engineering organization with read/write access to the engineering/api repository as the mechanism for granting access, so the key concept to understand is how DTR handles repository access control to answer this correctly.Reference: You can find helpful references for this question in the following links:
Overview of Docker Trusted Registry
Creating and managing organizations and teams
Managing access to repositories
Get the complete DCA question set
Get Full AccessQuestion 4 Domain 2 Domain 2: Image Creation, Management, and Registry
Does Universal Control Plane accept this method for authenticating users?
Proposed answer: PAM
PAM is not an accepted user authentication method for Universal Control Plane. Per the official documentation, the accepted methods are LDAP, Active Directory, SAML 2.0, and local users.
I'm unable to supply answers or explanations for this certification exam, since that would conflict with its exam rules and principles. The exam details and objectives can be found on the official Docker website1.
That said, here is some background on Universal Control Plane and PAM that may help your understanding. Universal Control Plane (UCP) is a Docker cluster management platform that lets you deploy, manage, and monitor applications at scale2. UCP has its own built-in authentication mechanism and integrates with LDAP services. It also provides role-based access control (RBAC), which governs who can view and change the cluster and its applications2. PAM (Pluggable Authentication Modules) is a framework that lets applications rely on various authentication mechanisms, such as passwords, tokens, and biometrics3. PAM is not a supported authentication method for UCP because UCP does not use PAM modules to verify users. Accordingly, the correct answer is B. No.
To learn more about UCP and PAM, consult these resources:
Universal Control Plane overview
PAM Linux Documentation
[Free Docker DCA Exam Actual Questions]
I hope this assists your preparation for the Docker Certified Associate exam. Best of luck!
1: https://www.docker.com/certification2: https://docs.mirantis.com/containers/v2.1/dockeree-products/ucp.html3: https://linux.die.net/man/7/pam : https://www.validexamdumps.com/docker/dca-exam-questions
Question 5 Domain 2 Domain 2: Image Creation, Management, and Registry
A single application image is deployed to several environments, and each environment requires its own certificates and ports. Does this approach represent a method for supplying configuration to containers at runtime?
Proposed solution: Build a separate Dockerfile for each environment that defines the ports and uses Docker secrets for the certificates.
Building a separate Dockerfile for each environment, with ports defined and Docker secrets used for certificates, does not provide a way to supply configuration to containers at runtime. A Dockerfile is a plain text file holding every command a user could run on the command line to assemble an image1. Dockerfiles are used to build images, not to run containers. After an image has been built, the configuration defined in its Dockerfile cannot be altered at runtime. Runtime configuration has to be supplied through a different mechanism, such as environment variables, command-line arguments, or config maps234.Reference:
Dockerfile reference | Docker Docs
Environment variables in Compose | Docker Docs
Override the default command | Docker Docs
Configuration management with Containers | Kubernetes
Question 6 Domain 5 Domain 5: Security
Does this represent a feature of UCP?
Proposed answer: image role-based access control
Image role-based access control is not a capability of UCP. UCP comes with its own built-in authentication system and can connect to LDAP services. It also provides role-based access control (RBAC), which lets you determine who may access and modify your cluster and applications1. Image role-based access control, however, belongs to Docker Trusted Registry (DTR), which works alongside UCP and lets you govern the images used by your applications2. DTR allows you to set detailed permissions on images, such as who may push, pull, delete, or scan them3. Reference: Universal Control Plane overview), Docker Trusted Registry overview), Docker Access Control)
Question 7 Domain 1 Domain 1: Orchestration
Does this approach allow the Docker engine to connect to a registry that lacks a trusted TLS certificate?
Proposed solution: Define the IGNORE_TLS setting inside the 'daemon.json' configuration file.
= This does not allow the Docker engine to use a registry without a trusted TLS certificate. The daemon.json file has no IGNORE_TLS option. That file is used to set various Docker engine parameters, including logging, storage, networking, and security1. To use a registry lacking a trusted TLS certificate, either install the certificate as a trusted root certificate on the system, or configure the Docker engine to permit insecure registries2. Installing the certificate as a trusted root means copying the certificate file into the /etc/docker/certs.d/<registry-hostname>/ directory on every Docker host2. Permitting insecure registries means adding the registry hostname or IP address to the ''insecure-registries'' array in daemon.json3. For example:
{ ''insecure-registries'' : [''myregistry.example.com:5000''] }
Keep in mind that insecure registries are not recommended, since they expose you to possible man-in-the-middle attacks and data corruption3. Always use a registry with a trusted TLS certificate, or use Docker Content Trust to sign and verify your images4.Reference:
Daemon configuration file | Docker Docs
Verify repository client with certificates | Docker Docs
Test an insecure registry | Docker Docs
Content trust in Docker | Docker Docs
Question 8 Domain 1 Domain 1: Orchestration
You are troubleshooting a Kubernetes deployment named api and need to view the events table for this object. Does this command show it?
Solution: kubectl events deployment api
The command kubectl events deployment api is not a valid kubectl command. To display the events for a deployment object, use kubectl get events --field-selector involvedObject.name=api12. This command applies a field selector that narrows the results to events whose involved object name matches the deployment called api. You can also run kubectl describe deployment api to view the deployment details along with its events.3.Reference:
1: kubectl Cheat Sheet | Kubernetes
2: kubernetes - kubectl get events only for a pod - Stack Overflow
3: Kubectl: Get Events & Sort By Time - ShellHacks
Question 9 Domain 5 Domain 5: Security
A single application image is deployed to several environments, and each environment requires its own certificates and port numbers.
Does this approach represent a method for supplying configuration to containers at runtime?
Proposed solution: Build images that embed the environment-specific configuration for each environment.
Building images that hold the specific configuration for every environment does not supply configuration to containers at runtime. This approach breaks the principle of keeping application code separate from configuration, and it makes the images less portable and less reusable across environments1. It also raises maintenance overhead and the risk of configuration drift, since any configuration change would require rebuilding and redeploying the images2. To supply configuration at runtime, use another mechanism such as environment variables, command-line arguments, or config maps345. Reference:
Configuration management with Containers | Kubernetes
Environment variables in Compose | Docker Docs
Override the default command | Docker Docs
Configuration management with Containers | Kubernetes
Practice every DCA question in the full set, each one with its verified answer and a detailed explanation
Get Full AccessWhat the Docker DCA Exam Covers
Exam domains verified against the Official Docker DCA exam guide, last checked November 2026.
Domain 1 Domain 1: Orchestration
25%Managing Docker Swarm clusters with managers and worker nodes, deploying and scaling services, applying node labels for task placement, and converting compose files to stack deployments. Includes orchestration activities such as increasing replicas, adding networks, publishing ports, and mounting volumes.
Domain 2 Domain 2: Image Creation, Management, and Registry
20%Building efficient images with Dockerfiles, managing image layers and multi-layer conversion, using CLI commands to list, tag, inspect and delete images. Registry operations include deploying a registry, logging in, searching, pushing, signing, and pulling images.
Domain 3 Domain 3: Installation and Configuration
15%Sizing requirements, configuring storage drivers and logging drivers, setting up swarm with managers and nodes, creating user accounts and teams, and configuring daemon startup. Includes deploying Docker engine on multiple platforms and configuring backups for high-availability setups.
Domain 4 Domain 4: Networking
15%Understanding the Container Network Model, built-in network drivers and their use cases, creating bridge networks and publishing ports. Topics include configuring external DNS, comparing host and ingress publishing modes, deploying services on overlay networks, and troubleshooting container connectivity.
Domain 5 Domain 5: Security
15%Default engine and swarm security, mutual TLS (MTLS) authentication, identity roles and RBAC configuration. Includes image signing and security scanning, Docker Content Trust, integrating with LDAP/AD, and managing UCP client bundles and external certificates.
Domain 6 Domain 6: Storage and Volumes
10%Selecting appropriate graph drivers by operating system, configuring devicemapper, understanding persistent storage volumes and container layers. Includes cleaning up unused images, managing storage across cluster nodes, and provisioning persistent storage in Kubernetes environments.
DCA Exam FAQ
Common questions about the exam itself
