Deployments — Certified Kubernetes Administrator (CKA) Practice Questions
A Deployment is the standard Kubernetes workload resource for managing stateless applications, providing declarative updates, rolling upgrade strategies, and automatic rollback capabilities through a ReplicaSet hierarchy. When a Deployment is updated, it creates a new ReplicaSet and gradually shifts replicas from the old set to the new one according to the configured maxUnavailable and maxSurge parameters. CKA candidates are tested on creating and updating Deployments, performing and rolling back rollouts, scaling replica counts, and understanding how the Deployment controller interacts with ReplicaSets under the covers.
Free questions on deployments
How many replicas does a Deployment create by default?
Free question · easy · full answer + explanation
How would you scale a Deployment from 3 to 5 replicas using kubectl?
Free question · easy · full answer + explanation
You need to restart all pods in a namespace without deleting the Deployment. What is the best approach?
Free question · medium · full answer + explanation
More deployments questions in the full bank
- What is a StatefulSet and how does storage differ from Deployments? Unlock answer & explanation →
- What is the difference between a Service and a Deployment? Unlock answer & explanation →
- How do you scale a deployment to zero replicas? Unlock answer & explanation →