Courseiva

CKAD · topic practice

Application Deployment practice questions

Application Deployment covers rolling updates, rollbacks, scaling, and canary patterns using Deployments, Services, and Helm. It is tested through kubectl commands, YAML manifests, and scenario questions requiring you to modify running applications, control traffic distribution, and manage releases with Helm in a Kubernetes cluster.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Application Deployment

What the exam tests

What to know about Application Deployment

You must be able to update, roll back, and scale Deployments, and manage Helm releases. The most important thing is ensuring Service selectors correctly target pods for canary or blue-green traffic distribution.

Perform rolling updates and rollbacks on Deployments using kubectl set image and rollout commands.

Scale Deployments with kubectl scale and configure Horizontal Pod Autoscalers based on CPU or memory.

Implement canary deployments by adjusting replica counts and using Service selectors to split traffic.

Install and upgrade Helm charts from repositories with custom values and namespace overrides.

Watch out for

Common Application Deployment exam traps

  • ▸Assuming a Service automatically splits traffic by replica count; it uses label selectors, so both versions need matching labels or separate Services.
  • ▸Forgetting that kubectl set image triggers a rolling update but does not change the Deployment's strategy or revision history unless configured.
  • ▸Using kubectl scale without specifying the correct resource type, leading to errors if the name matches multiple resources.

Practice set

Application Deployment questions

20 questions · select your answer, then reveal the explanation

During 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?

Which THREE of the following are valid ways to expose a set of pods as a network service?

Question 3hardmultiple choice
Read the full DNS explanation →

You 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?

You are responsible for deploying a critical application that must be highly available. The application consists of a single pod that should always be running on a node that has an SSD. You have two node pools: one with standard HDD and one with SSD. The application must be rescheduled immediately if the node fails. You create a Deployment with replicas: 1 and a nodeSelector for the SSD label. However, after a node failure, the pod is not rescheduled on another SSD node for several minutes. You check the Deployment and it shows the desired replica count is 1 but the current replica count is 0. What is the most likely reason for the delay?

A 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?

The 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?

Exhibit

Refer to the exhibit.

apiVersion: apps/v1
kind: Deployment
metadata:
  name: web
spec:
  replicas: 3
  selector:
    matchLabels:
      app: web
  template:
    metadata:
      labels:
        app: web
    spec:
      containers:
      - name: nginx
        image: nginx:1.19
        ports:
        - containerPort: 80
        livenessProbe:
          httpGet:
            path: /health
            port: 80
          initialDelaySeconds: 30
          periodSeconds: 10
        readinessProbe:
          httpGet:
            path: /ready
            port: 80
          initialDelaySeconds: 5
          periodSeconds: 5
Question 7hardmultiple choice
Read the full DNS explanation →

You are deploying a microservice application on a Kubernetes cluster. The application consists of a frontend service (type: ClusterIP) and a backend service (type: ClusterIP). The frontend needs to communicate with the backend via DNS name 'backend-service'. The backend service runs three replicas, each listening on port 8080. You have created the backend service and deployment, and verified that pods are running. However, when you deploy the frontend pod and attempt to curl http://backend-service:8080 from within the frontend, you get 'connection refused'. The frontend pod is in the same namespace as the backend. You check the backend pods and they are all running and ready, and the endpoints object shows the correct pod IPs. You suspect a misconfiguration in the service definition. Which of the following is the most likely cause of the issue?

You are deploying a microservice that reads from a ConfigMap and a Secret. The application logs show 'Failed to read configuration: missing key' on startup. Which TWO are likely causes?

Arrange the steps to create a PersistentVolumeClaim and use it in a Pod.

Drag or tap steps into the slots.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Match each kubectl command to its function.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Create or update resources from a file

Rollback a deployment to a previous revision

Execute a command inside a container

Forward local port to a pod port

Show detailed state of a resource

Match each volume type to its use case.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Temporary storage that shares a pod's lifecycle

Mounts a file or directory from the host node

Requests durable storage from a PersistentVolume

Inject configuration data as files or env vars

Inject sensitive data as files or env vars

You have an existing Deployment 'web' created with 'kubectl create deployment web --image=nginx --replicas=3'. You need to change the image to 'nginx:1.19' and record the change. Which command should you use?

You are using Kustomize to manage configurations. Your project structure is: 'base/kustomization.yaml', 'overlays/prod/kustomization.yaml'. The base defines a Deployment with image 'nginx:1.18'. The overlay wants to patch the image to 'nginx:1.19'. Which is the correct way to define the patch in the overlay?

You have a HorizontalPodAutoscaler (HPA) targeting a Deployment. The HPA is configured with 'targetCPUUtilizationPercentage: 50'. The current CPU utilization is 60% across the pods. What action does the HPA take?

You are performing a blue-green deployment for an application. You have two Deployments: 'app-blue' (current production) and 'app-green' (new version). Both have label 'app: myapp' and are exposed by a Service 'myapp-svc'. How do you switch traffic from blue to green?

Which TWO of the following are valid methods to achieve a blue-green deployment in Kubernetes? (Select two.)

Which TWO of the following are valid ways to view the rollout history of a Deployment named 'myapp'? (Select two.)

You need to scale a Deployment named 'frontend' to 10 replicas. Which command correctly accomplishes this?

Which TWO of the following are valid methods to perform a blue-green deployment in Kubernetes?

Which TWO of the following commands are used to inspect the rollout history of a Deployment?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Application Deployment sessions

Start a Application Deployment only practice session

Every question in these sessions is drawn from the Application Deployment domain — nothing else.

Related practice questions

Related CKAD topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the CKAD exam test about Application Deployment?
You must be able to update, roll back, and scale Deployments, and manage Helm releases. The most important thing is ensuring Service selectors correctly target pods for canary or blue-green traffic distribution.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Application Deployment questions in a focused session?
Yes — the session launcher on this page draws every question from the Application Deployment domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other CKAD topics?
Use the topic links above to move to related areas, or go back to the CKAD question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the CKAD exam covers. They are not copied from any real exam or dump site.