DCA Exam Question 86

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

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

    The Kubernetes yaml shown below describes a networkPolicy.

    Will the networkPolicy BLOCK this traffic?
    Solution: a request issued from a pod lacking the tier: api label, to a pod bearing the tier: backend label
  • DCA Exam Question 89

    A docker service 'web' is running with a scale factor of 1 (replicas = 1).
    Bob intends to use the command 'docker service update --replicas=3 web'.
    Alice intends to use the command 'docker service scale web=3'.
    How do the outcomes oft these two commands differ?
  • DCA Exam Question 90

    During development of an application meant to be orchestrated by Kubernetes, you want to mount the /data directory on your laptop into a container.
    Will this strategy successfully accomplish this?
    Solution: Create a PersistentVolume with storageciass: "" and hostPath: /data, and a persistentVolumeClaim requesting this PV. Then use that PVC to populate a volume in a pod