DCA Exam Question 26

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'
  • DCA Exam Question 27

    You want to provide a configuration file to a container at runtime. Does this set of Kubernetes tools and steps accomplish this?
    Solution: Turn the configuration file into a configMap object and mount it directly into the appropriate pod and container using the .spec.containers.configMounts key.
  • DCA Exam Question 28

    From a DevOps process standpoint, it is best practice to keep changes to an application in version control.
    Which of the following will allow changes to a docker Image to be stored in a version control system?
  • DCA Exam Question 29

    Which 'docker run' flag lifts cgroup limitations?
  • DCA Exam Question 30

    One of several containers in a pod is marked as unhealthy after failing its livenessProbe many times. Is this the action taken by the orchestrator to fix the unhealthy container?
    Solution: The controller managing the pod is autoscaled back to delete the unhealthy pod and alleviate load.