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 6 out of 6 pages
Viewing questions 51-60 out of questions
Questions # 51:

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 run -- log driver=splunk for every container at run time

Options:

A.

Yes

B.

No

Expert Solution
Questions # 52:

Is this a type of Linux kernel namespace that provides container isolation?

Solution: Storage

Options:

A.

Yes

B.

No

Expert Solution
Questions # 53:

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. Set containers. Mounts. hostBinding: /data in the container's specification.

Options:

A.

Yes

B.

No

Expert Solution
Questions # 54:

The following Docker Compose file is deployed as a stack:

Question # 54

Is this statement correct about this health check definition?

Solution: Health checks test for app health ten seconds apart. If the test fails, the container will be restarted three times before it gets rescheduled.

Options:

A.

Yes

B.

No

Expert Solution
Questions # 55:

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: Kubernetes returns an error indicating that the PVC could not be bound with the current resources.

Options:

A.

Yes

B.

No

Expert Solution
Questions # 56:

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

You created a new service named 'http* and discover it is not registering as healthy. Will this command enable you to view the list of historical tasks for this service?

Solution. ‘docker inspect http"

Options:

A.

Yes

B.

No

Expert Solution
Questions # 58:

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: label contraints

Options:

A.

Yes

B.

No

Expert Solution
Questions # 59:

Will this command mount the host's '/data' directory to the ubuntu container in read-only mode?

Solution: 'docker run --volume /data:/mydata:ro ubuntu'

Options:

A.

Yes

B.

No

Expert Solution
Questions # 60:

Is this the purpose of Docker Content Trust?

Solution: Enable mutual TLS between the Docker client and server.

Options:

A.

Yes

B.

No

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