Is this statement correct about this health check definition?
Solution: Health checks test for app health ten seconds apart. Three failed health checks transition
the container into “unhealthy” status.Free DCA Practice Test Questions and Answers (2026)
Last Update Check
Q: 1
The following Docker Compose file is deployed as a stack:
Is this statement correct about this health check definition?
Solution: Health checks test for app health ten seconds apart. Three failed health checks transition
the container into “unhealthy” status.
Is this statement correct about this health check definition?
Solution: Health checks test for app health ten seconds apart. Three failed health checks transition
the container into “unhealthy” status.Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 2
Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or
memory?
Solution: seccomp
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 3
Is this a supported user authentication method for Universal Control Plane?
Solution: PAM
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 4
You add a new user to the engineering organization in DTR.
Will this action grant them read/write access to the engineering/api repository?
Solution. Mirror the engineering/api repository to one of the user's own private repositories.
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 5
Will this configuration achieve fault tolerance for managers in a swarm?
Solution: an odd number of manager nodes, totaling more than two
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 6
Can this set of commands identify the published port(s) for a container?
Solution. ‘docker port inspect", docker container inspect"
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 7
Will this command mount the host's '/data' directory to the ubuntu container in read-only mode?
Solution: 'docker run --volume /data:/mydata:ro ubuntu'
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 8
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.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 9
A company's security policy specifies that development and production containers must run on
separate nodes in a given Swarm cluster. Can this be used to schedule containers to meet the
security policy requirements?
Solution.environment variables
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 10
Will this configuration achieve fault tolerance for managers in a swarm?
Solution: at least seven nodes in total
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 11
You want to create a container that is reachable from its host's network.
Does this action accomplish this?
Solution.Use either EXPOSE or -publish to access the container on the bridge network.
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 12
You are troubleshooting a Kubernetes deployment called api, and want to see the events table for
this object. Does this command display it?
Solution: kubectl logs deployment api
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 13
Is this a way to configure the Docker engine to use a registry without a trusted TLS certificate?
Solution: Set IGNORE_TLS in the 'daemon.json' configuration file.
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 14
You created a new service named 'http' and discover it is not registering as healthy. Will this
command enable you to view the list of historical tasks for this service?
Solution:'docker inspect http'
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 15
Is this an advantage of multi-stage builds?
Solution: optimizes Images by copying artifacts selectively from previous stages
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 16
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'
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 17
Does this describe the role of Control Groups (cgroups) when used with a Docker container?
Solution: role-based access control to clustered resources
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 18
During development of an application meant to be orchestrated by Kubemetes, you want to mount
the /data directory on your laptop into a container.
Will this strategy successfully accomplish this?
Solution. Create a Persistent VolumeClaim requesting storageClass:”” (which defaults to local
storage) and hostPath: /data, and use this to populate a volume in a pod.
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 19
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 any pod with the label app: nginx on port 8080 will be forwarded to
port 80 in that pod.
Is this a correct statement about how this service routes requests?
Solution: Traffic sent to the IP of any pod with the label app: nginx on port 8080 will be forwarded to
port 80 in that pod.Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 20
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"
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Question 1 of 20