Docker Certified Associate (DCA) Free Practice Exam Questions

60 real Docker Certified Associate (DCA) exam questions with answers and AI explanations. Mirantis certification prep — page 3 of 6.

  1. Question 22: Will a DTR security scan detect this? image configuration poor practices, such as exposed ports or inclusion of compilers in production images
  2. Question 23: You configure a local Docker engine to enforce content trust by setting the environment variable DOCKER_CONTENT_TRUST=1. If myorg/myimage:1.0 is unsigned, does…
  3. Question 24: Which networking drivers allow you to enable multi-host network connectivity between containers?
  4. Question 25: You want to create a container that is reachable from its host’s network. Does this action accomplish this? Use either EXPOSE or --publish to access the contai…
  5. Question 26: 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 rep…
  6. Question 27: Does this command display all the pods in the cluster that are labeled as ‘env: development’? ‘kubectl get pods -l env=development’
  7. Question 28: Does this command display all the pods in the cluster that are labeled as ‘env: development’? ‘kubectl get pods --all-namespaces -l ‘env in (development)’ ’
  8. Question 29: You set up an automatic pruning policy on a DTR repository to prune all images using Apache licenses. What effect does this have on images in this repository?
  9. Question 30: Will this action upgrade Docker Engine CE to Docker Engine EE? Run docker engine activate.
  10. Question 31: You are running only Kubernetes workloads on a worker node that requires maintenance, such as installing patches or an OS upgrade. Which command must be run on…