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 7 out of 34 Pages

What is the purpose of a client bundle in the Universal Control Plane?


A.

Authenticate a user using client certificates to the Universal Control Plane


B.

Provide a new user instructions for how to login to the Universal Control Plane


C.

Provide a user with a Docker client binary compatible with the Universal Control Plane


D.

Group multiple users in a team in the Universal Control Plane





A.
  

Authenticate a user using client certificates to the Universal Control Plane



Which of the following is true about using the '-P' option when creating a new container?


A.

Docker binds each exposed container port to a random port on all the host's interface


B.

Docker gives extended privileges to the container.


C.

Docker binds each exposed container port to a random port on a specified host interface


D.

Docker binds each exposed container port with the same port on the host





A.
  

Docker binds each exposed container port to a random port on all the host's interface



A service 'wordpress' is running using a password string to connect to a non-Dockerized database service. The password string is passed into the 'wordpress' service as a Docker secret. Per security policy, the password on the database was changed. Identity the correct sequence of steps to rotate the secret from the old password to the new password.


A.

Create a new docker secret with the new password. Trigger a rolling secret update by using the 'docker
secret update' command


B.

Trigger an update to the service by using 'docker service update --secret=<new password>'


C.

Create a new docker secret with the new password. Remove the existing service using 'docker service
rm'. Start a new service with the new secret using "--secret=<new password>"


D.

Create a new docker secret with a new password. Trigger a rolling update of the "wordpress" service, by
using "--secret-rm" & "--secret-add" to remove the old secret and add the updated secret.





D.
  

Create a new docker secret with a new password. Trigger a rolling update of the "wordpress" service, by
using "--secret-rm" & "--secret-add" to remove the old secret and add the updated secret.



An application image runs in multiple environments, and each environment uses different certificates and
ports, what is the best practice to deploy the containers?


A.

Create a Dockerfile for each environment, specifying ports and ENV variables for certificates.


B.

Create a Dockerfile for each environment, specifying ports and Docker secrets for certificates.


C.

Create images that contain the specific configuration for every environment.


D.

Create a config file for each environment.





D.
  

Create a config file for each environment.



A docker service 'web' is running with a scale factor of 1 (replicas = 1).
Bob intends to use the command 'docker service update -replicas=3 web'.
Alice intends to use the command 'docker service scale web=3'.
How do the outcomes oft these two commands differ?


A.

Bob's command results in an error. Alice's command updates the number of replicas of the 'web' service
to 3.


B.

Bob's command only updates the service definition, but no new replicas are started. Alice's command
results in the actual scaling up of the 'web' service.


C.

Bob's command updates the number of replicas of the 'web' service to 3. Alice's command results in an error.


D.

Both Bob's and Alice's commands result in exactly the same outcome, which is 3 instances of the 'web'
service.





D.
  

Both Bob's and Alice's commands result in exactly the same outcome, which is 3 instances of the 'web'
service.




Page 7 out of 34 Pages
Previous