DCA Docker Certified Associate (DCA) Exam

Loading demo links...

Showing 1–3 of 10 questions

Question 1

What is the difference between the ADD and COPY dockerfile instructions? (choosen 2)

Select all that apply, then click Submit answer.

  • ADD supports compression format handling while COPY does not.

  • COPY supports regular expression handling while ADD does not.

  • COPY supports compression format handling while ADD does not.

  • ADD support remote URL handling while COPY does not.

  • ADD supports regular expression handling while COPY does not.

Question 2

Which of the following modes can be used for service discovery of a Docker swarm service (Pick 2 correct answers)

Select all that apply, then click Submit answer.

  • Virtual IP (VIP) with --endpoint-mode vip

  • Overlay with --endpoint-mode overlay

  • DNS Round-Robin with --endpoint-mode dnsrr

  • Ingress with --endpoint-mode ingress

  • Network Address Translation(NAT) with --endpoint-mode nat

Question 3

You have deployed a service to swarm. Which command uses the Docker CLI to set the number of tasks of the services to 5? (choose 2)

Select all that apply, then click Submit answer.

  • 'docker service update --replicas=5 '

  • 'docker replica update =5'

  • 'docker update service =5'

  • 'docker service replicas =5'

  • 'docker service scale = 5''