Docker Certified Associate (DCA) - DCA Exam Practice Test
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?
What is the correct set of objects to use for this?
Correct Answer: A
Will this sequence of steps completely delete an image from disk in the Docker Trusted Registry?
Solution: Delete the image and run garbage collection on the Docker Trusted Registry.
Solution: Delete the image and run garbage collection on the Docker Trusted Registry.
Correct Answer: B
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
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 containers on the bridge network
Solution:Use either EXPOSE or --publish to access the containers on the bridge network
Correct Answer: B
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
Will a DTR security scan detect this?
Solution.private keys copied to the image
Solution.private keys copied to the image
Correct Answer: A
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
When an application being managed by UCP fails, you would like a summary of all requests made to the UCP API in the hours leading up to the failure.
What must be configured correctly beforehand for this to be possible?
What must be configured correctly beforehand for this to be possible?
Correct Answer: C
During development of an application meant to be orchestrated by Kubernetes, you want to mount the /data directory on your laptop into a container.
Will this strategy successfully accomplish this?
Solution: Create a PersistentVolume with storageciass: "" and hostPath: /data, and a persistentVolumeClaim requesting this PV. Then use that PVC to populate a volume in a pod
Will this strategy successfully accomplish this?
Solution: Create a PersistentVolume with storageciass: "" and hostPath: /data, and a persistentVolumeClaim requesting this PV. Then use that PVC to populate a volume in a pod
Correct Answer: B
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
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: resource reservation
Can this be used to schedule containers to meet the security policy requirements?
Solution: resource reservation
Correct Answer: B
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
You want to create a container that is reachable from its host's network.
Does this action accomplish this?
Solution: Use network attach to access the container on the bridge network.
Does this action accomplish this?
Solution: Use network attach to access the container on the bridge network.
Correct Answer: A
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
A users attempts to set the system time from inside a Docker container are unsuccessful. Could this be blocking this operation?
Solution: inter-process communication
Solution: inter-process communication
Correct Answer: B
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).