CKAD · domain
Application Deployment
Practise Certified Kubernetes Application Developer CKAD Application Deployment practice questions — original exam-style scenarios with answer choices, explanations, and analysis of common mistakes.
Focused practice
Practice Application Deployment questions
Scored sessions drawing only from this domain — pick a length below.
Start 20-question practice test →What this domain covers
What to know about Application Deployment
Application Deployment questions test whether you can apply the concept in context, not just recognise a definition.
How the topic appears in realistic exam-style scenarios.
Which detail in the question changes the correct answer.
How to eliminate plausible but wrong options.
How to connect the question back to the wider exam objective.
Watch out for
Common Application Deployment exam traps
- ▸Answering from memory before reading the full scenario.
- ▸Missing a constraint such as cost, availability, security, scope or command context.
- ▸Choosing a broad answer when the question asks for the most specific fix.
- ▸Ignoring why the wrong options are tempting.
Question index
All Application Deployment questions (176)
Click any question to see the full explanation, or start a practice session above.
Which TWO commands can be used to create resources in Kubernetes? (Select TWO.)
Medium2You have a Deployment with 'replicas: 3' and the HPA is configured with 'targetCPUUtilizationPercentage: 80'. The current CPU usage is at 60% across all pods, but the HPA has scaled up to 5 replicas. What is the most likely reason?
Medium3Which TWO of the following are valid fields in a Kustomize kustomization.yaml file? (Select two)
Easy4Which command scales a Deployment named 'web' to 5 replicas?
Easy5Which field in a HorizontalPodAutoscaler spec defines the target CPU utilization percentage?
Medium6You are performing a rolling update of a Deployment. You set maxSurge=2 and maxUnavailable=1. The Deployment has 5 replicas. During the update, how many pods can be running simultaneously?
Medium7You have a Deployment with the following strategy: type: Recreate. What happens when you update the pod template?
Easy8You are using Kustomize with a base and an overlay. The base sets a Deployment's replicas to 3. The overlay sets replicas to 5 using a patch. What is the final replica count after running 'kubectl apply -k overlay/'?
Hard9Which Helm command installs a chart from a repository?
Easy10You have installed a Helm chart for 'wordpress' using 'helm install my-wordpress bitnami/wordpress'. Later, you want to check the status of the release. Which command lists the status of all releases?
Medium11Which kubectl command can you use to pause a rolling update of a Deployment?
Medium12A developer wants to perform a canary deployment where 10% of traffic goes to a new version (v2) of an application. They create two Deployments (app-v1 and app-v2) and a Service. The Service selector is configured to match labels: 'app: myapp, version: v1'. How can they route 10% of traffic to v2 with minimal changes?
Hard13A company wants to deploy a stateful database on Kubernetes. The database requires stable network identities and persistent storage per pod. Which resource should be used?
Medium14You have a Deployment with replicas: 5 and update strategy type: RollingUpdate with maxSurge: 25% and maxUnavailable: 25%. During a rolling update, what is the maximum number of pods that can be unavailable at any given time?
Medium15Which of the following is a correct Kustomize kustomization.yaml configuration for setting an image tag to 'v2'?
Hard16Which TWO of the following are correct methods to implement a canary deployment using Kubernetes resources?
Hard17Which TWO of the following conditions must be met for a RollingUpdate to proceed?
Hard18A team is deploying a multi-container pod with a main application container and a sidecar container for logging. Which THREE statements about pod design are correct?
Medium19Which command is used to rollback a Deployment to the previous revision?
Easy20A developer is creating a Deployment with 4 replicas. The application requires a rolling update with zero downtime. Which TWO strategies ensure zero downtime during an update?
Easy21A Deployment is configured with strategy type 'Recreate'. What happens during an update to the pod template?
Medium22You need to perform a rolling update of a Deployment named 'web-app' with a new image version. Which command should you use?
Easy23You have a Helm release named 'my-app' that you want to revert to revision 3. Which command accomplishes this?
Medium24You are using Kustomize with the following structure: a base with a Deployment YAML, and an overlay that patches the image tag. The overlay's kustomization.yaml contains: 'patches: - target: kind: Deployment, name: myapp, patch: |- ...'. After running 'kubectl apply -k ./overlay', the Deployment is created but the image tag is not updated. What is the most likely cause?
Hard25During a rolling update of a Deployment with 10 replicas, you set maxSurge to 3 and maxUnavailable to 2. What is the maximum number of pods that can be unavailable during the update?
Medium26A HorizontalPodAutoscaler (HPA) is configured to scale a Deployment based on CPU utilization. The target CPU utilization percentage is set to 80%. The current CPU utilization is 90%. What will the HPA do?
Medium27Arrange the steps to create a PersistentVolumeClaim and use it in a Pod.
Medium28You want to perform a canary deployment of a new version of your application. You create a Deployment named 'app-canary' with 1 replica and label 'version: canary'. The existing stable Deployment 'app-stable' has 3 replicas and label 'version: stable'. Both Deployments have the selector 'app: myapp'. You have a Service 'app-service' with selector 'app: myapp, track: stable'. How can you route traffic to the canary?
Hard29When using 'kubectl apply' vs 'kubectl create', which statement is correct?
Medium30Which kubectl command is used to view the rollout history of a Deployment?
Easy31You have a Deployment named 'web-app' with 5 replicas. You want to perform a rolling update with a maximum of 2 extra pods during the update and allow at most 1 pod to be unavailable. Which YAML snippet correctly configures the rolling update strategy?
Medium32You have a Deployment named 'web-app' with 5 replicas. You run 'kubectl set image deployment/web-app app=nginx:1.21'. What is the effect of this command?
Medium33What is the purpose of the 'kubectl rollout status' command?
Easy34Which of the following are valid kubectl commands for managing rollouts? (Select all that apply)
Hard35Which TWO options are valid annotations for a Pod?
Medium36Which TWO kubectl commands can be used to view the rollout history of a Deployment named 'web-app'?
Easy37You want to update a Deployment's image from nginx:1.20 to nginx:1.21. Which command will perform a rolling update?
Medium38A Deployment has been updated with a new image. After running 'kubectl rollout status deployment/myapp', you see that the rollout has stalled. You want to undo the rollout to the previous revision. What command do you run?
Medium39You are performing a blue-green deployment. You have two Deployments: 'app-blue' and 'app-green', each with 5 replicas. Both are labeled with 'app: myapp'. The Service 'myapp-svc' selects pods with 'app: myapp' and 'version: blue'. After deploying the new version to 'app-green' and verifying it, what change is required to switch traffic to the green deployment?
Medium40Your Deployment is stuck during rollout, and you want to investigate. Which command pauses the rollout and allows you to check the current state?
Hard41You have a YAML file 'deploy.yaml' that defines a Deployment. Which command creates the Deployment if it does not exist, or updates it if it already exists?
Easy42You want to scale a Deployment named 'frontend' to 5 replicas. Which command should you use?
Easy43A Deployment is configured with strategy type 'Recreate'. Which statement about this strategy is true?
Medium44Which kubectl command is used to view the rollout status of a Deployment named 'web-app'?
Easy45Which of the following are valid methods to perform a blue-green deployment? (Choose TWO)
Medium46A Deployment has 3 replicas. You run 'kubectl scale deployment mydeploy --replicas=5'. What happens?
Easy47You have a Helm chart that deploys a web application. You want to conditionally include a ConfigMap in the release based on a value 'config.enabled'. Which template syntax correctly implements this?
Hard48Which TWO statements about Kustomize are true?
Medium49Which kubectl command can be used to see the rollout status of a Deployment named 'web-app'?
Easy50Which TWO statements about kubectl apply vs kubectl create are correct? (Select two)
Medium51Which of the following is the correct way to scale a Deployment named 'api' to 5 replicas using kubectl?
Easy52A Deployment named 'web-app' has 4 replicas. You need to perform a rolling update with a maxSurge of 50% and maxUnavailable of 25%. Which YAML snippet configures this correctly?
Medium53You are implementing a blue-green deployment using Kubernetes Deployments and Services. The 'blue' Deployment runs version 1.0, and the 'green' Deployment runs version 2.0. What is the key mechanism to switch traffic from blue to green?
Medium54Which TWO of the following are valid uses of Kubernetes Annotations? (Select two.)
Easy55Which command lists all Helm releases in the current namespace?
Easy56You want to perform a rolling update of a Deployment. The Deployment has a maxSurge=1 and maxUnavailable=0. How many extra pods can be created above the desired count during the update?
Hard57You want to add an annotation to a pod without modifying the pod template. Which approach should you use?
Medium58You have deployed an application using Helm. You want to see the history of revisions for the release 'frontend' in the 'web' namespace. Which command should you use?
Medium59Which TWO of the following are valid methods to perform a blue-green deployment in Kubernetes?
Medium60You are performing a blue-green deployment. You have two Deployments: 'app-blue' (current) and 'app-green' (new). Both have labels 'app: myapp' and 'version: blue' or 'version: green' respectively. The Service 'myapp-svc' selects pods with 'app: myapp, version: blue'. How do you switch traffic to the green deployment?
Medium61In a Deployment, what is the purpose of the 'maxUnavailable' field in the rolling update strategy?
Easy62You have a Deployment that uses the Recreate strategy. You update the container image. What happens to the existing pods?
Hard63A Helm chart has the following template snippet: '{{ .Values.replicaCount }}'. You want to set replicaCount to 5 during installation. Which command should you use?
Medium64You have a Deployment with the following strategy: rollingUpdate: maxSurge: 25%, maxUnavailable: 25%. The Deployment has 4 replicas. During an update, what is the minimum number of pods guaranteed to be available?
Hard65You have a Deployment with 3 replicas. You run 'kubectl rollout pause deployment/app'. Which command would you use to resume the rollout?
Medium66Which TWO of the following commands are used to inspect the rollout history of a Deployment?
Medium67Which THREE of the following are valid Kustomize features? (Select THREE)
Medium68Which TWO of the following are valid strategies for updating a Deployment?
Easy69Which kubectl command is used to view the rollout status of a Deployment?
Easy70You want to undo a rollout to the previous revision. Which command should you use?
Medium71Which command lists all Helm releases in the current namespace?
Easy72A developer needs to run a one-time batch job to process data. After completion, the pod should be retained for logs inspection. Which Job configuration parameter should be set?
Easy73Match each volume type to its use case.
Medium74You need to rollback a Deployment to the previous revision. Which command achieves this?
Easy75You have a Deployment that is failing after a rollout. You want to revert to the previous revision. Which command accomplishes this?
Hard76What is the effect of running 'kubectl rollout pause deployment web'?
Medium77A Deployment named 'api' has 6 replicas. You want to perform a rolling update with the following constraints: at most 2 pods can be unavailable during the update, and at most 1 extra pod can be created above the desired 6. Which strategy configurations achieve this? (Choose TWO)
Hard78Which TWO of the following are correct ways to pause a rollout of a Deployment named 'myapp'? (Select TWO)
Medium79You want to perform a canary deployment where 10% of traffic goes to the new version. You have a Deployment 'app-v1' with 10 replicas. You create a second Deployment 'app-v2' with 1 replica and a new Service. What Kubernetes resource is typically used to split traffic between the two Services?
Hard80Which FOUR of the following are valid fields in a HorizontalPodAutoscaler (HPA) v2 specification?
Hard81During a deployment update, the rollout is stuck and new pods are not becoming ready. The developer checks the events and sees 'Back-off restarting failed container'. What is the most likely cause?
Hard82You want to perform a canary deployment. You have a Deployment 'app-v1' with 10 replicas. You create a new Deployment 'app-v2' with 1 replica. Both have the label 'app: myapp'. The Service 'myapp-svc' uses selector 'app: myapp'. How do you gradually increase traffic to v2?
Medium83A team is deploying a microservice that must be reachable within the cluster via a stable DNS name. They also need to distribute traffic among pods. Which Kubernetes resource provides both service discovery and load balancing?
Medium84Which TWO of the following are valid ways to scale a Deployment named 'my-app' to 5 replicas?
Easy85Which Helm command is used to install a chart from a repository?
Easy86Which TWO are valid reasons to use a HorizontalPodAutoscaler (HPA) with a custom metric? (Select two)
Easy87What is the purpose of the 'values.yaml' file in a Helm chart?
Medium88Which THREE of the following are valid ways to update a Deployment's container image in Kubernetes?
Hard89A company wants to deploy a stateless web application on Kubernetes. The application needs to be accessible externally via a stable IP address and should support SSL termination at the ingress level. Which resource should be used to route external traffic to the application?
Medium90A team is deploying a microservice that requires a ConfigMap mounted as a volume. The ConfigMap is expected to be updated frequently, and the application should read the latest values without restarting. Which volume type should be used?
Hard91Which THREE of the following are correct statements about Helm?
Medium92Which THREE of the following are valid ways to expose a set of pods as a network service?
Medium93Which TWO of the following are correct about the difference between 'kubectl apply' and 'kubectl create'?
Easy94Which command shows the rollout history of a Deployment named 'web'?
Easy95During a rolling update, you want to ensure that a maximum of 2 extra pods are created above the desired replicas. Which field should you set in the Deployment spec?
Medium96Which kubectl command shows the rollout history of a Deployment named 'app'?
Easy97Which THREE of the following are valid reasons to use a HorizontalPodAutoscaler (HPA) with a Deployment?
Medium98Which TWO statements about kubectl apply vs kubectl create are correct? (Select two)
Hard99When performing a rolling update of a Deployment with 'maxSurge: 1' and 'maxUnavailable: 0', how many additional pods can be created above the desired replicas during the update?
Easy100You want to use Kustomize to apply a patch to a Deployment in the 'overlays/production' directory. Which command should you run from the kustomization directory?
Medium101You have a Helm chart for an application. You want to upgrade the release but only if the upgrade does not introduce breaking changes. Which command should you use?
Medium102You have a HorizontalPodAutoscaler (HPA) that targets CPU utilization at 50%. The current average CPU utilization is 80%. The HPA has a stabilization window of 300 seconds and a scale-down policy with a periodSeconds of 60. CPU utilization drops to 40%. How long will it take for the HPA to begin scaling down?
Hard103During a rolling update of a Deployment, you notice that new pods are failing readiness probes. The rollout is stalled. Which command would you use to abort the rollout and revert to the previous revision?
Hard104You have an HPA that scales a Deployment based on CPU utilization. You want to prevent the Deployment from scaling down for at least 5 minutes. Which HPA behavior field should you configure?
Medium105What is the purpose of the 'maxUnavailable' field in a Deployment's rolling update configuration?
Medium106You have a Deployment 'web-app' with 4 replicas. You want to perform a rolling update such that during the update, at most 2 pods can be unavailable and at most 5 pods can be above the desired replica count. Which TWO of the following strategy configurations achieve this?
Hard107Which kubectl command sets the number of replicas for a deployment named 'nginx' to 5?
Easy108Which THREE of the following are true about using 'kubectl rollout undo'? (Select three)
Hard109A Deployment named 'web' has replicas: 3 and update strategy type: Recreate. You run 'kubectl set image deployment/web web=nginx:1.22'. What immediate effect will this have on the existing pods?
Hard110A pod is running but not responding to requests. The developer suspects the liveness probe is misconfigured. Which command can they use to check the probe configuration of a running pod?
Medium111You are using Helm to manage a chart. Which commands are valid to list installed releases? (Choose TWO)
Medium112A company wants to deploy a stateful database cluster where each pod has its own persistent storage. They need stable network identities and ordered pod creation. Which resource should they use?
Medium113You are using Kustomize to manage Kubernetes configurations. You have a base configuration for 'nginx' and an overlay for 'production' that sets the replica count to 5. Which file structure is correct for Kustomize?
Medium114A developer needs to deploy a container that runs a batch job to process data once and then exit. The job should be restarted only if it fails. Which Kubernetes resource should be used?
Easy115A Deployment has replicas: 3 and uses a ConfigMap. The ConfigMap is updated. The developer wants to update the pods to use the new ConfigMap without recreating the Deployment. What is the correct approach?
Hard116You have a Deployment named 'web-app' with 5 replicas. You run the command: kubectl set image deployment/web-app web-app=nginx:1.25. Which command can you use to monitor the progress of the rollout?
Easy117Which TWO statements are true about Helm releases? (Select two)
Medium118Which TWO commands can be used to update the image of a Deployment? (Select two)
Medium119You have a Deployment that is currently paused. You want to resume the rollout and then check the status of the rollout. Which set of commands should you run?
Hard120What is the difference between 'kubectl apply' and 'kubectl create'?
Easy121You have a Deployment 'db' that uses a ConfigMap for configuration. You want to update the ConfigMap and roll out the changes to pods without restarting them manually. Which approach should you use?
Hard122Which TWO of the following are valid methods to achieve a blue-green deployment in Kubernetes? (Select two.)
Medium123Which commands list all Helm releases in the current namespace? (Select all that apply)
Easy124A Helm chart is installed with the command 'helm install myapp ./mychart'. You need to upgrade the release with new values from a file 'prod-values.yaml'. Which command is correct?
Medium125Which TWO of the following are valid non-interactive methods to update a Deployment's image?
Easy126You have created a HorizontalPodAutoscaler (HPA) named 'web-hpa' targeting a Deployment 'web'. The HPA uses targetCPUUtilizationPercentage: 80. The current CPU usage is 60%. How many replicas will the HPA set?
Medium127Which command is used to undo the most recent rollout of a Deployment named 'myapp'?
Easy128After upgrading a Helm release, you want to revert to the previous revision. Which command achieves this?
Medium129You are using Kustomize. Your kustomization.yaml file specifies a base and an overlay. You run: kubectl apply -k overlays/production. What happens?
Medium130A developer is deploying a web application that requires 2 GiB of memory and 0.5 CPU cores. The cluster nodes have 4 GiB of memory and 2 CPU cores each. The developer wants to ensure the pod gets guaranteed QoS class. Which resource specification should be used?
Easy131You have just applied a new Deployment configuration using 'kubectl apply -f deployment.yaml'. You want to see the latest revision number of the rollout. Which command should you run?
Medium132You have a Deployment 'web' with 'maxSurge: 25%' and 'maxUnavailable: 25%'. Current replicas is 4. You update the image. How many pods will be created at most during the rollout?
Medium133Which TWO of the following are valid methods to perform a blue-green deployment in Kubernetes?
Medium134Order the steps to expose a Kubernetes Deployment as a ClusterIP Service.
Medium135Which TWO of the following are valid ways to expose a canary deployment to a subset of users? (Select two)
Medium136Which TWO commands can be used to view the rollout history of a Deployment?
Medium137Which THREE of the following are valid fields in a Helm chart's values.yaml file that can be used in templates?
Hard138You need to perform a canary deployment where 10% of traffic goes to the new version. You have a Deployment 'app-v1' with 9 replicas and 'app-v2' with 1 replica. What must be true for the Service to distribute traffic roughly 90/10?
Medium139An administrator runs 'kubectl apply -f deployment.yaml' and later wants to revert to the previous configuration. Which approach is correct?
Hard140You want to use Kustomize to apply a patch that adds a sidecar container to all pods in a Deployment. Which Kustomize feature should you use?
Hard141Which TWO of the following are true about Kustomize overlays? (Select 2)
Medium142You are using the Recreate strategy for a Deployment. What happens during an update?
Medium143You want to update a Deployment's image to a new version, ensuring that at most 2 pods are unavailable during the rollout. Which field in the Deployment spec should you set?
Easy144Which of the following is a valid method to perform a blue-green deployment in Kubernetes?
Easy145Which command is used to scale a Deployment named 'web' to 5 replicas?
Easy146The exhibit shows a Deployment configuration. The application's /health endpoint returns HTTP 200 only after 30 seconds, while /ready returns 200 immediately. After applying this Deployment, what is the expected behavior?
Hard147Which THREE of the following are valid reasons to use an annotation in Kubernetes?
Medium148In a Deployment YAML, which field defines the number of pods to run?
Easy149You have a Deployment that uses the 'Recreate' strategy. What happens when you update the pod template (e.g., change the image)?
Medium150You have a Helm release named 'myapp' that was installed. You need to see all the releases in the current namespace. Which command do you run?
Easy151You want to deploy an application with zero downtime by using a blue-green deployment pattern. Which Kubernetes resources are essential for implementing this strategy?
Easy152Which THREE of the following are correct about Kustomize?
Hard153You run 'kubectl apply -f deployment.yaml' and later 'kubectl replace -f deployment.yaml' on the same file. What is the difference?
Medium154When using Helm, which command installs a chart from a repository into a namespace, overriding a value?
Hard155You have created a HorizontalPodAutoscaler (HPA) for a Deployment. The HPA is configured with targetCPUUtilizationPercentage: 50. The current CPU utilization is 80%. What will the HPA do?
Medium156A Deployment has a rolling update strategy with maxSurge: 1 and maxUnavailable: 0. The Deployment has 4 replicas. During a rollout, what is the maximum number of pods that can exist at any point?
Hard157You want to perform a blue-green deployment using Deployments and Services. You have two Deployments: 'app-blue' (current) and 'app-green' (new). The Service 'app-service' currently selects pods with label 'version: blue'. What kubectl command should you run to switch traffic to the green deployment?
Medium158You need to perform a canary deployment using a Service and two Deployments (stable and canary). Which TWO resources or configurations are typically used to route a percentage of traffic to the canary? (Select TWO)
Hard159You have a Helm chart for an application. After running 'helm install my-release ./mychart', you realize you forgot to set a required value. Which command can you use to update the release with the correct value while keeping the same chart version?
Hard160A Deployment named 'app' has the following strategy: type: RollingUpdate with maxSurge=1 and maxUnavailable=0. You have 5 replicas. During a rolling update, how many pods will be running at any given time?
Medium161You are using Helm to manage an application. After running 'helm install myapp ./mychart', you notice that the application is running but you need to change a configuration value. Which command should you use to update the release?
Hard162Which field in a Deployment's rolling update strategy controls the maximum number of pods that can be created above the desired replicas during a rolling update?
Medium163When performing a rolling update of a Deployment, which field in the Deployment spec controls the maximum number of Pods that can be created above the desired replicas during the update?
Medium164You run 'kubectl rollout undo deployment/app'. What happens?
Medium165You are deploying a multi-tier application consisting of a frontend web service and a backend API. The frontend is deployed as a Deployment with 3 replicas, exposed via a ClusterIP Service named 'frontend-svc'. The backend is a StatefulSet with 3 replicas, each with its own PersistentVolumeClaim, and exposed via a headless Service named 'backend-svc'. The backend pods need to discover each other via DNS for clustering. After deployment, the backend pods cannot resolve the hostnames of other backend pods. The frontend can reach the backend via the Service name. You verify that the StatefulSet and its Service are correctly named. What is the most likely cause of the issue?
Hard166Match each kubectl command to its function.
Medium167The exhibit shows a Deployment manifest. When applied, the pods are created but show 'CrashLoopBackOff'. What is the most likely cause?
Easy168You have a Kustomize overlay that sets 'replicas: 5' in a patch, but the base Deployment has 'replicas: 3'. What is the final number of replicas after applying 'kubectl apply -k overlay/'?
Medium169You are asked to implement a blue-green deployment using Kubernetes Deployments and Services. You have a blue Deployment with label 'version: blue' and a green Deployment with label 'version: green'. Both have selector 'app: myapp'. You need a Service that initially points to blue. How should you configure the Service to switch to green without downtime?
Hard170Which command scales a Deployment named 'frontend' to 5 replicas?
Easy171A developer wants to ensure that a critical application always runs on every node in the cluster. Which resource should they use?
Easy172Which THREE components are essential for setting up Horizontal Pod Autoscaling (HPA) based on CPU utilization? (Select three)
Hard173You have a Deployment named 'frontend' with 3 replicas. You run 'kubectl rollout history deployment/frontend' and see revision 1 and revision 2. You want to rollback to revision 1. What command should you use?
Hard174You have a Deployment with strategy type: Recreate. You update the container image. What behavior will occur during the update?
Medium175Which THREE are valid ways to expose a canary deployment for testing? (Select three)
Medium176Which TWO statements about labels and selectors are correct? (Select TWO.)
MediumOther domains
All CKAD exam domains
Frequently asked questions
- What does the Application Deployment domain cover on the CKAD exam?
- Application Deployment questions test whether you can apply the concept in context, not just recognise a definition.
- How many questions are in this domain?
- This page lists all 176 Application Deployment questions in the CKAD question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
- What is the best way to practise this domain?
- Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
- Can I practise only Application Deployment questions?
- Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.