During development of an application meant to be orchestrated by Kubernetes, you want to mount the / data directory on your laptop into a container.
Will this strategy successfully accomplish this?
Solution: Add a volume to the pod that sets hostPath.path: /data, and then mount this volume into the pod's containers as desired.
A. Yes
B. No
A company's security policy specifies that development and production containers must run on separate
nodes in a given Swarm cluster.
Can this be used to schedule containers to meet the security policy requirements?
Solution: label contraints
A. Yes
B. No
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
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
An application image runs in multiple environments, and each environment uses different certificates and ports, what is the best practice to deploy the containers?
A. Create a Dockerfile for each environment, specifying ports and ENV variables for certificates.
B. Create a Dockerfile for each environment, specifying ports and Docker secrets for certificates.
C. Create images that contain the specific configuration for every environment.
D. Create a config file for each environment.
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
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. Yes
B. No
Which command interactively monitors all container activity in the Docker engine?
A. docker system logs
B. docker system events
C. docker container events
D. docker container logs
Seven managers are in a swarm cluster.
Is this how should they be distributed across three datacenters or availability zones?
Solution: 3-2-2
A. Yes
B. No
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
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Docker exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your DCA exam preparations and Docker certification application, do not hesitate to visit our Vcedump.com to find your solutions here.