Docker Certified Associate DCA Real Exam Questions and Answers FREE Updated on Aug 20, 2021
DCA Ultimate Study Guide - TestSimulate
NEW QUESTION 39
A server is running low on disk space. What command can be used to check the disk usage of images, containers, and volumes for Docker engine?
- A. 'docker system free'
- B. 'docker system prune'
- C. 'docker system ps'
- D. 'docker system df'
Answer: D
NEW QUESTION 40
Which flag for a service would allow a container to consume more than 2 GB of memory only when there is no memory contention but would also prevent a container from consuming more than 4GB of memory, in any case?
- A. --memory-swap 4GB --limit-memory 2GB
- B. --limit-memory 2GB --reserve-memory 4GB
- C. --limit-memory 4GB --reserve-memory 2GB
- D. --memory-swap 2GB --limit-memory 4GB
Answer: D
NEW QUESTION 41
Can this set of commands identify the published port(s) for a container?
Solution: docker container inspect', 'docker port'
- A. No
- B. Yes
Answer: B
NEW QUESTION 42
In the context of a swarm mode cluster, does this describe a node?
Solution: a virtual machine participating in the swarm
- A. No
- B. Yes
Answer: A
NEW QUESTION 43
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 --secure <network-name>
- C. docker network create -d overlay -o encrypted=true <network-name>
- D. docker service create --network <network-name> --encrypted <service-name>
Answer: C
NEW QUESTION 44
You are troubleshooting a Kubernetes deployment called api, and want to see the events table for this object. Does this command display it?
Solution: kubectl logs deployment api
- A. No
- B. Yes
Answer: A
NEW QUESTION 45
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 this service on port 8080 will be routed to port 80 in a random pod with the label aPP: nginx.
- A. No
- B. Yes
Answer: B
NEW QUESTION 46
Which statement is correct about cluster management in Docker Enterprise Edition 3.x?
- A. Clusters can contain Linux, Windows Server 2016 and 2019, and Linux on IBM z Systems.
- B. Clusters can contain Linux only.
- C. Clusters can contain Windows 10 and Windows Server 2016 only.
- D. Clusters can contain Linux and Windows Server 2008 R2 only.
Answer: C
NEW QUESTION 47
Does this describe the role of Control Groups (cgroups) when used with a Docker container?
Solution: user authorization to the Docker API
- A. No
- B. Yes
Answer: A
NEW QUESTION 48
When using the Docker client to push an image to a registry, what environment variable is used to instruct the client to perform signing of the image?
- A. DOCKER_CONTENT_TRUST=1
- B. NOTARY_ENABLE=1
Correct - C. DOCKER_PUSH_SIGN=1
- D. DOCKER_IMAGE_SIGN=1
Answer: A
NEW QUESTION 49
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.
- B. Matching images are deleted during the next prune Job.
- C. Matching images are untagged once they are older than the pruning threshold set in the repository's Settings tab.
- D. 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.
Answer: C
NEW QUESTION 50
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. Three failed health checks transition the container into "unhealthy" status.
- A. No
- B. Yes
Answer: B
NEW QUESTION 51
Which of the following is true about overlay networks?
- A. Overlay networks are only created on the manager nodes.
- B. Overlay networks are created only on the manager node that you created the overlay networking on
- C. Overlay networks are created on all cluster nodes when you create the overlay network.
- D. Overlay networks are first created on the manager nodes. Then they are created on the worker nodes once a task is scheduled on the specific worker node.
Answer: C
Explanation:
Explanation
NEW QUESTION 52
Will this command mount the host's '/data' directory to the ubuntu container in read-only mode?
Solution: 'docker run --add-volume /data /mydata -read-only ubuntu'
- A. No
- B. Yes
Answer: A
NEW QUESTION 53
One of several containers in a pod is marked as unhealthy after failing its livenessProbe many times. Is this the action taken by the orchestrator to fix the unhealthy container?
Solution: Kubernetes automatically triggers a user-defined script to attempt to fix the unhealthy container.
- A. No
- B. Yes
Answer: A
NEW QUESTION 54
Is this a supported user authentication method for Universal Control Plane?
Solution: PAM
- A. No
- B. Yes
Answer: A
NEW QUESTION 55
You are troubleshooting a Kubernetes deployment called api, and want to see the events table for this object. Does this command display it?
Solution: kubectl describe deployment api
- A. No
- B. Yes
Answer: B
NEW QUESTION 56
......
Ultimate Guide to Prepare DCA Certification Exam for Docker Certified Associate: https://www.testsimulate.com/DCA-study-materials.html