DCA Exam Question 76

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

    Will this command ensure that overlay traffic between service tasks is encrypted?
    Solution: docker network create -d overlay --secure
  • DCA Exam Question 78

    The Kubernetes yaml shown below describes a networkPolicy.

    Will the networkPolicy BLOCK this trafftc?
    Solution. a request issued from a pod bearing only the tier: frontend label, to a pod bearing the tier: backend label
  • DCA Exam Question 79

    Does this command display all the pods in the cluster that are labeled as 'env: development'?
    Solution: 'kubectl get pods --all-namespaces -I env=development'
  • DCA Exam Question 80

    A company's security policy specifies that development and production containers must run on separate nodes in a given Swarm cluster.
    Can this be used to schedule containers to meet the security policy requirements?
    Solution: resource reservation