Cloud & DevOps · Question 25 · Medium

A Kubernetes Deployment is configured with replicas: 3. One of its Pods crashes and is deleted. What does Kubernetes do?

  1. The ReplicaSet controller creates a new Pod so that 3 replicas are running again
  2. Nothing; the Deployment continues with 2 Pods until an administrator intervenes
  3. It deletes the whole Deployment
  4. It restarts every node in the cluster
Answer and explanation

Answer: A. The ReplicaSet controller creates a new Pod so that 3 replicas are running again

Explanation: Kubernetes continuously reconciles actual state with desired state. The Deployment's ReplicaSet notices only 2 Pods and starts a replacement.

Previous: What is blue-green deployment? · Next: A service promises 99.9% availability per 30-day month. What is the maximum…

Practise cloud & devops

Try a fresh set of cloud & devops questions with an explanation after every answer, free and without signing up: Cloud & DevOps practice. Or sit a full placement mock test.

More cloud & devops questions

More technical & programming practice

GenAI Basics · Pseudo-code · C Programming · Java · Python · Data Structures · Algorithms · Object-Oriented Programming

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge