New Year Special Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: scxmas70

DCA Exam Dumps - Docker Certified Associate (DCA) Exam

Go to page:
Question # 17

One of several containers in a pod is marked as unhealthy after failing its livenessProbe many times. Is this the action taken by the orchestrator to fix the unhealthy container?

Solution: Kubernetes automatically triggers a user-defined script to attempt to fix the unhealthy container.

A.

Yes

B.

No

Full Access
Question # 18

You are running only Kubernetes workloads on a worker node that requires

maintenance, such as installing patches or an OS upgrade.

Which command must be run on the node to gracefully terminate all pods on

the node, while marking the node as unschedulable?

A.

`docker swarm leave'

B.

`docker node update -availability drain

C.

`kubectl drain '

D.

`kubectl cordon

Full Access
Question # 19

Will this command mount the host's '/data' directory to the ubuntu container in read-only mode?

Solution: 'docker run --volume /data:/mydata:ro ubuntu'

A.

Yes

B.

No

Full Access
Question # 20

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 five seconds apart. If the test fails, the container will be restarted three times before it gets rescheduled.

A.

Yes

B.

No

Full Access
Question # 21

Is this an advantage of multi-stage builds?

Solution: optimizes Images by copying artifacts selectively from previous stages

A.

Yes

B.

No

Full Access
Question # 22

Does this command create a swarm service that only listens on port 53 using the UDP protocol?

Solution. ‘docker service create -name dns-cache -p 53:53 -constraint networking.protocol.udp=true dns-cache"

A.

Yes

B.

No

Full Access
Question # 23

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

Full Access
Question # 24

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.

Yes

B.

No

Full Access
Go to page: