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 5 out of 6 pages
Viewing questions 41-50 out of questions
Questions # 41:

Some Docker images take time to build through a Continuous Integration environment. You want to speed up builds and take advantage of build caching.

Where should the most frequently changed part of a Docker image be placed in a Dockerfile?

Options:

A.

at the top of the Dockerfile

B.

after the FROM directive

C.

at the bottom of the Dockerfile

D.

in the ENTRYPOINT directive

Expert Solution
Questions # 42:

Does this describe the role of Control Groups (cgroups) when used with a Docker container?

Solution: isolation between resources used by containers

Options:

A.

Yes

B.

No

Expert Solution
Questions # 43:

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 Docker secrets for certificates.

Options:

A.

Yes

B.

No

Expert Solution
Questions # 44:

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 system events --filter splunk

Options:

A.

Yes

B.

No

Expert Solution
Questions # 45:

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

Expert Solution
Questions # 46:

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

Options:

A.

Yes

B.

No

Expert Solution
Questions # 47:

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: Create a PersistentVolume with storageciass: "" and hostPath: /data, and a persistentVolumeClaim requesting this PV. Then use that PVC to populate a volume in a pod

Options:

A.

Yes

B.

No

Expert Solution
Questions # 48:

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

Solution: namespaces

Options:

A.

Yes

B.

No

Expert Solution
Questions # 49:

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

Solution.Disable the Docker service via ‘chkconfig' or 'systemctl'.

Options:

A.

Yes

B.

No

Expert Solution
Questions # 50:

Is this a function of UCP?

Solution: image role-based access control

Options:

A.

Yes

B.

No

Expert Solution
Viewing page 5 out of 6 pages
Viewing questions 41-50 out of questions