Question 41

Will this command mount the host's '/data' directory to the ubuntu container in read-only mode?
Solution: 'docker run --volume /data:/mydata:ro ubuntu'
  • Question 42

    A host machine has four CPUs available and two running containers. The sysadmin would like to assign two CPUs to each container.
    Which of the following commands achieves this?
  • Question 43

    In the context of a swarm mode cluster, does this describe a node?
    Solution: a physical machine participating in the swarm
  • Question 44

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

    A user is having problems running Docker. Which of the following will start Docker in debug mode?