Exam KCNA All QuestionsBrowse all questions from this exam
Question 23

Which Kubernetes resource workload ensures that all (or some) nodes run a copy of a Pod?

    Correct Answer: C

    DaemonSet ensures that all (or some) nodes run a copy of a Pod. It is typically used to run system daemons or cluster services that need to be present on every node. Each node in the cluster will have exactly one instance of the Pod managed by the DaemonSet.

Discussion
phcunhaOption: C

C. DaemonSet Explanation: A DaemonSet ensures that all (or some) nodes run a copy of a Pod. It's typically used for system daemons or cluster services that must run on every node. Each node in the cluster will have exactly one instance of the Pod managed by the DaemonSet. An analogy for a DaemonSet could be streetlights in a city. Just as streetlights are deployed at specific intervals along every street in a city to ensure adequate lighting, DaemonSets ensure that specific Pods are deployed on every node in a Kubernetes cluster to provide essential services or functionalities uniformly across the cluster.

phcunha

An analogy for this functionality could be a thermostat in a room. The desired temperature set on the thermostat represents the configuration defined in Git, while the actual temperature in the room represents the production state. If the actual temperature deviates from the desired temperature, the thermostat (GitOps tool) will automatically adjust the heating or cooling systems to bring the room temperature back to the desired level. Similarly, GitOps tools ensure that the production state of the cluster matches the desired state defined in Git.

nvtienanhOption: C

C is correct