Feb-2022 Latest ITPassLeader DCA Exam Dumps with PDF and Exam Engine Free Updated Today!
Following are some new DCA Real Exam Questions!
NEW QUESTION 40
What is the purpose of multi-stage builds?
- A. Optimizing images by copying artifacts selectively from previous stages
- B. Faster image builds by allowing parallel execution of Docker builds
- C. Better caching when building Docker images
- D. Better logical separation of Dockerfile instructions for better readability
Answer: A
NEW QUESTION 41
Will this command list all nodes in a swarm cluster from the command line?
Solution: 'docker swarm nodes'
- A. Yes
- B. No
Answer: B
NEW QUESTION 42
In the context of a swarm mode cluster, does this describe a node?
Solution: an instance of the Docker engine participating in the swarm
- A. Yes
- B. No
Answer: A
NEW QUESTION 43
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. Yes
- B. No
Answer: B
NEW QUESTION 44
Will this command display a list of volumes for a specific container?
Solution: 'docker container inspect nginx'
- A. Yes
- B. No
Answer: A
NEW QUESTION 45
In the context of a swarm mode cluster, does this describe a node?
Solution: a physical machine participating in the swarm
- A. Yes
- B. No
Answer: B
NEW QUESTION 46
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 --restart unless-stopped redis'
- C. 'docker run -d --restart-policy unless-stopped redis'
- D. 'docker run -d --failure omit-stopped redis'
Answer: C
NEW QUESTION 47
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)
- A. 'docker update service <service-id>=5'
- B. 'docker service scale <service-id> = 5''
- C. 'docker replica update <service-id>=5'
- D. 'docker service replicas <service-id>=5'
- E. 'docker service update --replicas=5 <service-id>'
Answer: B,E
NEW QUESTION 48
Is this a Linux kernel namespace that is disabled by default and must be enabled at Docker engine runtime to be used?
Solution: user
- A. Yes
- B. No
Answer: A
NEW QUESTION 49
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. Both Bob's and Alice's commands result in exactly the same outcome, which is 3 instances of the 'web' service.
- 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. Bob's command updates the number of replicas of the 'web' service to 3. Alice's command results in an error.
Answer: A
NEW QUESTION 50
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'
- A. Yes
- B. No
Answer: B
NEW QUESTION 51
The output of which command can be used to find the architecture and operating system an image is
compatible with?
- A. docker image inspect --format {{.Architecture}} {{.OS}} ' <image-id>
- B. docker image ls <image-id>
- C. docker image info <image-id>
- D. docker image inspect --filter {{.Architecture}} {{.OS}} ' <image-id>
Answer: A
NEW QUESTION 52
Which of the following commands is used to display system-wide Docker configuration on a host?
- A. docker status
- B. docker system
- C. docker inspect
- D. docker info
Answer: D
NEW QUESTION 53
You add a new user to the engineering organization in DTR.
Will this action grant them read/write access to the engineering/api repository?
Solution: Add them to a team in the engineering organization that has read/write access to the engineering/api repository.
- A. Yes
- B. No
Answer: B
NEW QUESTION 54
Will this action upgrade Docker Engine CE to Docker Engine EE?
Solution: Delete '/var/lib/docker' directory.
- A. Yes
- B. No
Answer: B
NEW QUESTION 55
A user is having problems running Docker. Which of the following will start Docker in debug mode?
- A. Start the 'dockerd' process manually with the '--logging' flag set to debug
- B. Start the 'dockerd' process manually with the '--raw-logs' flag set to debug
- C. Set the logging key to debug in the 'daemon.json' file.
- D. Set the debug key to true in the 'daemon.json' file.
Answer: D
NEW QUESTION 56
A persistentVolumeClaim (PVC) is created with the specification storageClass: "", and size requirements that cannot be satisfied by any existing persistentVolume.
Is this an action Kubernetes takes in this situation?
Solution: The PVC remains unbound until a persistentVolume that matches all requirements of the PVC becomes available.
- A. Yes
- B. No
Answer: A
NEW QUESTION 57
Two pods bear the same label, app: dev.
Will a label selector matching app: dev match both of these pods?
- A. Yes, if the pods are in the same Kubernetes namespace as the object bearing the label selector
- B. Yes, as long as all the containers in those pods are passing their livenessProbes and readinessProbes.
- C. Yes, if the pods are in the same Kubernetes namespace as the object bearing the label selector and both pods were preexisting when the label selector was declared.
- D. Yes, if both pods were pre-existing when the label selector was declared.
Answer: C
NEW QUESTION 58
Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory?
Solution: seccomp
- A. Yes
- B. No
Answer: B
NEW QUESTION 59
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. Yes
- B. No
Answer: A
NEW QUESTION 60
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 service ps http'
- A. Yes
- B. No
Answer: B
NEW QUESTION 61
Will this command mount the host's '/data' directory to the ubuntu container in read-only mode?
Solution: 'docker run --volume /data:/mydata:ro ubuntu'
- A. Yes
- B. No
Answer: B
NEW QUESTION 62
Is this the purpose of Docker Content Trust?
Solution: Enable mutual TLS between the Docker client and server.
- A. Yes
- B. No
Answer: B
NEW QUESTION 63
Is this a function of UCP?
Solution: enforces the deployment of signed images to the cluster
- A. Yes
- B. No
Answer: B
NEW QUESTION 64
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. Both Bob's and Alice's commands result in exactly the same outcome, which is 3 instances of the 'web' service.
- 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. Bob's command updates the number of replicas of the 'web' service to 3. Alice's command results in an error.
Answer: A
NEW QUESTION 65
......
Resources From:
- 2022 Latest ITPassLeader DCA Exam Dumps (PDF & Exam Engine) Free Share: https://www.itpassleader.com/Docker/DCA-dumps-pass-exam.html
- 2022 Latest ITPassLeader DCA PDF and DCA Exam Dumps Free Share: https://drive.google.com/open?id=1riBAKF6gHQctAQ-8vc59sVFk0oqIelhr
Free Resources from ITPassLeader, We Devoted to Helping You 100% Pass All Exams!