Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Pass the Docker Certified Associate DCA Questions and answers with ValidTests

Exam DCA All Questions
Exam DCA Premium Access

View all detail and faqs for the DCA exam

Viewing page 3 out of 6 pages
Viewing questions 21-30 out of questions
Questions # 21:

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

Expert Solution
Questions # 22:

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 events deployment api

Options:

A.

Yes

B.

No

Expert Solution
Questions # 23:

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

Solution. ‘docker container inspect", docker port'

Options:

A.

Yes

B.

No

Expert Solution
Questions # 24:

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

Solution. ‘docker container logs nginx –volumes’

Options:

A.

Yes

B.

No

Expert Solution
Questions # 25:

The Kubernetes yaml shown below describes a networkPolicy.

Question # 25

Will the networkPolicy BLOCK this trafftc?

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

Options:

A.

Yes

B.

No

Expert Solution
Questions # 26:

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: Add all the resources to the default namespace.

Options:

A.

Yes

B.

No

Expert Solution
Questions # 27:

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.

Expert Solution
Questions # 28:

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

Options:

A.

Yes

B.

No

Expert Solution
Questions # 29:

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

Expert Solution
Questions # 30:

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.

Expert Solution
Viewing page 3 out of 6 pages
Viewing questions 21-30 out of questions