Kubernetes and Cloud Native Associate (KCNA) — Question 138

What is the main purpose of a DaemonSet?

Answer options

Correct answer: A

Explanation

The correct answer, A, accurately describes the function of a DaemonSet, which is to guarantee that a specified Pod runs on all or specific nodes in a cluster. Option B is incorrect because it refers to the kubelet's operation, while C misrepresents the role of a DaemonSet as it pertains to replicas, and D, although somewhat related, does not capture the nuanced control over Pods that a DaemonSet provides.