Kubernetes and Cloud Native Associate (KCNA) — Question 16
Which Kubernetes resource workload ensures that all (or some) nodes run a copy of a Pod?
Answer options
- A. ReplicaSet
- B. StatefulSet
- C. DaemonSet
- D. Deployment
Correct answer: C
Explanation
The correct answer is C, DaemonSet, as it is specifically designed to ensure that a copy of a Pod runs on all or some nodes in the cluster. ReplicaSet and Deployment are used for managing replicated Pods, while StatefulSet is for managing stateful applications, none of which ensure that Pods run on every node.