Docker DCA

Page:    1 / 37   
Total 185 questions | Updated On: Apr 22, 2024
Question 1

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?


Answer: D
Question 2

You want to create a container that is reachable from its host's network. Does this action accomplish this? Solution: Use network attach to access the containers on the bridge network


Answer: B
Question 3

The Kubernetes yaml shown below describes a clusterIP service. 

DCA
Is this a correct statement about how this service routes requests?
Solution: Traffic sent to the IP of any pod with the label app: nginx on port 8080 will be forwarded to
port 80 in that pod.


Answer: A
Question 4

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'


Answer: A
Question 5

Which statement is true about DTR garbage collection? 


Answer: A
Page:    1 / 37   
Total 185 questions | Updated On: Apr 22, 2024

Quickly grab our DCA product now and kickstart your exam preparation today!

Name: Docker Certified Associate
Exam Code: DCA
Certification: Docker Certified Associate
Vendor: Docker
Total Questions: 185
Last Updated: Apr 22, 2024