Pass4itsure > Docker > Docker Certified Associate > DCA > DCA Online Practice Questions and Answers

DCA Online Practice Questions and Answers

Questions 4

Seven managers are in a swarm cluster.

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

Solution: 5-1-1

A. Yes

B. No

Buy Now
Questions 5

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

myorg/myimage:1.0

A. Yes

B. No

Buy Now
Questions 6

After creating a new service named 'http', you notice that the new service is not registering as healthy. How do

you view the list of historical tasks for that service by using the command line?

A. 'docker inspect http'

B. 'docker service inspect http'

C. 'docker service ps http'

D. 'docker ps http'

Buy Now
Questions 7

You are troubleshooting a Kubernetes deployment called api, and want to see the events table for this

object.

Does this command display it?

Solution: kubectl describe deployment api

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.

A. Yes

B. No

Buy Now
Questions 9

How do you configure Docker engine to use a registry that is not configured with TLS certificates from a trusted CA?

A. Set IGNORE_TLS in the 'daemon.json' configuration file.

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

C. Set INSECURE_REGISTRY in the '/etc/docker/default' configuration file

D. Pass the '--insecure.-registry' flag to the daemon at run time

Buy Now
Questions 10

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

A. Yes

B. No

Buy Now
Questions 11

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

A. Yes

B. No

Buy Now
Questions 12

You add a new user to the engineering organization in DTR.

Will this action grant them read/write access to the engineering/api repository?

Solution: Add the user directly to the list of users with read/write access under the repository's Permissions

tab.

A. Yes

B. No

Buy Now
Questions 13

Is this an advantage of multi-stage builds?

Solution: optimizes Images by copying artifacts selectively from previous stages

A. Yes

B. No

Buy Now
Exam Code: DCA
Exam Name: Docker Certified Associate (DCA) Exam
Last Update: Apr 19, 2024
Questions: 166
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$45.99

VCE

$49.99

PDF + VCE

$59.99