Exam style questions across every DCA domain
Last Update 3 days ago
Total Questions : 191
Start with our free DCA practice questions, carefully crafted to mirror the domains, phrasing, and difficulty of the real Docker Certified Associate exam. Each DCA exam question comes with a detailed rationale that explains not just which answer is correct but why the others fall short. That's how concepts stick. Use the free set to benchmark yourself: identify your Docker weak domains, see where you're losing marks, and build a focused study plan in minutes.
Will a DTR security scan detect this?
Solution.image configuration poor practices, such as exposed ports or inclusion of compilers in production images
Does this describe the role of Control Groups (cgroups) when used with a Docker container?
Solution: accounting and limiting of resources
Will this command mount the host's '/data1directory to the ubuntu container in read-only mode?
Solution. ‘docker run -v /data:/mydata -mode readonly ubuntu'
Does this command create a swarm service that only listens on port 53 using the UDP protocol?
Solution: 'docker service create --name dns-cache -p 53:53/udp dns-cache'
You are pulling images from a Docker Trusted Registry installation
configured to use self-signed certificates, and this error appears:
`x509: certificate signed by unknown authority.
You already downloaded the Docker Trusted Registry certificate authority
certificate from https://dtr.example.com/ca.
How do you trust it? (Select two.)
Two pods bear the same label, app: dev.
Will a label selector matching app: dev match both of these pods?
In Docker Trusted Registry, is this how a user can prevent an image, such as 'nginx:latest’, from being overwritten by another user with push access to the repository?
Solution: Remove push access from all other users.
You want to mount external storage to a particular filesystem path in a
container in a Kubernetes pod.
What is the correct set of objects to use for this?
The Kubernetes yaml shown below describes a clusterIP service.
Is this a correct statement about how this service routes requests?
Solution: Traffic sent to the IP of this service on port 80 will be routed to port 8080 in a random pod with the label app:
nginx.
