Exit demo DCA Docker Certified Associate (DCA) PDF format · free preview

Docker DCA - Questions & Answers

Free preview · every answer includes a full explanation

Product page: https://prepkeys.com/dca.html

Question 1
Single choice

Wha is the purpose of Docker Content Trust?

A.

Signing and verification of image tags

B.

Enabling mutual TLS between the Docker client and server

C.

Docker registry TLS verification and encryption

D.

Indicating an image on Docker Hub is an official image

Question 2
Single choice

When using the Docker client to push an image to a registry, what environment variable is used to instruct the client to perform signing of the image?

A.

DOCKER_CONTENT_TRUST=1

B.

DOCKER_IMAGE_SIGN=1

C.

DOCKER_PUSH_SIGN=1

D.

NOTARY_ENABLE=1

Question 3
Single choice

Is this an advantage of multi-stage builds?

Solution: better caching when building Docker images

A.

Yes

B.

No

Question 4
Single choice

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.

A.

Yes

B.

No

Question 5
Single choice

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'

A.

Yes

B.

No

Question 6
Single choice

Which of the following statements is true about secrets?

A.

Secrets can be created from any node in the cluster.

B.

Secrets can be modified after they are created.

C.

Secret are stored unencrypted on manager nodes.

D.

Secrets can be created using standard input (STDIN) and a file.

Question 7
Single choice

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 taints

A.

Yes

B.

No

Question 8
Multiple choice

You have deployed a service to swarm.

Which command uses the Docker CLI to set the number of tasks of the services to 5? (choose 2)

A.

'docker service update --replicas=5 <service-id>'

B.

'docker replica update <service-id>=5'

C.

'docker update service <service-id>=5'

D.

'docker service replicas <service-id>=5'

E.

'docker service scale <service-id> = 5''

Question 9
Single choice

Is this a function of UCP?
Solution: scans images to detect any security vulnerability

A.

Yes

B.

No

Question 10
Single choice

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'

A.

Yes

B.

No

Showing 10 of 199 questions · Unlock the full set