SASERÁ Academy
Certified Kubernetes Application Developer · Kubernetes v1.37 · free practice

CKAD practice exam: 10 free questions on the decisions behind every task

The real CKAD is hands-on: 15-20 tasks in live Kubernetes clusters, 2 hours, no multiple choice. Each task is a chain of small decisions, and one wrong decision fails it however fast you type. These ten multiple-choice questions, two from each domain, train those decisions: the right kubectl command, the YAML field that fixes a manifest, the clue in debugging output. Answer, then read why each option is right or wrong.

  • Hands-on, not multiple choice
  • 15-20 tasks
  • 2 hours
  • Kubernetes v1.37
CKAD practice exams course cover

What the real CKAD is like

The real CKAD is hands-on. You solve 15-20 tasks on the command line, in live Kubernetes clusters, in 2 hours. There is no multiple choice on it. These questions are multiple-choice practice: they train the decisions inside those tasks (which command, which YAML field, which clue in the output), and you should also type them in a real cluster.
Tasks, not questions15-20 performance-based tasks, each done on a designated host over ssh, against a live cluster.
2 hours, online, proctoredRemote desktop with a terminal, Firefox and VSCodium. Pausing does not stop the timer.
Docs allowedThe Kubernetes docs and blog, the Helm docs, and the docs linked in each task's Quick Reference box.
Any correct path countsThe handbook says there may be more than one way to do a task; any path that produces the correct result is fine.

The tools on the task hosts are kubectl (alias k, with bash completion), yq, curl, wget and man. More detail in the CKAD exam format guide.

10 free CKAD practice questions

Taken from the course, two from every domain: commands to choose, manifests and settings to fix, and output to read. Click an option to answer; the explanation under every option appears as soon as you do.

  1. Application Design and BuildQuestion 1 of 10

    The developer must write the file ledger.yaml for a Deployment ledger-api with 3 replicas of registry.example.com/ledger-api:2.4.1 and container port 8080, without creating anything in the cluster yet. Which command is FASTEST and correct?

    1. kubectl create deployment ledger-api --image=registry.example.com/ledger-api:2.4.1 -r 3 --port=8080 --dry-run=client -o yaml > ledger.yaml
    2. kubectl run ledger-api --image=registry.example.com/ledger-api:2.4.1 --replicas=3 --port=8080 --dry-run=client -o yaml > ledger.yaml
    3. kubectl create deployment ledger-api --image=registry.example.com/ledger-api:2.4.1 -r 3 --port=8080 -o yaml > ledger.yaml
    4. kubectl create deployment ledger-api --image=registry.example.com/ledger-api:2.4.1 -r 3 --target-port=8080 --dry-run=client -o yaml > ledger.yaml
    Show the answer and why

    Answer: A

    • A. Correct. -r/--replicas and --port are create deployment flags, and --dry-run=client -o yaml prints the object without sending it.
    • B. kubectl run creates only Pods and has no --replicas flag in v1.37.
    • C. Without --dry-run=client the Deployment is also created in the cluster, which the task forbids.
    • D. create deployment has no --target-port flag; the container port flag is --port.

    Why it matters: Generate manifests with kubectl create ... --dry-run=client -o yaml > file, then edit and apply.

  2. Application Design and BuildQuestion 2 of 10

    Pod billing has the app container api, which writes logs to /var/log/billing/app.log, and a sidecar tailer that runs tail -F /logs/app.log. The spec defines an emptyDir volume logs, mounted with volumeMounts: [{name: logs, mountPath: /logs}] only in tailer. kubectl logs billing -c tailer shows tail: can't open '/logs/app.log'. What is the BEST fix?

    1. Change the tailer mountPath to /var/log/billing
    2. Move tailer into initContainers without a restartPolicy
    3. Also mount the logs volume in api at /var/log/billing
    4. Set shareProcessNamespace: true on the Pod
    Show the answer and why

    Answer: C

    • A. Matching paths do not share anything. The volume is still mounted only in tailer, so it stays empty.
    • B. A regular init container runs before the app and must exit, and the volume is still not mounted in api.
    • C. Correct. The app writes into its own filesystem until the volume is mounted at its log directory; then the sidecar reads the same files under /logs.
    • D. That lets containers see each other's processes. It does not put the app's log directory into a shared volume.

    Why it matters: Both containers must mount the same volume: the writer at its log directory, the reader wherever it expects the file.

  3. Application DeploymentQuestion 3 of 10

    In namespace shop-prod, the Service shop has selector: {app: shop, version: blue}. The Deployment shop-green (Pod labels app: shop, version: green) is fully Ready and tested. All traffic must move to green at once, and blue must keep running for a fast rollback. Which command does this BEST?

    1. kubectl label service shop app=shop version=green --overwrite -n shop-prod
    2. kubectl patch service shop -n shop-prod -p '{"spec":{"selector":{"app":"shop","version":"green"}}}'
    3. kubectl set image deployment/shop-blue shop=registry.example.com/team/shop:2.0 -n shop-prod
    4. kubectl expose deployment shop-green --name=shop --port=80 -n shop-prod
    Show the answer and why

    Answer: B

    • A. This changes the labels on the Service object itself. The selector, which decides where traffic goes, still says blue.
    • B. Correct. Changing the Service selector moves all new traffic to the green Pods in one step, and the blue Deployment stays untouched for rollback.
    • C. This starts a rolling update of blue, so both versions serve during the rollout and no untouched blue copy is left for rollback.
    • D. A Service named shop already exists, so this fails; it would also not change the existing Service's selector.

    Why it matters: Blue/green with plain Kubernetes: two Deployments with different version labels, and one Service whose selector is switched from one to the other.

  4. Application DeploymentQuestion 4 of 10

    kubectl rollout status deployment/ledger-api -n fin exits with error: deployment "ledger-api" exceeded its progress deadline. kubectl describe deploy ledger-api shows the condition Progressing False ProgressDeadlineExceeded, and the Deployment has no progressDeadlineSeconds set. Which statement is correct?

    1. Kubernetes has already rolled back to the previous revision automatically
    2. The Deployment is deleted after the deadline, and its Pods are orphaned
    3. The deadline is 60 seconds by default, so the new Pods simply need a longer minReadySeconds
    4. The rollout stalled for 600 s; Kubernetes only reports it
    Show the answer and why

    Answer: D

    • A. The controller only reports the stalled rollout. It never rolls back on its own.
    • B. Nothing is deleted. The Deployment and its ReplicaSets stay as they are.
    • C. The default is 600 seconds, and minReadySeconds makes rollouts slower, not more likely to pass the deadline.
    • D. Correct. progressDeadlineSeconds defaults to 600. When it passes, the controller sets the condition and takes no further action; rollback is up to you.

    Why it matters: A stalled rollout is surfaced as ProgressDeadlineExceeded (default 600 s); investigate the new Pods, then fix forward or kubectl rollout undo.

  5. Application Observability and MaintenanceQuestion 5 of 10

    The Pod pay-api-0 in namespace pay runs a distroless image (no shell) and does not set shareProcessNamespace. kubectl exec fails with executable file not found. The developer must look at the running api container's processes without restarting or replacing the Pod. Which command does this?

    1. kubectl debug -it pay-api-0 -n pay --image=busybox:1.36 --target=api
    2. kubectl debug -it pay-api-0 -n pay --image=busybox:1.36
    3. kubectl debug pay-api-0 -n pay -it --image=busybox:1.36 --copy-to=pay-api-dbg
    4. kubectl exec -it pay-api-0 -n pay --image=busybox:1.36 -- sh
    Show the answer and why

    Answer: A

    • A. Correct. This adds an ephemeral container to the running Pod, and --target shares the process namespace of api.
    • B. The ephemeral container is added, but without --target it does not see the processes of api.
    • C. This creates a new copy of the Pod; the task asks to look at the running Pod, not a replacement.
    • D. kubectl exec has no --image flag; it can only run binaries already in the container.

    Why it matters: Ephemeral containers (kubectl debug POD --image) bring tools into a running Pod; --target=CONTAINER lets them see that container's processes.

  6. Application Observability and MaintenanceQuestion 6 of 10

    A legacy app starts in anywhere from 20 seconds to 4 minutes. Its livenessProbe (httpGet on /healthz port 8080, periodSeconds: 10, failureThreshold: 3) kills it during long starts. After it is up, hangs must still be detected within about 30 seconds. Which addition is BEST?

    1. startupProbe: {httpGet: {path: /healthz, port: 8080}, failureThreshold: 3, periodSeconds: 10}
    2. readinessProbe: {httpGet: {path: /healthz, port: 8080}, failureThreshold: 30, periodSeconds: 10}
    3. startupProbe: {httpGet: {path: /healthz, port: 8080}, failureThreshold: 30, periodSeconds: 10}
    4. livenessProbe.initialDelaySeconds: 240 on the existing probe
    Show the answer and why

    Answer: C

    • A. This allows only about 30 seconds to start, so long starts still fail and the container is killed.
    • B. A readiness probe does not hold back the liveness probe, so liveness still kills slow starts.
    • C. Correct. Liveness waits until the startup probe succeeds; 30 x 10 s allows 300 s to start, and afterwards liveness reacts as fast as before.
    • D. It avoids the kills but delays hang detection by 4 minutes after every start, even after a 20-second start.

    Why it matters: Use a startupProbe with failureThreshold x periodSeconds covering the worst start time; liveness and readiness begin after it succeeds.

  7. Application Environment, Configuration and SecurityQuestion 7 of 10

    In namespace shop-prod, a monitoring script needs to read Pods (get, list, watch) and nothing else, only in that namespace. Which command creates the right permission object?

    1. kubectl create clusterrole pod-reader --verb=get,list,watch --resource=pods -n shop-prod
    2. kubectl create role pod-reader --verb=get,list,watch --resource=pods -n shop-prod
    3. kubectl create role pod-reader --verb=get,list,watch --resource=pods --serviceaccount=shop-prod:mon -n shop-prod
    4. kubectl create role pod-reader --verb=* --resource=pods -n shop-prod
    Show the answer and why

    Answer: B

    • A. A ClusterRole is cluster-scoped; -n does not make it namespaced, and a ClusterRoleBinding to it would reach every namespace.
    • B. Correct. A Role is namespaced, and --verb/--resource grant exactly the three read verbs on Pods in shop-prod.
    • C. --serviceaccount is a flag of create rolebinding, not of create role; a Role lists rules, not subjects.
    • D. The wildcard grants every verb, including delete and update, which breaks least privilege.

    Why it matters: A Role holds namespaced rules; subjects are attached separately with a RoleBinding.

  8. Application Environment, Configuration and SecurityQuestion 8 of 10 · choose two

    A developer is writing the Pod-level securityContext of a Pod and wants to know which settings must instead go in each container's securityContext. Which TWO fields exist only at container level? (Choose TWO.)

    1. supplementalGroups
    2. readOnlyRootFilesystem
    3. capabilities
    4. fsGroup
    5. runAsUser
    Show the answer and why

    Answer: B and C

    • A. supplementalGroups is a Pod-level field.
    • B. Correct. Each container has its own root filesystem, so this is a container field only.
    • C. Correct. Linux capabilities are set per container; the Pod securityContext has no capabilities field.
    • D. fsGroup is a Pod-level field that applies to volumes.
    • E. runAsUser exists at both levels; the container value overrides the Pod's.

    Why it matters: Container-only: capabilities, privileged, allowPrivilegeEscalation, readOnlyRootFilesystem. Pod-only: fsGroup, supplementalGroups, sysctls. Both: runAsUser, runAsGroup, runAsNonRoot, seccompProfile.

  9. Services and NetworkingQuestion 9 of 10

    In namespace ops, kubectl get pods --show-labels shows three Pods 1/1 Running with labels app=order,tier=web. kubectl get endpointslices -l kubernetes.io/service-name=orders shows ENDPOINTS <none>. kubectl describe svc orders shows Selector: app=orders,tier=web. What is the MOST likely cause?

    1. The Pods fail their readinessProbe
    2. A NetworkPolicy in ops is blocking ingress traffic to the Pods
    3. Selector app=orders differs from the Pod label app=order
    4. kube-proxy is not running on the nodes
    Show the answer and why

    Answer: C

    • A. The Pods show 1/1 Ready, so readiness is not the issue.
    • B. NetworkPolicies filter packets; they never remove Pods from a Service's EndpointSlices.
    • C. Correct. The EndpointSlice controller adds only Pods whose labels satisfy the whole selector; one typo leaves the Service with no endpoints.
    • D. kube-proxy programs forwarding rules; endpoint discovery is done by the control plane and would still list the Pods.

    Why it matters: ENDPOINTS <none> with Ready Pods points at the selector. Compare the Service selector with --show-labels: orders versus order.

  10. Services and NetworkingQuestion 10 of 10

    In namespace web, create an Ingress shop with class nginx that sends shop.example.com/api and everything under it (for example /api/orders) to the Service api on port 8080. Which command meets the task?

    1. kubectl create ingress shop -n web --class=nginx --rule="shop.example.com/api=api:8080" --annotation pathType=Prefix
    2. kubectl create ingress shop -n web --ingress-class=nginx --rule="shop.example.com/api*=api:8080"
    3. kubectl create ingress shop -n web --class=nginx --rule="shop.example.com/api*=api:8080"
    4. kubectl create ingress shop -n web --class=nginx --rule="api:8080=shop.example.com/api*"
    Show the answer and why

    Answer: C

    • A. Only a path with * becomes pathType: Prefix; an annotation is just metadata and never sets the pathType field, so /api/orders is not covered.
    • B. The flag is --class; --ingress-class does not exist on kubectl create ingress.
    • C. Correct. A trailing * makes the path pathType: Prefix, so /api/orders also matches.
    • D. The rule format is host/path=service:port; here the two sides are swapped.

    Why it matters: Per the --rule docs, a path with * becomes pathType: Prefix; without it the path is not Prefix. Set the class with --class, and check with --dry-run=client -o yaml.

The five domains (CNCF CKAD Curriculum v1.37)

DomainWeightQuestions per 60-question course examCurriculum topics
1. Application Design and Build20%124
2. Application Deployment20%124
3. Application Observability and Maintenance15%95
4. Application Environment, Configuration and Security25%158
5. Services and Networking20%123

Weights from the CNCF CKAD Curriculum v1.37, the same as on the Linux Foundation exam page. The CNCF does not number the topics or weight them individually. The passing score is 66% according to the Linux Foundation FAQ, but that is a score on hands-on tasks and it is not comparable to a multiple-choice score. Our 75% target on unseen practice exams is ours, not a Linux Foundation number.

Why practice with multiple choice at all?

Commands that look right. kubectl run in v1.37 has no --replicas, --serviceaccount, --requests or --limits. --port and --target-port get swapped. kubectl create secret needs generic, tls or docker-registry. Seeing the near-misses side by side is how you stop typing them.

Manifests that almost work. A selector that does not match, a probe on the wrong port, a missing pathType, capabilities at Pod level, a NetworkPolicy that selects every Pod.

Output you have to read fast. CrashLoopBackOff, OOMKilled, ImagePullBackOff, Pending and empty EndpointSlices: what is the most likely cause, and what do you check first?

What it cannot do. It cannot give you typing speed or comfort in a terminal. Use these questions to find the gap, then close it in a real cluster. The CKAD kubectl cheat sheet lists the imperative commands worth knowing by heart.

What's inside the course

1

Six full practice exams

Six tests of 60 questions, 360 original questions, each timed at 120 minutes and weighted 12/12/9/15/12 like the curriculum, with all 24 curriculum topics in every exam.

2

Commands, manifests, output

94 command questions, 116 manifest questions and 53 debugging exhibits across the six exams, current to Kubernetes v1.37.

3

Blind-checked 360/360

Every option explained, every flag and default checked against the Kubernetes v1.37 docs, every key confirmed by a separate blind reviewer.

Six full exams, 360 questions, all options explained

Multiple-choice practice for a hands-on exam: 60 questions and 120 minutes per test, Helm questions written only with commands common to Helm 3 and Helm 4, and multiple-response items marked Choose TWO for extra practice.

See the CKAD course →

CKAD practice exam FAQ

Is the CKAD exam multiple choice?

No. The Linux Foundation describes the CKAD as an online, proctored, performance-based exam: 15-20 tasks solved on the command line in live Kubernetes clusters, in 2 hours. There are no multiple-choice questions. This page and our course are multiple-choice practice that trains the decisions inside those tasks; practice in a real cluster as well (kind or minikube on your own machine is enough).

What is the CKAD passing score?

The Linux Foundation FAQ says a score of 66% or above must be earned to pass. That is a score on hands-on tasks, and a hands-on score is not comparable to a multiple-choice score, so 66% on practice questions does not mean you are ready. Our course uses 75% on unseen exams as its own practice target, not a Linux Foundation number.

Which Kubernetes version does the CKAD use?

Kubernetes v1.37, as of October 2026. The Linux Foundation says the exam environment is aligned with the most recent Kubernetes minor version within approximately 4 to 8 weeks of its release, so check the version on the exam page before you book.

What can I use during the exam?

A browser inside the exam environment with the Kubernetes documentation, the Kubernetes blog, the Helm documentation, and any task-specific documentation linked in a task's Quick Reference box. The task hosts have kubectl with the alias k and bash completion, plus yq, curl, wget and man.

What are the CKAD domains and weights?

Application Design and Build 20%, Application Deployment 20%, Application Observability and Maintenance 15%, Application Environment, Configuration and Security 25%, and Services and Networking 20%, from the CNCF CKAD Curriculum v1.37.

Are there prerequisites, and how long is it valid?

There are no prerequisites. The certification is valid for 2 years; to renew it you take and pass the exam again before it expires.

Are these real CKAD exam questions?

No. All 360 course questions are original, written from the CNCF CKAD Curriculum v1.37 and checked against the Kubernetes v1.37 and Helm documentation. Every question was answered blind by a separate reviewer as a final key check, and 360 of 360 keys matched.

Keep going: CKAD exam format 2026 · CKAD kubectl cheat sheet · el examen en español · Terraform Associate 004 questions · Google Cloud ACE practice exam · all courses · CKA practice exam · CKA vs CKAD