Kubernetes and Cloud Native Associate (KCNA) — Question 99

What is the difference between a Deployment and a ReplicaSet?

Answer options

Correct answer: D

Explanation

The correct answer is D because a Deployment indeed manages ReplicaSets, providing higher-level functionalities such as rolling updates and rollbacks. Option A is incorrect since a Deployment allows control over pod replicas, while B is false as a ReplicaSet does ensure a stable set of pods. Option C is misleading; while a Deployment may use annotations, it is not merely a ReplicaSet with annotations.