KCNA Exam QuestionsBrowse all questions from this exam

KCNA Exam - Question 47


How are ReplicaSets and Deployments related?

Show Answer
Correct Answer: A

Deployments manage ReplicaSets and provide declarative updates to Pods. The primary purpose of a Deployment is to ensure that the specified number of pods are running and up to date. They handle the creation and scaling of ReplicaSets, as well as rollouts and rollbacks of application versions. ReplicaSets, on the other hand, are responsible for maintaining the desired number of replicas of a pod, ensuring consistent availability and fault tolerance. Therefore, Deployments use ReplicaSets to achieve these objectives.

Discussion

5 comments
Sign in to comment
mazabelOption: B
Aug 11, 2023

The correct is B

nvtienanhOption: A
Oct 3, 2023

A is correct

LoloMacetoOption: A
Dec 5, 2023

A is correct

AzureDP900Option: A
Dec 8, 2023

A is correct

SeaH0rse66Option: A
May 17, 2024

Deployments are higher-level abstractions in Kubernetes that manage ReplicaSets.ReplicaSets, on the other hand, are lower-level controllers responsible for maintaining a specified number of identical Pods to ensure high availability and fault tolerance. ReplicaSets are used by Deployments to manage the lifecycle of Pods, including scaling, rolling updates, and maintaining a desired number of replicas.