[Q21-Q42] DCA Exam Brain Dumps - Study Notes and Theory [Nov-2021]

Share

DCA Exam Brain Dumps - Study Notes and Theory [Nov-2021]

100% Guaranteed Results DCA Unlimited 170 Questions


How much Docker Certified Associate Exam Cost

The price of the Docker Certified Associate Exam Cost is 195 USD.


For more info read reference:

Docker blog Docker Use Case Docker Newsrooms Docker Exam Preparation Guide Docker Docs Docker forums

 

NEW QUESTION 21
During development of an application meant to be orchestrated by Kubernetes, you want to mount the /data directory on your laptop into a container.
Will this strategy successfully accomplish this?
Solution: Add a volume to the pod that sets hostPath.path: /data, and then mount this volume into the pod's containers as desired.

  • A. No
  • B. Yes

Answer: A

 

NEW QUESTION 22
Which of the following commands will create a swarm service which only listens on port 53 using the UDP protocol?

  • A. docker service create --name dns-cache -p 53:53 --service udp dns-cache
  • B. docker service create --name dns-cache -p 53:53/udp dns-cache
  • C. docker service create --name dns-cache -p 53:53 ..constraint
    networking.protocol.udp=true dns-cache
  • D. docker service create --name dns-cache -p 53:53 --udp dns-cache

Answer: B

 

NEW QUESTION 23
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?

  • A. Bob's command updates the number of replicas of the 'web' service to 3. Alice's command results in an error.
  • B. Bob's command only updates the service definition, but no new replicas are started. Alice's command results in the actual scaling up of the 'web' service.
  • C. Bob's command results in an error. Alice's command updates the number of replicas of the 'web' service to 3.
  • D. Both Bob's and Alice's commands result in exactly the same outcome, which is 3 instances of the 'web' service.

Answer: D

 

NEW QUESTION 24
You configure a local Docker engine to enforce content trust by setting the environment variable
DOCKER_CONTENT_TRUST=1.
If myorg/myimage: 1.0 is unsigned, does Docker block this command?
Solution: docker service create myorg/myimage:1.0

  • A. No
  • B. Yes

Answer: A

 

NEW QUESTION 25
Will this command list all nodes in a swarm cluster from the command line?
Solution: 'docker Is -a'

  • A. No
  • B. Yes

Answer: B

 

NEW QUESTION 26
The Kubernetes yaml shown below describes a clusterIP service.

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.

  • A. No
  • B. Yes

Answer: B

 

NEW QUESTION 27
Following the principle of least privilege, which of the following methods can be used to securely grnt access to the specific user to communicate to a Docker engine? (Choose two.)

  • A. Add the user to the 'docker' group on the server or specify the groue with the '--group' Docker daemon option.
  • B. Utilize openssl to create TLS client and server certificates, configuring the Docker engine to use with mutual TLS over TCP.
  • C. Utilize the '--host 0.0.0.0:2375' option to the Docker daemon to listen on port 2375 over TCP on all interfaces
  • D. Give the user root access to the server to allow them to run Docker commands as root.
  • E. Utilize the '--host 127.0.0.1:2375' option to the Docker daemon to listen on port 2375 over TCP on localhost

Answer: A,B

 

NEW QUESTION 28
Which networking drivers allow you to enable multi-host network connectivity between containers?

  • A. macvlan, ipvlan, and overlay
  • B. bridge, macvlan, ipvlan, overlay
  • C. bridge, user-defined, host
  • D. host, macvlan, overlay, user-defined

Answer: A

 

NEW QUESTION 29
Which statement is true?

  • A. ENTRYPOINT cannot be overriden in the "docker container run" command
  • B. ENTRYPOINT cannot be used in conjuction with CMD
  • C. CMD is used to run the software is the image along with any arguments
  • D. CMD shell format uses this form ["param", param", "param"]

Answer: D

 

NEW QUESTION 30
Will this command display a list of volumes for a specific container?
Solution: 'docker container inspect nginx'

  • A. No
  • B. Yes

Answer: B

 

NEW QUESTION 31
Which of the following commands will ensure that overlay traffic between service tasks is encrypted?

  • A. docker service create --network <network-name> --secure <service-name>
  • B. docker network create -d overlay -o encrypted=true <network-name>
  • C. docker network create -d overlay --secure <network-name>
  • D. docker service create --network <network-name> --encrypted <service-name>

Answer: B

 

NEW QUESTION 32
Seven managers are in a swarm cluster.
Is this how should they be distributed across three datacenters or availability zones?
Solution: 3-3-1

  • A. No
  • B. Yes

Answer: A

 

NEW QUESTION 33
The following Docker Compose file is deployed as a stack:

Is this statement correct about this health check definition?
Solution: Health checks test for app health ten seconds apart. If the test fails, the container will be restarted three times before it gets rescheduled.

  • A. No
  • B. Yes

Answer: A

 

NEW QUESTION 34
Which of the following constitutes a production-ready devicemapper configuration for the Docker engine?

  • A. Format a partition with xfs and mount it at '/var/lib/docker'
  • B. Create a volume group in devicemapper and utilize the '--dm.thinpooldev' Docker daemon
    option, specifying the volume group
  • C. Nothing, devicemapper comes ready for production usage out of the box
  • D. Utilize the '--storage-opt dm.directlvm_device' Docker daemon option, specifying a block
    device

Answer: D

 

NEW QUESTION 35
Which of the following commands starts a Redis container and configures it to always restart unless it is
explicitly stopped or Docker is restarted?

  • A. 'docker run -d --restart omit-stopped redis'
  • B. 'docker run -d --failure omit-stopped redis'
  • C. 'docker run -d --restart unless-stopped redis'
  • D. 'docker run -d --restart-policy unless-stopped redis'

Answer: C

 

NEW QUESTION 36
You set up an automatic pruning policy on a DTR repository to prune all images using Apache licenses. What effect does this have on images in this repository?

  • A. Matching images are untagged during the next prune job, and subsequently deleted once they are older than the pruning threshold set in the repository's Settings tab.
  • B. Matching images are untagged once they are older than the pruning threshold set in the repository's Settings tab.
  • C. Matching images are deleted during the next prune Job.
  • D. Matching Images are untagged during the next prune job.

Answer: B

 

NEW QUESTION 37
Seven managers are in a swarm cluster.
Is this how should they be distributed across three datacenters or availability zones?
Solution: 3-2-2

  • A. No
  • B. Yes

Answer: B

 

NEW QUESTION 38
Is this a Linux kernel namespace that is disabled by default and must be enabled at Docker engine runtime to be used?
Solution: net

  • A. No
  • B. Yes

Answer: A

 

NEW QUESTION 39
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'

  • A. No
  • B. Yes

Answer: B

 

NEW QUESTION 40
Will this command ensure that overlay traffic between service tasks is encrypted?
Solution: docker service create --network --encrypted

  • A. No
  • B. Yes

Answer: A

 

NEW QUESTION 41
You created a new service named 'http' and discover it is not registering as healthy. Will this command enable you to view the list of historical tasks for this service?
Solution: 'docker inspect http'

  • A. No
  • B. Yes

Answer: A

 

NEW QUESTION 42
......

DCA Dumps PDF - Want To Pass DCA Fast: https://www.actual4exams.com/DCA-valid-dump.html

DCA Practice Exam Dumps Exam: https://drive.google.com/open?id=1nHDYRpcnDU8a7sWQeNRG6p5Cmkuw2SrK