
Use Real DCA Dumps - Docker Correct Answers updated on 2021
Docker Certified Associate DCA Exam Practice Dumps
NEW QUESTION 31
After creating a new service named 'http', you notice that the new service is not registering as healthy. How do you view the list of historical tasks for that service by using the command line?
- A. 'docker inspect http'
- B. 'docker service inspect http'
- C. 'docker service ps http'
- D. 'docker ps http'
Answer: B
NEW QUESTION 32
Will this command display a list of volumes for a specific container?
Solution: docker volume inspect nginx'
- A. No
- B. Yes
Answer: A
NEW QUESTION 33
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'
- A. No
- B. Yes
Answer: B
NEW QUESTION 34
Which command interactively monitors all container activity in the Docker engine?
- A. docker system logs
- B. docker container events
- C. docker system events
- D. docker container logs
Answer: C
NEW QUESTION 35
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. No
- B. Yes
Answer: A
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.
- 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 37
Is this a function of UCP?
Solution: scans images to detect any security vulnerability
- A. No
- B. Yes
Answer: A
NEW QUESTION 38
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 logical separation of Dockerfile instructions for better readability
- D. Better caching when building Docker images
Answer: A
NEW QUESTION 39
Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory?
Solution: cgroups
- A. No
- B. Yes
Answer: B
NEW QUESTION 40
Is this a function of UCP?
Solution: image role-based access control
- A. No
- B. Yes
Answer: A
NEW QUESTION 41
Your organization has a centralized logging solution, such as Splunk.
Will this configure a Docker container to export container logs to the logging solution?
Solution: docker logs <container-id>
- A. No
- B. Yes
Answer: A
NEW QUESTION 42
Will this command list all nodes in a swarm cluster from the command line?
Solution: 'docker swarm nodes'
- A. No
- B. Yes
Answer: A
NEW QUESTION 43
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. Utilize the '--host 127.0.0.1:2375' option to the Docker daemon to listen on port 2375 over
TCP on localhost - B. Give the user root access to the server to allow them to run Docker commands as root.
- 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. Utilize openssl to create TLS client and server certificates, configuring the Docker engine to
use with mutual TLS over TCP. - E. Add the user to the 'docker' group on the server or specify the grouè with the '--group' Docker daemon option.
Answer: D,E
NEW QUESTION 44
Will this command display a list of volumes for a specific container?
Solution: docker volume logs nginx --containers'
- A. No
- B. Yes
Answer: A
NEW QUESTION 45
Which set of commands can identify the publishd port(s) for a container? (Choose 1.)
- A. 'docker info','docker network inspect'
- B. 'docker port inspect', 'docker container inspect'
- C. 'docker network inspect','docker port'
- D. 'docker container inspect', docker port'
Answer: D
NEW QUESTION 46
A host machine has four CPUs available and two running containers. The sysadmin would like to assign two CPUs to each container.
Which of the following commands achieves this?
- A. Set the '--cpuset-cpu's flag to '1.3' on one container and '2.4' on the other container.
- B. Set the '--cpuset-cpus' flag of the 'dockerd' process to the value 'even-spread'
- C. Set the '--cpu-quota' flag to '1.3' on one container and '2,4' on the other container.
- D. Set the '--cpuset-cpus' flag to '.5' on both containers
Answer: D
NEW QUESTION 47
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 48
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-policy unless-stopped redis'
- B. 'docker run -d --failure omit-stopped redis'
- C. 'docker run -d --restart omit-stopped redis'
- D. 'docker run -d --restart unless-stopped redis'
Answer: A
NEW QUESTION 49
......
Get ready to pass the DCA Exam right now using our Docker Certified Associate Exam Package: https://www.testkingpdf.com/DCA-testking-pdf-torrent.html
DCA Premium Files Test pdf - Free Dumps Collection: https://drive.google.com/open?id=1LSYqyrNtAMOUS6fMweoGIe65zLtuullM

