ExamGecko
Home / Docker / DCA / List of questions
Ask Question

Docker DCA Practice Test - Questions Answers, Page 13

Add to Whishlist

List of questions

Question 121

Report Export Collapse

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'

Become a Premium Member for full access
  Unlock Premium Member

Question 122

Report Export Collapse

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 constraints

Become a Premium Member for full access
  Unlock Premium Member

Question 123

Report Export Collapse

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. environment variables

Become a Premium Member for full access
  Unlock Premium Member

Question 124

Report Export Collapse

Will a DTR security scan detect this?

Solution. private keys copied to the image

Become a Premium Member for full access
  Unlock Premium Member

Question 125

Report Export Collapse

Will a DTR security scan detect this?

Solution. image configuration poor practices, such as exposed ports or inclusion of compilers in production images

Become a Premium Member for full access
  Unlock Premium Member

Question 126

Report Export Collapse

You configure a local Docker engine to enforce content trust by setting the environment variable DOCKER_C0NTENT_TRUST=l. If myorg/myimage: 1.0 is unsigned, does Docker block this command?

Solution. docker image build, from a Dockeflle that begins FROM myorg/myimage: l1.0

Become a Premium Member for full access
  Unlock Premium Member

Question 127

Report Export Collapse

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

Solution. 'docker container inspect', docker port'

Become a Premium Member for full access
  Unlock Premium Member

Question 128

Report Export Collapse

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

Solution. 'docker port inspect', docker container inspect'

Become a Premium Member for full access
  Unlock Premium Member

Question 129

Report Export Collapse

You want to create a container that is reachable from its host's network.

Does this action accomplish this?

Solution. Use either EXPOSE or -publish to access the container on the bridge network.

Become a Premium Member for full access
  Unlock Premium Member

Question 130

Report Export Collapse

Your organization has a centralized logging solution, such as Sptunk.

Will this configure a Docker container to export container logs to the logging solution?

Solution. docker system events- -filter splunk

Become a Premium Member for full access
  Unlock Premium Member
Total 183 questions
Go to page: of 19
Search

Related questions