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

Docker DCA Practice Test - Questions Answers, Page 14

Add to Whishlist

List of questions

Question 131

Report Export Collapse

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

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

Solution. docker logs <eontainer-id>

Become a Premium Member for full access
  Unlock Premium Member

Question 132

Report Export Collapse

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

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

Solution. Set the log-driver-and log-opt keys to values for the logging solution (Splunk) in the daemon.json file.

Become a Premium Member for full access
  Unlock Premium Member

Question 133

Report Export Collapse

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

Solution. 'docker inspect nodes

Become a Premium Member for full access
  Unlock Premium Member

Question 134

Report Export Collapse

The Kubernetes yaml shown below describes a networkPolicy.

Docker DCA image Question 134 125620 11082024190026000000

Will the networkPolicy BLOCK this trafftc?

Solution. a request issued from a pod bearing the tier: backend label, to a pod bearing the tier: frontend label

Become a Premium Member for full access
  Unlock Premium Member

Question 135

Report Export Collapse

Is this a Linux kernel namespace that is disabled by default and must be enabled at Docker engine runtime to be used?

Solution. pid

Become a Premium Member for full access
  Unlock Premium Member

Question 136

Report Export Collapse

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

Solution. 'docker run -v /data:/mydata -mode readonly ubuntu'

Become a Premium Member for full access
  Unlock Premium Member

Question 137

Report Export Collapse

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'

Become a Premium Member for full access
  Unlock Premium Member

Question 138

Report Export Collapse

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

Solution. 'docker inspect nodes

Become a Premium Member for full access
  Unlock Premium Member

Question 139

Report Export Collapse

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

Solution. 'docker swarm nodes'

Become a Premium Member for full access
  Unlock Premium Member

Question 140

Report Export Collapse

Is this a type of Linux kernel namespace that provides container isolation?

Solution. Process ID

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

Related questions