DCA Exam Question 36
Will this command ensure that overlay traffic between service tasks is encrypted?
Solution: docker network create -d overlay -o encrypted=true <network-name>
Solution: docker network create -d overlay -o encrypted=true <network-name>
DCA Exam Question 37
Is this an advantage of multi-stage builds?
Solution: optimizes Images by copying artifacts selectively from previous stages
Solution: optimizes Images by copying artifacts selectively from previous stages
DCA Exam Question 38
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'
Solution: 'docker run --add-volume /data /mydata -read-only ubuntu'
DCA Exam Question 39
One of several containers in a pod is marked as unhealthy after failing its livenessProbe many times. Is this the action taken by the orchestrator to fix the unhealthy container?
Solution: The controller managing the pod is autoscaled back to delete the unhealthy pod and alleviate load.
Solution: The controller managing the pod is autoscaled back to delete the unhealthy pod and alleviate load.
DCA Exam Question 40
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. environment variables
Solution. environment variables
