Pass Docker DCA Exam Info and Free Practice Test [Q10-Q32]

Share

Pass Docker DCA Exam Info and Free Practice Test

New 2022 Latest Questions DCA Dumps - Use Updated Docker Exam

NEW QUESTION 10
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. Yes
  • B. No

Answer: A

 

NEW QUESTION 11
Wha is the purpose of Docker Content Trust?

  • A. Docker registry TLS verification and encryption
  • B. Signing and verification of image tags
  • C. Indicating an image on Docker Hub is an official image
  • D. Enabling mutual TLS between the Docker client and server

Answer: B

 

NEW QUESTION 12
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 df'
  • B. 'docker system free'
  • C. 'docker system ps'
  • D. 'docker system prune'

Answer: A

 

NEW QUESTION 13
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 df'
  • B. 'docker system free'
  • C. 'docker system ps'
  • D. 'docker system prune'

Answer: A

 

NEW QUESTION 14
When an application being managed by UCP fails, you would like a summary of all requests made to the UCP API in the hours leading up to the failure.
What must be configured correctly beforehand for this to be possible?

  • A. All engines in the cluster must have their log driver set to the metadata' or request' level.
  • B. UCP logging levels must be set to the info' or debug' level.
  • C. Set the logging level in theconfig object for the ucp-kube-api-server container to warning or higher.
  • D. UCP audit logs must be set to the metadata' or request' level.

Answer: D

 

NEW QUESTION 15
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 16
Which statement is true?

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

Answer: A

 

NEW QUESTION 17
You have created a Docker bridge network on a host with three containers attached, how do you make this containers accessible outside of the host?

  • A. Use --link to access the containers on the bridge network
    Correct
  • B. Use either EXPOSE or --publish to access the containers on the bridge network
  • C. Use network attach to access the containers on the bridge network
  • D. Use network connect to access the containers on the bridge network

Answer: B

 

NEW QUESTION 18
You want to create a container that is reachable from its host's network. Does this action accomplish this?
Solution: Use either EXPOSE or --publish to access the containers on the bridge network

  • A. Yes
  • B. No

Answer: A

 

NEW QUESTION 19
Will this configuration achieve fault tolerance for managers in a swarm?
Solution: only two managers, one active and one passive.

  • A. No
  • B. Yes

Answer: A

 

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

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

Answer: C

 

NEW QUESTION 21
Which of the following is true about overlay networks?

  • A. Overlay networks are only created on the manager nodes.
  • B. 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.
  • C. Overlay networks are created only on the manager node that you created the overlay
    networking on
  • D. Overlay networks are created on all cluster nodes when you create the overlay network.

Answer: D

 

NEW QUESTION 22
Which statement is true about DTR garbage collection?

  • A. Garbage collection removes DTR images that are older than a configurable of days
  • B. Garbage collection removes exited containers from cluster nodes.
  • C. Garbage collection removes unreferenced image layers from DTR's backend storage.
  • D. Garbage collection removes unused volumes from cluster nodes

Answer: C

 

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
What is the recommended way to configure the daemon flags and environment variables for your Docker daemon in a platform independent way?

  • A. Set the configuration options using the ENV variable
  • B. Set the configuration DOCKER_OPTS in '/etc/default/docker'
  • C. Set the configuration options in '/etc/docker/daemon.json'
  • D. Using 'docker config' to set the configuration options.

Answer: C

 

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

  • A. Yes
  • B. No

Answer: A

 

NEW QUESTION 26
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-cpus' flag to '.5' on both containers
  • B. Set the '--cpuset-cpu's flag to '1.3' on one container and '2.4' on the other container.
  • C. Set the '--cpuset-cpus' flag of the 'dockerd' process to the value 'even-spread'
  • D. Set the '--cpu-quota' flag to '1.3' on one container and '2,4' on the other container.

Answer: A

 

NEW QUESTION 27
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 28
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 29
Will this command display a list of volumes for a specific container?
Solution: docker container logs nginx --volumes'

  • A. No
  • B. Yes

Answer: A

 

NEW QUESTION 30
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 once they are older than the pruning threshold set in the repository's Settings tab.
  • B. Matching images are deleted during the next prune Job.
  • C. 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.
  • D. Matching Images are untagged during the next prune job.

Answer: A

 

NEW QUESTION 31
Which one of the following commands will show a list of volumes for a specific container?

  • A. 'docker volume logs nginx --containers'
  • B. 'docker container logs nginx --volumes'
  • C. 'docker container inspect nginx'
  • D. 'docker volume inspect nginx'

Answer: C

 

NEW QUESTION 32
......

Latest DCA Exam Dumps Docker Exam: https://guidetorrent.dumpstorrent.com/DCA-exam-prep.html