Question 4 of 10Pro Only

Explain how Deployments work in Kubernetes. How do they manage rolling updates, and what happens during a rollback?

Sample answer preview

A Deployment is a higher-level abstraction that manages ReplicaSets and provides declarative updates for pods. It is the recommended way to deploy stateless applications on Kubernetes. When you create a Deployment, it automatically creates a ReplicaSet.

DeploymentReplicaSetrolling updatemaxUnavailablemaxSurgerollback

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more DevOps Engineer interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime