Question 61

Seven managers are in a swarm cluster.
Is this how should they be distributed across three datacenters or availability zones?
Solution: 4-2-1
  • Question 62

    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.
  • Question 63

    You have deployed a service to swarm. Which command uses the Docker CLI to set the number of tasks of the services to 5? (choose 2)
  • Question 64

    An application image runs in multiple environments, with each environment using different certificates and ports.
    Is this a way to provision configuration to containers at runtime?
    Solution: Create images that contain the specific configuration for every environment.
  • Question 65

    Will this command mount the host's '/data' directory to the ubuntu container in read-only mode?
    Solution: 'docker run -v /data:/mydata --mode readonly ubuntu'