DCA Exam Question 16
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 -service udp dns-cache'
Solution: 'docker service create -name dns-cache -p 53:53 -service udp dns-cache'
DCA Exam Question 17
Will this command list all nodes in a swarm cluster from the command line?
Solution: 'docker node Is'
Solution: 'docker node Is'
DCA Exam Question 18
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 19
Will this command display a list of volumes for a specific container?
Solution. 'docker container inspect nginx'
Solution. 'docker container inspect nginx'
DCA Exam Question 20
Will this command ensure that overlay traffic between service tasks is encrypted?
Solution: docker service create --network --secure
Solution: docker service create --network --secure
