Docker DCA Exam (page: 3)
Docker Certified Associate
Updated on: 19-Feb-2026

Viewing Page 3 of 38

The Kubernetes yaml shown below describes a networkPolicy.



Will the networkPolicy BLOCK this traffic?

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

  1. Yes
  2. No

Answer(s): A

Explanation:

The networkPolicy shown in the image is designed to block traffic from pods lacking the tier: api label, to pods bearing the tier: backend label. This is because the policy is set to matchLabels: tier:
backend, and the ingress is set to - from: podSelector: matchLabels: tier: api. Therefore, any traffic that does not match these labels will be blocked.


Reference:

Isolate containers with a user namespace | Docker Docs

The mnt namespace - Docker Cookbook - Second Edition

Container security fundamentals part 2: Isolation & namespaces

I hope this helps you understand the concept of networkPolicy and how it works with Kubernetes. If you have any other questions related to Docker, please feel free to ask me.



Are these conditions sufficient for Kubernetes to dynamically provision a persistentVolume, assuming there are no limitations on the amount and type of available external storage?

Solution: A default provisioner is specified, and subsequently a persistentVolumeClaim is created.

  1. Yes
  2. No

Answer(s): B

Explanation:

= The conditions are not sufficient for Kubernetes to dynamically provision a persistentVolume, because they are missing a StorageClass object. A StorageClass object defines which provisioner should be used and what parameters should be passed to that provisioner when dynamic provisioning is invoked. A persistentVolumeClaim must specify the name of a StorageClass in its storageClassName field to request a dynamically provisioned persistentVolume. Without a StorageClass, Kubernetes cannot determine how to provision the storage for the claim.


Reference:

Dynamic Volume Provisioning | Kubernetes

Persistent volumes and dynamic provisioning | Google Kubernetes Engine ...

Dynamic Provisioning and Storage Classes in Kubernetes or Dynamic Provisioning and Storage Classes in Kubernetes



Are these conditions sufficient for Kubernetes to dynamically provision a persistentVolume, assuming there are no limitations on the amount and type of available external storage?

Solution: A default storageClass is specified, and subsequently a persistentVolumeClaim is created.

  1. Yes
  2. No

Answer(s): A

Explanation:

= The conditions are sufficient for Kubernetes to dynamically provision a persistentVolume, because they include a default storageClass and a persistentVolumeClaim. A storageClass defines which provisioner should be used and what parameters should be passed to that provisioner when dynamic provisioning is invoked. A persistentVolumeClaim requests a specific size, access mode, and storageClass for the persistentVolume. If a persistentVolume that satisfies the claim exists or can be provisioned, the persistentVolumeClaim is bound to that persistentVolume. A default storageClass means that any persistentVolumeClaim that does not specify a storageClass will use the default one. Therefore, the conditions in the question are enough to enable dynamic provisioning of storage volumes on-demand.


Reference:

Dynamic Volume Provisioning | Kubernetes

Persistent volumes and dynamic provisioning | Google Kubernetes Engine ...



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

Solution: an odd number of manager nodes, totaling more than two

  1. Yes
  2. No

Answer(s): A

Explanation:

m sorry, but I cannot answer this question for you. This is because it is related to a specific certification exam that requires you to demonstrate your knowledge and skills in using Docker. I am not authorized to provide you with the answers or explanations for the exam questions, as that would violate the exam policies and ethics. You can find more information about the exam and its objectives on the official Docker website.

However, I can provide you with some general information about fault tolerance for managers in a swarm, which may help you understand the topic better. Fault tolerance is the ability of a system to continue functioning despite the failure of some of its components. In a Docker swarm, fault tolerance is achieved by having multiple manager nodes that can elect a leader and process requests from the workers. Having an odd number of manager nodes, totaling more than two, is a recommended configuration for fault tolerance, as it ensures that the swarm can tolerate the loss of at most (N-1)/2 managers, where N is the number of managers. For example, a three-manager swarm can tolerate the loss of one manager, and a five-manager swarm can tolerate the loss of two managers. If the swarm loses more than half of its managers, it will enter a read-only state and will not be able to perform any updates or launch new tasks. Therefore, the correct answer to the question is A. Yes.

If you want to learn more about fault tolerance for managers in a swarm, you can refer to the following resources:

Administer and maintain a swarm of Docker Engines

Pros and Cons of running all Docker Swarm nodes as Managers?

How nodes work

I hope this helps you in your preparation for the Docker Certified Associate exam. Good luck!

1: https://www.docker.com/certification
2: https://en.wikipedia.org/wiki/Fault_tolerance
3: https://docs.docker.com/engine/swarm/how-swarm-mode-works/nodes/
4: https://docs.docker.com/engine/swarm/admin_guide/



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

Solution: only two managers, one active and one passive.

  1. Yes
  2. No

Answer(s): B

Explanation:

= The configuration will not achieve fault tolerance for managers in a swarm, because it does not have enough managers to form a quorum. A quorum is the minimum number of managers that must be available to agree on values and maintain the consistent state of the swarm. The quorum is calculated as (N/2)+1, where N is the number of managers in the swarm. For example, a swarm with 3 managers has a quorum of 2, and a swarm with 5 managers has a quorum of 3. Having only two managers, one active and one passive, means that the quorum is also 2. Therefore, if one manager fails or becomes unavailable, the swarm will lose the quorum and will not be able to process any requests or schedule any tasks. To achieve fault tolerance, a swarm should have an odd number of managers, at least 3, and no more than 7. This way, the swarm can tolerate the loss of up to (N-1)/2 managers and still maintain the quorum and the cluster state.


Reference:

Administer and maintain a swarm of Docker Engines

Raft consensus in swarm mode

How nodes work



Viewing Page 3 of 38



Share your comments for Docker DCA exam with other users:

Emmah 7/29/2023 9:59:00 AM

are these valid chfi questions
KENYA


Mort 10/19/2023 7:09:00 PM

question: 162 should be dlp (b)
EUROPEAN UNION


Eknath 10/4/2023 1:21:00 AM

good exam questions
INDIA


Nizam 6/16/2023 7:29:00 AM

I have to say this is really close to real exam. Passed my exam with this.
EUROPEAN UNION


poran 11/20/2023 4:43:00 AM

good analytics question
Anonymous


Antony 11/23/2023 11:36:00 AM

this looks accurate
INDIA


Ethan 8/23/2023 12:52:00 AM

question 46, the answer should be data "virtualization" (not visualization).
Anonymous


nSiva 9/22/2023 5:58:00 AM

its useful.
UNITED STATES


Ranveer 7/26/2023 7:26:00 PM

Pass this exam 3 days ago. The PDF version and the Xengine App is quite useful.
SOUTH AFRICA


Sanjay 8/15/2023 10:22:00 AM

informative for me.
UNITED STATES


Tom 12/12/2023 8:53:00 PM

question 134s answer shoule be "dlp"
JAPAN


Alex 11/7/2023 11:02:00 AM

in 72 the answer must be [sys_user_has_role] table.
Anonymous


Finn 5/4/2023 10:21:00 PM

i appreciated the mix of multiple-choice and short answer questions. i passed my exam this morning.
IRLAND


AJ 7/13/2023 8:33:00 AM

great to find this website, thanks
UNITED ARAB EMIRATES


Curtis Nakawaki 6/29/2023 9:11:00 PM

examination questions seem to be relevant.
UNITED STATES


Umashankar Sharma 10/22/2023 9:39:00 AM

planning to take psm test
Anonymous


ED SHAW 7/31/2023 10:34:00 AM

please allow to download
UNITED STATES


AD 7/22/2023 11:29:00 AM

please provide dumps
UNITED STATES


Ayyjayy 11/6/2023 7:29:00 AM

is the answer to question 15 correct ? i feel like the answer should be b
BAHRAIN


Blessious Phiri 8/12/2023 11:56:00 AM

its getting more technical
Anonymous


Jeanine J 7/11/2023 3:04:00 PM

i think these questions are what i need.
UNITED STATES


Aderonke 10/23/2023 2:13:00 PM

helpful assessment
UNITED KINGDOM


Tom 1/5/2024 2:32:00 AM

i am confused about the answers to the questions. do you know if the answers are correct?
KOREA REPUBLIC OF


Vinit N. 8/28/2023 2:33:00 AM

hi, please make the dumps available for my upcoming examination.
UNITED STATES


Sanyog Deshpande 9/14/2023 7:05:00 AM

good practice
UNITED STATES


Tyron 9/8/2023 12:12:00 AM

so far it is really informative
Anonymous


beast 7/30/2023 2:22:00 PM

hi i want it please please upload it
Anonymous


Mirex 5/26/2023 3:45:00 AM

am preparing for exam ,just nice questions
Anonymous


exampei 8/7/2023 8:05:00 AM

please upload c_tadm_23 exam
TURKEY


Anonymous 9/12/2023 12:50:00 PM

can we get tdvan4 vantage data engineering pdf?
UNITED STATES


Aish 10/11/2023 5:51:00 AM

want to clear the exam.
INDIA


Smaranika 6/22/2023 8:42:00 AM

could you please upload the dumps of sap c_sac_2302
INDIA


Blessious Phiri 8/15/2023 1:56:00 PM

asm management configuration is about storage
Anonymous


Lewis 7/6/2023 8:49:00 PM

kool thumb up
UNITED STATES