DCA Exam Question 46

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. If the test fails, the container will be restarted three times before it gets rescheduled.
  • DCA Exam Question 47

    Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory?
    Solution.capabilities
  • DCA Exam Question 48

    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 events deployment api
  • DCA Exam Question 49

    You want to create a container that is reachable from its host's network.
    Does this action accomplish this?
    Solution. Use network connect to access the container on the bridge network.
  • DCA Exam Question 50

    Will this command ensure that overlay traffic between service tasks is encrypted?
    Solution: docker service create --network --encrypted