New Year 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 Linux kernel namespace that is disabled by default and must be enabled at Docker engine runtime to be used?

Solution: mnt

Options:

A.

Yes

B.

No

Buy Now
Questions 5

The Kubernetes yaml shown below describes a networkPolicy.

DCA Question 5

Will the networkPolicy BLOCK this trafftc?

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

Options:

A.

Yes

B.

No

Buy Now
Questions 6

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

Solution. x.500

Options:

A.

Yes

B.

No

Buy Now
Questions 7

Is this the purpose of Docker Content Trust?

Solution: Enable mutual TLS between the Docker client and server.

Options:

A.

Yes

B.

No

Buy Now
Questions 8

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

Options:

A.

Yes

B.

No

Buy Now
Questions 9

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 10

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 11

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

Buy Now
Questions 12

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

Solution: user

Options:

A.

Yes

B.

No

Buy Now
Questions 13

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 14

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 15

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

Solution: `docker network inspect', `docker port'

Options:

A.

Yes

B.

No

Buy Now
Questions 16

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

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

Options:

A.

Yes

B.

No

Buy Now
Questions 17

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

Buy Now
Questions 18

A user's attempts to set the system time from inside a Docker container are unsuccessful.

Could this be blocking this operation?

Solution. SELinux

Options:

A.

Yes

B.

No

Buy Now
Questions 19

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 20

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

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

Options:

A.

Yes

B.

No

Buy Now
Questions 21

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

Solution: 'docker container inspect nginx'

Options:

A.

Yes

B.

No

Buy Now
Questions 22

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: Keep a backup copy of the image on another repository.

Options:

A.

Yes

B.

No

Buy Now
Questions 23

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 24

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 25

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

Solution: Manually download the 'docker-ee' package

Options:

A.

Yes

B.

No

Buy Now
Questions 26

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 27

The Kubernetes yaml shown below describes a clusterIP service.

DCA Question 27

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 28

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

Solution: Authentication

Options:

A.

Yes

B.

No

Buy Now
Questions 29

Your organization has a centralized logging solution, such as Splunk.

Will this configure a Docker container to export container logs to the logging solution?

Solution: docker logs

Options:

A.

Yes

B.

No

Buy Now
Questions 30

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

Buy Now
Questions 31

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

Solution. capabilities

Options:

A.

Yes

B.

No

Buy Now
Questions 32

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

Buy Now
Questions 33

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

Buy Now
Questions 34

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

Solution. ‘docker inspect nodes

Options:

A.

Yes

B.

No

Buy Now
Questions 35

Is this an advantage of multi-stage builds?

Solution: faster image builds by allowing parallel execution of Docker builds

Options:

A.

Yes

B.

No

Buy Now
Questions 36

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

Solution: Network

Options:

A.

Yes

B.

No

Buy Now
Questions 37

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 38

Is this statement correct?

Solution: A Dockerfile stores the Docker daemon's configuration options.

Options:

A.

Yes

B.

No

Buy Now
Questions 39

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

Buy Now
Questions 40

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. Set containers. Mounts. hostBinding: /data in the container's specification.

Options:

A.

Yes

B.

No

Buy Now
Questions 41

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 42

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

Solution: Set IGNORE_TLS in the 'daemon.json' configuration file.

Options:

A.

Yes

B.

No

Buy Now
Questions 43

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 44

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

Options:

A.

Yes

B.

No

Buy Now
Questions 45

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 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

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
Exam Code: DCA
Exam Name: Docker Certified Associate (DCA) Exam
Last Update: Dec 16, 2024
Questions: 183

PDF + Testing Engine

$57.75  $164.99

Testing Engine

$43.75  $124.99
buy now DCA testing engine

PDF (Q&A)

$36.75  $104.99
buy now DCA pdf