New 2021 Guaranteed Success with GetValidTest DCA Dumps Docker PDF Questions
Exceptional Practice To Docker Certified Associate (DCA) Exam Pass the First Time
NEW QUESTION 22
Will this command ensure that overlay traffic between service tasks is encrypted?
Solution: docker network create -d overlay --secure
- A. No
- B. Yes
Answer: A
NEW QUESTION 23
You want to provide a configuration file to a container at runtime. Does this set of Kubernetes tools and steps accomplish this?
Solution: Turn the configuration file into a configMap object and mount it directly into the appropriate pod and container using the .spec.containers.configMounts key.
- A. No
- B. Yes
Answer: A
NEW QUESTION 24
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: D
NEW QUESTION 25
Will this action upgrade Docker Engine CE to Docker Engine EE?
Solution: Manually download the 'docker-ee' package
- A. No
- B. Yes
Answer: B
NEW QUESTION 26
Which of the following constitutes a production-ready devicemapper configuration for the Docker engine?
- A. Create a volume group in devicemapper and utilize the '--dm.thinpooldev' Docker daemon
option, specifying the volume group - B. Format a partition with xfs and mount it at '/var/lib/docker'
- 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 27
Seven managers are in a swarm cluster.
Is this how should they be distributed across three datacenters or availability zones?
Solution: 5-1-1
- A. No
- B. Yes
Answer: A
NEW QUESTION 28
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 29
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 30
Some Docker images take time to build through a Continuous Integration environment. You want to speed up builds and take advantage of build caching.
Where should the most frequently changed part of a Docker image be placed in a Dockerfile?
- A. at the top of the Dockerfile
- B. after the FROM directive
- C. at the bottom of the Dockerfile
- D. in the ENTRYPOINT directive
Answer: C
NEW QUESTION 31
Are these conditions sufficient for Kubernetes to dynamically provision a persistentVolume, assuming there are no limitations on the amount and type of available external storage?
Solution: A default storageClass is specified, and subsequently a persistentVolumeClaim is created.
- A. No
- B. Yes
Answer: B
NEW QUESTION 32
When seven managers are in a swarm cluster how would they be distributed across three datacenters or availability zones?
- A. 4-2-1
- B. 3-3-1
- C. 3-2-2
- D. 5-1-1
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 --add-volume /data /mydata -read-only ubuntu'
- A. No
- B. Yes
Answer: A
NEW QUESTION 34
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. No
- B. Yes
Answer: B
NEW QUESTION 35
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 36
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 inspect http'
- A. No
- B. Yes
Answer: B
NEW QUESTION 37
In Docker Trusted Registry, how would a user prevent an image, for example 'nginx:latest' from being overwritten by another user with push access to the repository?
- A. Remove push access from all other users.
- B. Use the DTR web UI to make the tag immutable.
- C. Tag the image with 'nginx:immutable'
- D. Keep a backup copy of the image on another repository.
Answer: B
NEW QUESTION 38
......
DCA EXAM DUMPS WITH GUARANTEED SUCCESS: https://www.getvalidtest.com/DCA-exam.html
Best Quality Docker DCA Exam Questions: https://drive.google.com/open?id=1Nc1mbn-D3HDUX2F9S-WGdDnEW-0Djbdm