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

After creating a new service named 'http', you notice that the new service is not registering as healthy. How do
you view the list of historical tasks for that service by using the command line?


A.

'docker inspect http'


B.

'docker service inspect http'


C.

'docker service ps http'


D.

'docker ps http'





B.
  

'docker service inspect http'



When using the Docker client to push an image to a registry, what environment variable is used to instruct the client to perform signing of the image?


A.

DOCKER_CONTENT_TRUST=1


B.

DOCKER_IMAGE_SIGN=1


C.

DOCKER_PUSH_SIGN=1


D.

NOTARY_ENABLE=1





A.
  

DOCKER_CONTENT_TRUST=1



Which of the following commands starts a Redis container and configures it to always restart unless it is
explicitly stopped or Docker is restarted?


A.

'docker run -d --restart-policy unless-stopped redis'


B.

'docker run -d --restart omit-stopped redis'


C.

'docker run -d --restart unless-stopped redis'


D.

'docker run -d --failure omit-stopped redis'





A.
  

'docker run -d --restart-policy unless-stopped redis'



Which of the following is supported by control groups?


A.

Manage certificates


B.

Collect net


C.

Limit CPU usage within a container


D.

Isolate processes in a container





C.
  

Limit CPU usage within a container



What is the difference between the ADD and COPY dockerfile instructions? (choosen 2)


A.

ADD supports compression format handling while COPY does not.


B.

COPY supports regular expression handling while ADD does not.


C.

COPY supports compression format handling while ADD does not.


D.

ADD support remote URL handling while COPY does not.


E.

ADD supports regular expression handling while COPY does not.





D.
  

ADD support remote URL handling while COPY does not.




Page 10 out of 34 Pages
Previous