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?
- The ReplicaSet controller creates a new Pod so that 3 replicas are running again
- Nothing; the Deployment continues with 2 Pods until an administrator intervenes
- It deletes the whole Deployment
- 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
- What does this shell pipeline print? Ignore any leading spaces.
- A container is started with docker run -p 8080:80 nginx. What does the -p…
- What is blue-green deployment?
- A service promises 99.9% availability per 30-day month. What is the maximum…
- A request must pass through a web server and then a database server, and both…
- When does a cron job with the schedule 30 2 * * 1 run?
- What does this shell pipeline print?
- What does this shell command print?
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