Exam KCNA All QuestionsBrowse all questions from this exam
Question 47

How are ReplicaSets and Deployments related?

    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
SeaH0rse66Option: A

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.

AzureDP900Option: A

A is correct

LoloMacetoOption: A

A is correct

nvtienanhOption: A

A is correct

mazabelOption: B

The correct is B