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

Docker DCA Practice Test - Questions Answers, Page 18

Add to Whishlist

List of questions

Question 171

Report Export Collapse

The following Docker Compose file is deployed as a stack:

Docker DCA image Question 171 125657 11082024190026000000

Is this statement correct about this health check definition?

Solution: Health checks test for app health five seconds apart. If the test fails, the container will be restarted three times before it gets rescheduled.

Become a Premium Member for full access
  Unlock Premium Member

Question 172

Report Export Collapse

An application image runs in multiple environments, with each environment using different certificates and ports. Is this a way to provision configuration to containers at runtime?

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

Become a Premium Member for full access
  Unlock Premium Member

Question 173

Report Export Collapse

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

Solution: 'docker network inspect', 'docker port'

Become a Premium Member for full access
  Unlock Premium Member

Question 174

Report Export Collapse

In Docker Trusted Registry, is this how a user can prevent an image, such as 'nginx:latest', from being overwritten by another user with push access to the repository?

Solution: Remove push access from all other users.

Become a Premium Member for full access
  Unlock Premium Member

Question 175

Report Export Collapse

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

Does this action accomplish this?

Solution: Use network attach to access the container on the bridge network.

Become a Premium Member for full access
  Unlock Premium Member

Question 176

Report Export Collapse

Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory?

Solution: cgroups

Become a Premium Member for full access
  Unlock Premium Member

Question 177

Report Export Collapse

Will this configuration achieve fault tolerance for managers in a swarm?

Solution: one manager node for two worker nodes

Become a Premium Member for full access
  Unlock Premium Member

Question 178

Report Export Collapse

The Kubernetes yaml shown below describes a networkPolicy.

Docker DCA image Question 178 125664 11082024190026000000

Will the networkPolicy BLOCK this trafftc?

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

Become a Premium Member for full access
  Unlock Premium Member

Question 179

Report Export Collapse

The Kubernetes yaml shown below describes a networkPolicy.

Docker DCA image Question 179 125665 11082024190026000000

Will the networkPolicy BLOCK this trafftc?

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

Become a Premium Member for full access
  Unlock Premium Member

Question 180

Report Export Collapse

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

Does this action accomplish this?

Solution. Use network connect to access the container on the bridge network.

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

Related questions