Kubernetes and Cloud Native Associate (KCNA) — Question 2

How are ReplicaSets and Deployments related?

Answer options

Correct answer: A

Explanation

The correct answer is A because Deployments are specifically designed to manage ReplicaSets, allowing for easy updates and management of Pods. Option B is incorrect as both ReplicaSets and Deployments can handle both stateful and stateless applications. Option C is wrong because Deployments are not runtime instances of ReplicaSets; they create and manage them. Option D is also incorrect as ReplicaSets are not subsets of Jobs and CronJobs; they are entirely different resources.