Special New Year Discounts Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 713PS592

ExamsBrite Dumps

Docker Certified Associate (DCA) Exam Question and Answers

Docker Certified Associate (DCA) Exam

Last Update Sep 18, 2025
Total Questions : 191

We are offering FREE DCA Docker exam questions. All you do is to just go and sign up. Give your details, prepare DCA free exam questions and then go for complete pool of Docker Certified Associate (DCA) Exam test questions that will help you more.

DCA pdf

DCA PDF

$42  $104.99
DCA Engine

DCA Testing Engine

$50  $124.99
DCA PDF + Engine

DCA PDF + Testing Engine

$66  $164.99
Questions 1

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

Solution.docker network create -d overlay --secure

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 2

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 default storageClass is specified, and subsequently a persistentVolumeClaim is created.

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 3

A persistentVolumeClaim (PVC) is created with the specification storageClass: "".and size requirements that cannot be satisfied by any existing persistentVolume.

Is this an action Kubernetes takes in this situation?

Solution: Kubernetes returns an error indicating that the PVC could not be bound with the current resources.

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 4

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

Discussion 0
Questions 5

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

Discussion 0
Questions 6

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

Solution: one manager node for two worker nodes

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 7

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

Solution: docker volume logs nginx --containers'

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 8

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

Solution. ‘docker container inspect nginx’

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 9

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

Discussion 0
Questions 10

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

Solution: an odd number of manager nodes, totaling more than two

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 11

Seven managers are in a swarm cluster.

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

Solution: 4-2-1

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 12

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

Discussion 0
Questions 13

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

Discussion 0
Questions 14

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 pod and add all the resources needed for each application

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 15

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

Solution. ‘docker inspect nodes

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 16

Is this statement correct?

Solution: A Dockerfile provides instructions for building a Docker image

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 17

Is this a function of UCP?

Solution: image role-based access control

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 18

Which statement is correct about cluster management in Docker Enterprise Edition 3.x?

Options:

A.  

Clusters can contain Linux only.

B.  

Clusters can contain Linux, Windows Server 2016 and 2019, and Linux on IBM z Systems.

C.  

Clusters can contain Windows 10 and Windows Server 2016 only.

D.  

Clusters can contain Linux and Windows Server 2008 R2 only.

Discussion 0
Questions 19

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 constraints

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 20

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

Solution.Host

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 21

Seven managers are in a swarm cluster.

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

Solution: 5-1-1

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 22

A persistentVolumeClaim (PVC) is created with the specification storageClass: "", and size requirements that cannot be satisfied by any existing persistentVolume.

Is this an action Kubernetes takes in this situation?

Solution: The PVC remains unbound until a persistentVolume that matches all requirements of the PVC becomes available.

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 23

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.

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 24

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 container run myorg/myimage:1.0

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 25

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

Solution.x.500

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 26

Is this an advantage of multi-stage builds?

Solution: better caching when building Docker images

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 27

Does this describe the role of Control Groups (cgroups) when used with a Docker container?

Solution: role-based access control to clustered resources

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 28

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

Solution. ‘docker container logs nginx –volumes’

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 29

The Kubernetes yaml shown below describes a networkPolicy.

Will the networkPolicy BLOCK this trafftc?

Solution.a request issued from a pod bearing the tier: api label, to a pod bearing the tier: backend label

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 30

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

Solution.Disable the Docker service via ‘chkconfig' or 'systemctl'.

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 31

The Kubernetes yaml shown below describes a networkPolicy.

Will the networkPolicy BLOCK this trafftc?

Solution. a request issued from a pod bearing the tier: backend label, to a podbearing the tier: frontend label

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 32

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

Solution:docker service create --network --encrypted

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 33

You want to provide a configuration file to a container at runtime. Does this set of Kubernetes tools and steps accomplish this?

Solution: Mount the configuration file directly into the appropriate pod and container using the .spec.containers.configMounts key.

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 34

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

Solution: only two managers, one active and one passive.

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 35

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

Discussion 0
Questions 36

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

Solution: ‘docker Is -a’

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 37

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

Solution: Authentication

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 38

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

Discussion 0
Questions 39

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

Discussion 0
Questions 40

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

Solution. ‘docker port inspect", docker container inspect"

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 41

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

Solution: 'docker run -v /data:/mydata --mode readonly ubuntu'

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 42

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

Solution: 'docker node Is'

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 43

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: Remove push access from all other users.

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 44

Is this a function of UCP?

Solution: scans images to detect any security vulnerability

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 45

How do you change the default logging driver for the docker daemon in Linux?

Options:

A.  

Install a logging agent on the Linux host.

B.  

Set the value of 'log-driver' to the name of the logging driver in the daemon.json in /etc/docker.

C.  

Use the -log-driver1 flag when you run a container.

D.  

At the command line, type: docker log driver set

Discussion 0
Questions 46

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

Does this action accomplish this?

Solution: Use network attach to access the container on the bridge network.

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 47

You want to mount external storage to a particular filesystem path in a

container in a Kubernetes pod.

What is the correct set of objects to use for this?

Options:

A.  

a persistentVolume in the pod specification, populated with a persistentVolumeClaim which is bound to a volume defined by a storageClass

B.  

a storageClass in the pod's specification, populated with a volume which is bound to a provisioner defined by a persistentVolume

C.  

a volume in the pod specification, populated with a storageClass which is bound to a provisioner defined by a persistentVolume

D.  

a volume in the pod specification, populated with a persistentVolumeClaim bound to a persistentVolume defined by a storageClass

Discussion 0
Questions 48

Is this an advantage of multi-stage builds?

Solution: optimizes Images by copying artifacts selectively from previous stages

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 49

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

Solution. Set and export the IGNORE_TLS environment variable on the command line.

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 50

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

Solution.an instance of the Docker CLI connected to the swarm

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 51

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: Provision a Docker config object for each environment.

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 52

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

Solution. ‘docker run -add-volume /data /mydata -read-only ubuntu'

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 53

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, use it to populate a volume associated with the pod, and mount that file from the volume to the appropriate container and path.

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 54

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

Solution: Storage

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 55

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

Solution.Run docker engine activate.

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 56

Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory?

Solution: seccomp

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 57

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 persistentVolumeClaim is created that specifies a pre-defined storageClass.

Options:

A.  

Yes

B.  

No

Discussion 0