Kubernetes and Cloud Native Associate (KCNA) — Question 164

Which of the following resources helps in managing a stateless application workload on a Kubernetes cluster?

Answer options

Correct answer: D

Explanation

The correct answer is D, Deployment, as it is specifically designed to manage stateless applications by ensuring that the desired number of replica Pods are running at all times. A DaemonSet ensures that all (or some) nodes run a copy of a Pod, a StatefulSet is used for managing stateful applications, and kubectl is a command-line tool for interacting with the Kubernetes API, not a resource for managing workloads.