DCA Exam Question 16

Is this the purpose of Docker Content Trust?
Solution. Sign and verify image tags.
  • DCA Exam Question 17

    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 18

    Does this command display all the pods in the cluster that are labeled as env; development'?
    Solution. 'kubectl gel pods --all-namespaces -I 'env in (development)''
  • DCA Exam Question 19

    Is this the purpose of Docker Content Trust?
    Solution: Verify and encrypt Docker registry TLS.
  • DCA Exam Question 20

    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