Question 51

What is the docker command to setup a swarm?
  • Question 52

    A persistentVolumeClaim (PVC) is created with the specification storageClass: "", and size requirements that cannot be satisfied by any existing persistentVolume.
    Is this an action Kubernetes takes in this situation?
    Solution: The PVC remains unbound until a persistentVolume that matches all requirements of the PVC becomes available.
  • Question 53

    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"
  • Question 54

    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 -constraint networking.protocol.udp=true dns-cache"
  • Question 55

    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 Docker block this command?
    Solution: docker image import <tarball> myorg/myimage:1.0