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

Docker DCA Practice Test - Questions Answers, Page 5

Add to Whishlist

List of questions

Question 41

Report Export Collapse

Two development teams in your organization use Kubernetes and want to deploy their applications while ensuring that Kubernetes-specific resources, such as secrets, are grouped together for each application.

Is this a way to accomplish this?

Solution: Create one namespace for each application and add all the resources to it.

Become a Premium Member for full access
  Unlock Premium Member

Question 42

Report Export Collapse

Seven managers are in a swarm cluster.

Is this how should they be distributed across three datacenters or availability zones?

Solution: 3-3-1

Become a Premium Member for full access
  Unlock Premium Member

Question 43

Report Export Collapse

Seven managers are in a swarm cluster.

Is this how should they be distributed across three datacenters or availability zones?

Solution: 5-1-1

Become a Premium Member for full access
  Unlock Premium Member

Question 44

Report Export Collapse

Seven managers are in a swarm cluster.

Is this how should they be distributed across three datacenters or availability zones?

Solution: 3-2-2

Become a Premium Member for full access
  Unlock Premium Member

Question 45

Report Export Collapse

Does this command create a swarm service that only listens on port 53 using the UDP protocol?

Solution: 'docker service create --name dns-cache -p 53:53/udp dns-cache'

Become a Premium Member for full access
  Unlock Premium Member

Question 46

Report Export Collapse

Does this command create a swarm service that only listens on port 53 using the UDP protocol?

Solution: 'docker service create -name dns-cache -p 53:53 -service udp dns-cache'

Become a Premium Member for full access
  Unlock Premium Member

Question 47

Report Export Collapse

You want to provide a configuration file to a container at runtime. Does this set of Kubernetes tools and steps accomplish this?

Solution: Turn the configuration file into a configMap object and mount it directly into the appropriate pod and container using the .spec.containers.configMounts key.

Become a Premium Member for full access
  Unlock Premium Member

Question 48

Report Export Collapse

You want to provide a configuration file to a container at runtime. Does this set of Kubernetes tools and steps accomplish this?

Solution: Mount the configuration file directly into the appropriate pod and container using the .spec.containers.configMounts key.

Become a Premium Member for full access
  Unlock Premium Member

Question 49

Report Export Collapse

You want to provide a configuration file to a container at runtime. Does this set of Kubernetes tools and steps accomplish this?

Solution: Turn the configuration file into a configMap object, use it to populate a volume associated with the pod, and mount that file from the volume to the appropriate container and path.

Become a Premium Member for full access
  Unlock Premium Member

Question 50

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: Use the DTR web Ul to make all tags in the repository immutable.

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

Related questions