We provide real DCA exam questions and answers braindumps in two formats. Download PDF & Practice Tests. Pass Docker DCA Exam quickly & easily. The DCA PDF type is available for reading and printing. You can print more and practice many times. With the help of our Docker DCA dumps pdf and vce product and material, you can easily pass the DCA exam.
Online DCA free questions and answers of New Version:
NEW QUESTION 1
A container named "analytics" that stores results in a volume called "data" was created. docker run -d --name=analytics -v data:/data app1
How are the results accessed in "data" with another container called "app2"?
- A. docker run -d --name=reports --volume=data app2
- B. docker run -d --name=reports --volumes-from=analytics app2
- C. docker run -d --name=reports --volume=app1 app2
- D. docker run -d --name=reports --mount=app1 app2
Answer: B
NEW QUESTION 2
From a DevOps process standpoint, it is best practice to keep changes to an application in version control. Which of the following will allow changes to a docker Image to be stored in a version control system?
- A. docker commit
- B. docker save
- C. A docker-compose.yml file
- D. A dockerfile
Answer: A
NEW QUESTION 3
Which statement is true about DTR garbage collection?
- A. Garbage collection removes unreferenced image layers from DTR's backend storage.
- B. Garbage collection removes exited containers from cluster nodes.
- C. Garbage collection removes DTR images that are older than a configurable of days
- D. Garbage collection removes unused volumes from cluster nodes
Answer: A
NEW QUESTION 4
Which of the following namespaces is disabled by default and must be enabled at Docker engine runtime in order to be used?
- A. user
- B. pid
- C. net
- D. mnt
Answer: A
NEW QUESTION 5
Which of the following is NOT backed up when performing a Docker Trusted backup operation?
- A. Access control to repos and images
- B. Repository metadata
- C. Image blobs
- D. DTR configurations
Answer: C
NEW QUESTION 6
If installing Docker using devicemapper for storage with the Intent to run production workloads, how should devicemapper be configured
- A. direct-lvm
- B. loop-lvm
- C. overlay-lvm
- D. aufs-lvm
Answer: A
NEW QUESTION 7
What is the difference between a resource limit and a resource reservation when scheduling services?
- A. A resource limit and a resource reservation can be used interchangeably.
- B. A resource limit is a soft limit for your service, while a reservation is hard limit and the docker engine will do its best to keep your service at the limit.
- C. A resource limit is used to find a host with adequate resources for scheduling a hard limit for your service, while a reservation is hard limit for your service.
- D. A resource limit is hard limit for your service, while a reservation is used to find a host with adequate resources for schedulin
- E. Correct
Answer: A
NEW QUESTION 8
You have just executed 'docker swarm leave' on a node. What command can be run on the same node to confirm it has left the cluster?
- A. docker node ls
- B. docker system info
- C. docker system status
- D. docker system status
Answer: B
NEW QUESTION 9
What is used by the kernel to Isolate resources when running Docker containers?
- A. Namespaces
- B. Overlay networks
- C. Volumes
- D. Control groups (also know as cgroups)
Answer: D
NEW QUESTION 10
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 options in '/etc/docker/daemon.json'
- C. Set the configuration DOCKER_OPTS in '/etc/default/docker'
- D. Using 'docker config' to set the configuration options.
Answer: B
NEW QUESTION 11
Which of these swarm manager configurations will cause the cluster to be in a lost quorum state?
- A. 4 managers of which 2 are healthy
- B. 1 manager of which 1 is healthy
- C. 3 managers of which 2 are healthy
- D. 5 managers of which 3 are healthy
Answer: A
NEW QUESTION 12
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 to '.5' on both containers
- 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: B
NEW QUESTION 13
What behavior is expected when a service is created with the following command: 'docker service create --publish 8000:80 nginx'
- A. All nodes in the cluster will listen on port 8080 and forward to port 80 in the container.
- B. Only a single node in the cluster will listen on port 8080 and forward to port 80 in the container.
- C. All nodes in the cluster will listen on port 80 and forward to port 8080 in the container.
- D. Only a single node in the cluster will listen on port 80 and forward to port 8080 in the container.
Answer: A
NEW QUESTION 14
What service mode is used to deploy a single task of a service to each node?
- A. replicated
- B. spread
- C. universal
- D. distributed
- E. global
Answer: E
NEW QUESTION 15
Which of the following modes can be used for service discovery of a Docker swarm service (Pick 2 correct answers)
- A. Virtual IP (VIP) with --endpoint-mode vip
- B. Overlay with --endpoint-mode overlay
- C. DNS Round-Robin with --endpoint-mode dnsrr
- D. Ingress with --endpoint-mode ingress
- E. Network Address Translation(NAT) with --endpoint-mode nat
Answer: AC
NEW QUESTION 16
Which of the following commands wifi automatically create a volume when a container is started?
- A. 'docker container run --name nginxtest --volumes=/app nginx'
- B. 'docker container run --name nginxtest -v /app:mount nginx'
- C. 'docker container run --name nginxtest --volumes myvol:/app:new nginx'
- D. 'docker container run --name nginxtest -v myvol:/app nginx'
Answer: A
NEW QUESTION 17
What is one way of directly transferring a Docker Image from one Docker host in another?
- A. 'docker push' the image to the IP address of the target host.
- B. 'docker commit' to save the image outside of the Docker filesyste
- C. Then transfer the file over to the target host and 'docker start' to start the container again.
- D. There is no way of directly transferring Docker images between host
- E. A Docker Registry must be used ad an intermediary.
- F. 'docker save' the image to save it as TAR file and copy it over to the target hos
- G. Then use 'docker load' to un-TAR the image back as a Docker image.
Answer: D
NEW QUESTION 18
Which of the following statements is true about secrets?
- A. Secrets can be created from any node in the cluster.
- B. Secrets can be modified after they are created.
- C. Secret are stored unencrypted on manager nodes.
- D. Secrets can be created using standard input (STDIN) and a file.
Answer: D
NEW QUESTION 19
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. Tag the image with 'nginx:immutable'
- B. Remove push access from all other users.
- C. Use the DTR web UI to make the tag immutable.
- D. Keep a backup copy of the image on another repository.
Answer: C
NEW QUESTION 20
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: C
NEW QUESTION 21
Which of the following is required to install Docker EE from a package repository?
- A. Repository URL obtained from Docker Store
- B. License key obtained from Docker Store
- C. Repository URL obtained from Docker Hub
- D. License key obtained from Docker Hub
Answer: A
NEW QUESTION 22
Which of the following is supported by control groups?
- A. Manage certificates
- B. Collect net
- C. Limit CPU usage within a container
- D. Isolate processes in a container
Answer: C
NEW QUESTION 23
Which of the following is true about using the '-P' option when creating a new container?
- A. Docker binds each exposed container port to a random port on all the host's interface
- B. Docker gives extended privileges to the container.
- C. Docker binds each exposed container port to a random port on a specified host interface
- D. Docker binds each exposed container port with the same port on the host
Answer: AExplanationControllare
NEW QUESTION 24
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 service update --replicas=5 <service-id>'
- B. 'docker replica update <service-id>=5'
- C. 'docker update service <service-id>=5'
- D. 'docker service replicas <service-id>=5'
- E. 'docker service scale <service-id> = 5''
Answer: AE
NEW QUESTION 25
......
Recommend!! Get the Full DCA dumps in VCE and PDF From Dumps-files.com, Welcome to Download: https://www.dumps-files.com/files/DCA/ (New 55 Q&As Version)