KCNA · Question #4
Which Kubernetes resource workload ensures that all (or some) nodes run a copy of a Pod?
The correct answer is C. DaemonSet. A DaemonSet ensures that a copy of a Pod runs on all or a subset of nodes in a Kubernetes cluster, suitable for cluster-level services.
Question
Which Kubernetes resource workload ensures that all (or some) nodes run a copy of a Pod?
Options
- AReplicaSet
- BStatefulSet
- CDaemonSet
- DDeployment
How the community answered
(60 responses)- A2% (1)
- B7% (4)
- C87% (52)
- D5% (3)
Why each option
A DaemonSet ensures that a copy of a Pod runs on all or a subset of nodes in a Kubernetes cluster, suitable for cluster-level services.
A ReplicaSet ensures a specified number of Pod replicas are running *anywhere* in the cluster, not necessarily one per node.
A StatefulSet is used for stateful applications and provides stable, unique network identifiers and stable persistent storage, but does not guarantee one Pod per node across *all* nodes.
A DaemonSet ensures that all (or some) nodes run a copy of a Pod, which is ideal for deploying cluster-level services like logging agents, monitoring agents, or storage daemons that need to be present on every eligible node.
A Deployment manages ReplicaSets and provides declarative updates for Pods and ReplicaSets, focusing on application updates and scaling, not node-specific Pod placement across all nodes.
Concept tested: DaemonSet functionality
Source: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
Topics
Community Discussion
No community discussion yet for this question.