Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ecus65

Docker DCA - Docker Certified Associate (DCA) Exam

Page: 6 / 6
Total 191 questions

Will this command ensure that overlay traffic between service tasks is encrypted?

Solution:docker network create -d overlay --secure

A.

Yes

B.

No

How do you change the default logging driver for the docker daemon in Linux?

A.

Install a logging agent on the Linux host.

B.

Set the value of 'log-driver' to the name of the logging driver in the daemon.json in /etc/docker.

C.

Use the -log-driver1 flag when you run a container.

D.

At the command line, type: docker log driver set

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

Solution: 'docker run --add-volume /data /mydata -read-only ubuntu'

A.

Yes

B.

No

Will this command list all nodes in a swarm cluster from the command line?

Solution. ‘docker inspect nodes

A.

Yes

B.

No

Is this the purpose of Docker Content Trust?

Solution: Verify and encrypt Docker registry TLS.

A.

Yes

B.

No

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

Solution: docker container inspect', 'docker port'

A.

Yes

B.

No

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

A.

Yes

B.

No