Go Back on DCA Exam
Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99

DCA Practice Test


Page 5 out of 34 Pages

A container named "analytics" that stores results in a volume called "data" was created.
docker run -d -name=analytics -v data:/data app1
How are the results accessed in "data" with another container called "app2"?


A.

docker run -d --name=reports --volume=data app2


B.

docker run -d --name=reports --volumes-from=analytics app2


C.

docker run -d --name=reports --volume=app1 app2


D.

docker run -d --name=reports --mount=app1 app2





B.
  

docker run -d --name=reports --volumes-from=analytics app2



Following the principle of least privilege, which of the following methods can be used to securely grnt access to the specific user to communicate to a Docker engine? (Choose two.)


A.

Utilize the '--host 0.0.0.0:2375' option to the Docker daemon to listen on port 2375 over
TCP on all interfaces


B.

Utilize openssl to create TLS client and server certificates, configuring the Docker engine to
use with mutual TLS over TCP.


C.

Utilize the '--host 127.0.0.1:2375' option to the Docker daemon to listen on port 2375 over
TCP on localhost


D.

Give the user root access to the server to allow them to run Docker commands as root.


E.

Add the user to the 'docker' group on the server or specify the grouè with the '--group' Docker daemon
option.





B.
  

Utilize openssl to create TLS client and server certificates, configuring the Docker engine to
use with mutual TLS over TCP.



E.
  

Add the user to the 'docker' group on the server or specify the grouè with the '--group' Docker daemon
option.



What behavior is expected when a service is created with the following command:
'docker service create -publish 8000:80 nginx'


A.

All nodes in the cluster will listen on port 8080 and forward to port 80 in the container.


B.

Only a single node in the cluster will listen on port 8080 and forward to port 80 in the
container.


C.

All nodes in the cluster will listen on port 80 and forward to port 8080 in the container.


D.

Only a single node in the cluster will listen on port 80 and forward to port 8080 in the container.





A.
  

All nodes in the cluster will listen on port 8080 and forward to port 80 in the container.



In Docker Trusted Registry, how would a user prevent an image, for example 'nginx:latest' from being
overwritten by another user with push access to the repository?


A.

Tag the image with 'nginx:immutable'


B.

Remove push access from all other users.


C.

Use the DTR web UI to make the tag immutable.


D.

Keep a backup copy of the image on another repository





C.
  

Use the DTR web UI to make the tag immutable.



Which of the following commands is used to display system-wide Docker configuration on a host?


A.

docker info


B.

docker status


C.

docker inspect


D.

docker system





A.
  

docker info




Page 5 out of 34 Pages
Previous