Spring Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

DCA Docker Certified Associate (DCA) Exam Questions and Answers

Questions 4

Is this a supported user authentication method for Universal Control Plane?

Solution.x.500

Options:

A.

Yes

B.

No

Buy Now
Questions 5

Is this a way to configure the Docker engine to use a registry without a trusted TLS certificate?

Solution: List insecure registries in the ' daemon.json configuration file under the \insecure-registries ' key.

Options:

A.

Yes

B.

No

Buy Now
Questions 6

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 '

Options:

A.

Yes

B.

No

Buy Now
Questions 7

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: The controller managing the pod is autoscaled back to delete the unhealthy pod and alleviate load.

Options:

A.

Yes

B.

No

Buy Now
Questions 8

In the context of a swarm mode cluster, does this describe a node?

Solution: a physical machine participating in the swarm

Options:

A.

Yes

B.

No

Buy Now
Questions 9

You are pulling images from a Docker Trusted Registry installation

configured to use self-signed certificates, and this error appears:

`x509: certificate signed by unknown authority.

You already downloaded the Docker Trusted Registry certificate authority

certificate from https://dtr.example.com/ca.

How do you trust it? (Select two.)

Options:

A.

Pass ' -trust-certificate ca.crt to the Docker client.

B.

Place the certificate in ' /etc/docker/dtr/dtr.example.com.crt ' and restart theDocker daemon on all cluster nodes.

C.

Place the certificate in /etc/docker/certs.d/dtr.example.com/ca.crt ' on allcluster nodes.

D.

Pass -- insecure-registry to the Docker client.

E.

Place the certificate in your OS certificate path, trust the certificate system-wide, and restart the Docker daemon across all cluster nodes.

Buy Now
Questions 10

The Kubernetes yaml shown below describes a clusterIP service.

DCA Question 10

Is this a correct statement about how this service routes requests?

Solution: Traffic sent to the IP of this service on port 80 will be routed to port 8080 in a random pod with the label app:

nginx.

Options:

A.

Yes

B.

No

Buy Now
Questions 11

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 -service udp dns-cache '

Options:

A.

Yes

B.

No

Buy Now
Questions 12

Will this command ensure that overlay traffic between service tasks is encrypted?

Solution:docker service create --network --secure

Options:

A.

Yes

B.

No

Buy Now
Questions 13

During development of an application meant to be orchestrated by Kubemetes, you want to mount the /data directory on your laptop into a container.

Will this strategy successfully accomplish this?

Solution. Create a Persistent VolumeClaim requesting storageClass:”” (which defaults to local storage) and hostPath: /data, and use this to populate a volume in a pod.

Options:

A.

Yes

B.

No

Buy Now
Questions 14

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?

Options:

A.

Matching images are untagged during the next prune job.

B.

Matching images are deleted during the next prune job.

C.

Matching images are untagged 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, and subsequently deleted once they are older than the pruning threshold set in the repository ' s Settings tab.

Buy Now
Questions 15

Can this set of commands identify the published port(s) for a container?

Solution: docker container inspect ' , ' docker port '

Options:

A.

Yes

B.

No

Buy Now
Questions 16

Is this the purpose of Docker Content Trust?

Solution.Indicate an image on Docker Hub is an official image.

Options:

A.

Yes

B.

No

Buy Now
Questions 17

Two development teams in your organization use Kubernetes and want to deploy their applications while ensuring that Kubernetes-specific resources, such as secrets, are grouped together for each application.

Is this a way to accomplish this?

Solution: Create one namespace for each application and add all the resources to it.

Options:

A.

Yes

B.

No

Buy Now
Questions 18

Seven managers are in a swarm cluster.

Is this how should they be distributed across three datacenters or availability zones?

Solution: 3-3-1

Options:

A.

Yes

B.

No

Buy Now
Questions 19

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 "

Options:

A.

Yes

B.

No

Buy Now
Questions 20

Is this an advantage of multi-stage builds?

Solution: better caching when building Docker images

Options:

A.

Yes

B.

No

Buy Now
Questions 21

Will this command display a list of volumes for a specific container?

Solution:docker volume inspect nginx '

Options:

A.

Yes

B.

No

Buy Now
Questions 22

Is this a function of UCP?

Solution: enforces the deployment of signed images to the cluster

Options:

A.

Yes

B.

No

Buy Now
Questions 23

Will this action upgrade Docker Engine CE to Docker Engine EE?

Solution: Uninstall ' docker-ce ' package before installing ' docker-ee ' package.

Options:

A.

Yes

B.

No

Buy Now
Questions 24

In the context of a swarm mode cluster, does this describe a node?

Solution: an instance of the Docker engine participating in the swarm

Options:

A.

Yes

B.

No

Buy Now
Questions 25

You configure a local Docker engine to enforce content trust by setting the environment variable DOCKER_C0NTENT_TRUST=l. If myorg/myimage: 1.0 is unsigned, does Docker block this command?

Solution.docker image build, from a Dockeflle that begins FROM myorg/myimage: l1.0

Options:

A.

Yes

B.

No

Buy Now
Questions 26

Is this a Linux kernel namespace that is disabled by default and must be enabled at Docker engine runtime to be used?

Solution.pid

Options:

A.

Yes

B.

No

Buy Now
Questions 27

Which docker run` flag lifts cgroup limitations?

Options:

A.

`docker run -privileged

B.

`docker run -cpu-period

C.

`docker run -isolation

D.

`docker run -cap-drop

Buy Now
Questions 28

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 '

Options:

A.

Yes

B.

No

Buy Now
Questions 29

Will this command ensure that overlay traffic between service tasks is encrypted?

Solution:docker network create -d overlay --secure

Options:

A.

Yes

B.

No

Buy Now
Questions 30

Is this the purpose of Docker Content Trust?

Solution: Verify and encrypt Docker registry TLS.

Options:

A.

Yes

B.

No

Buy Now
Questions 31

Is this a type of Linux kernel namespace that provides container isolation?

Solution.Process ID

Options:

A.

Yes

B.

No

Buy Now
Questions 32

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: Create a PersistentVolume with storageciass: " " and hostPath: /data, and a persistentVolumeClaim requesting this PV. Then use that PVC to populate a volume in a pod

Options:

A.

Yes

B.

No

Buy Now
Questions 33

Will this command display a list of volumes for a specific container?

Solution. ‘docker container logs nginx –volumes’

Options:

A.

Yes

B.

No

Buy Now
Questions 34

Will this configuration achieve fault tolerance for managers in a swarm?

Solution: one manager node for two worker nodes

Options:

A.

Yes

B.

No

Buy Now
Questions 35

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 "

Options:

A.

Yes

B.

No

Buy Now
Questions 36

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 volume is defined in a pod specification with the key persistentVolume: default.

Options:

A.

Yes

B.

No

Buy Now
Questions 37

Does this command display all the pods in the cluster that are labeled as env; development ' ?

Solution. ‘kubectl gel pods --all-namespaces -I ' env in (development) ' '

Options:

A.

Yes

B.

No

Buy Now
Questions 38

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 container on the bridge network.

Options:

A.

Yes

B.

No

Buy Now
Questions 39

In Docker Trusted Registry, is this how a user can prevent an image, such as ' nginx:latest’, from being overwritten by another user with push access to the repository?

Solution: Use the DTR web Ul to make all tags in the repository immutable.

Options:

A.

Yes

B.

No

Buy Now
Questions 40

You want to create a container that is reachable from its host ' s network.

Does this action accomplish this?

Solution.Use network connect to access the container on the bridge network.

Options:

A.

Yes

B.

No

Buy Now
Questions 41

An application image runs in multiple environments, with each environment using different certificates and ports.

Is this a way to provision configuration to containers at runtime?

Solution: Create a Dockerfile for each environment, specifying ports and ENV variables for certificates.

Options:

A.

Yes

B.

No

Buy Now
Questions 42

Will this sequence of steps completely delete an image from disk in the Docker Trusted Registry?

Solution: Manually delete all layers used by the image on the disk from the Docker Trusted Registry.

Options:

A.

Yes

B.

No

Buy Now
Questions 43

Will this command ensure that overlay traffic between service tasks is encrypted?

Solution: docker network create -d overlay -o encrypted=true < network-name >

Options:

A.

Yes

B.

No

Buy Now
Questions 44

Does this command display all the pods in the cluster that are labeled as ' env: development ' ?

Solution: ' kubectl get pods --all-namespaces -I env=development '

Options:

A.

Yes

B.

No

Buy Now
Questions 45

Is this statement correct?

Solution: A Dockerfile provides instructions for building a Docker image

Options:

A.

Yes

B.

No

Buy Now
Questions 46

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: The unhealthy container is restarted.

Options:

A.

Yes

B.

No

Buy Now
Questions 47

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: node affinities

Options:

A.

Yes

B.

No

Buy Now
Questions 48

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 -udp dns-cache’

Options:

A.

Yes

B.

No

Buy Now
Questions 49

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?

Options:

A.

`docker swarm leave '

B.

`docker node update -availability drain < node name >

C.

`kubectl drain < node name > '

D.

`kubectl cordon < node name >

Buy Now
Questions 50

Is this a supported user authentication method for Universal Control Plane?

Solution.SAML

Options:

A.

Yes

B.

No

Buy Now
Questions 51

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 ps http '

Options:

A.

Yes

B.

No

Buy Now
Questions 52

Will This command list all nodes in a swarm cluster from the command line?

Solution. ‘docker swarm nodes '

Options:

A.

Yes

B.

No

Buy Now
Questions 53

Two development teams in your organization use Kubernetes and want to deploy their applications while ensuring that Kubernetes-specific resources, such as secrets, are grouped together for each application.

Is this a way to accomplish this?

Solution. Create a collection for for each application.

Options:

A.

Yes

B.

No

Buy Now
Questions 54

Which networking drivers allow you to enable multi-host network connectivity

between containers?

Options:

A.

macvlan, ipvlan, and overlay

B.

bridge, user-defined, host

C.

host, macvlan, overlay, user-defined

D.

bridge, macvlan, ipvlan, overlay

Buy Now
Questions 55

A Kubernetes node is allocated a /26 CIDR block (64 unique IPs) for its

address space.

If every pod on this node has exactly two containers in it, how many pods can

this address space support on this node?

Options:

A.

-995

B.

64

C.

32 in every Kubernetes namespace

D.

64 for every service routing to pods on this node

E.

32

Buy Now
Questions 56

You configure a local Docker engine to enforce content trust by setting the environment variable

DOCKER_CONTENT_TRUST=1.

If myorg/myimage: 1.0 is unsigned, does Docker block this command?

Solution: docker service create myorg/myimage:1.0

Options:

A.

Yes

B.

No

Buy Now
Questions 57

Is this a type of Linux kernel namespace that provides container isolation?

Solution: Network

Options:

A.

Yes

B.

No

Buy Now
Exam Code: DCA
Exam Name: Docker Certified Associate (DCA) Exam
Last Update: May 4, 2026
Questions: 191

PDF + Testing Engine

$63.52  $181.49

Testing Engine

$50.57  $144.49
buy now DCA testing engine

PDF (Q&A)

$43.57  $124.49
buy now DCA pdf