Pass the Docker Docker Certified Associate DCA Questions and answers with CertsForce

Viewing page 6 out of 6 pages
Viewing questions 51-60 out of questions
Questions # 51:

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
Questions # 52:

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: resource reservation

Options:

A.

Yes


B.

No


Expert Solution
Questions # 53:

The Kubernetes yaml shown below describes a networkPolicy.

Question # 53

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


Expert Solution
Questions # 54:

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


Expert Solution
Questions # 55:

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 # 56:

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

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

Options:

A.

Yes


B.

No


Expert Solution
Questions # 57:

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


Expert Solution
Viewing page 6 out of 6 pages
Viewing questions 51-60 out of questions