SASERÁ Academy
Certified Kubernetes Administrator · Kubernetes v1.37 · free practice

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

The real CKA is hands-on: 15-20 tasks in live Kubernetes clusters, 2 hours, no multiple choice. Each task is a chain of small decisions (the safe command, the next step in an upgrade or an etcd restore, the line of output that names the cause), and one wrong decision fails it. These ten multiple-choice questions, two from each domain, train those decisions. Answer, then read why each option is right or wrong.

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

What the real CKA is like

The real CKA 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 step comes next, 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, proctoredProctored remotely by PSI. Pausing does not stop the timer, and time lost to a disconnection is not given back.
Docs allowed, Gateway API includedThe Kubernetes docs and blog, the Helm docs, each task's Quick Reference links and, for the CKA only, the Gateway API docs.
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 the Linux Foundation lists on the task hosts are kubectl (alias k, with bash completion), yq, curl, wget and man, with sudo available. More detail in the CKA exam format guide.

10 free CKA practice questions

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

  1. StorageQuestion 1 of 10

    On cluster bank-1, the administrator created the PV pv-audit-2024 holding last year's audit data. A new PVC audit-2024 must bind to exactly that PV, not to any other matching one. Which PVC field does this?

    1. volumeName: pv-audit-2024
    2. selector: {matchLabels: {name: pv-audit-2024}}
    3. claimRef: {name: pv-audit-2024}
    4. dataSource: {kind: PersistentVolume, name: pv-audit-2024}
    Show the answer and why

    Answer: A

    • A. Correct. Setting volumeName in the PVC declares a binding to that specific PV.
    • B. A label selector matches PV labels; it does not use the PV name unless the PV carries such a label.
    • C. claimRef is a PV field that reserves the PV for a claim, not a PVC field.
    • D. dataSource is used to populate a new volume from a snapshot or PVC, not to bind to an existing PV.

    Why it matters: Set volumeName on the PVC to bind it to a named PV; set claimRef on the PV to reserve it for one PVC so other claims cannot take it.

  2. StorageQuestion 2 of 10

    On cluster retail-1 (kubeadm v1.37), the administrator must make the StorageClass fast-ssd the default class. The old default standard was already unmarked. Which command does this?

    1. kubectl patch storageclass fast-ssd -p '{"metadata":{"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
    2. kubectl label storageclass fast-ssd storageclass.kubernetes.io/is-default-class=true
    3. kubectl patch storageclass fast-ssd -p '{"metadata":{"annotations":{"storageclass.kubernetes.io/is-default-class":"yes"}}}'
    4. kubectl patch storageclass fast-ssd -p '{"spec":{"default":true}}'
    Show the answer and why

    Answer: A

    • A. Correct. The default class is the one whose storageclass.kubernetes.io/is-default-class annotation is true.
    • B. The marker is an annotation, not a label. A label with that key has no effect.
    • C. Only the value true marks the default; any other value does not.
    • D. StorageClass has no spec and no default field. The default is set by annotation.

    Why it matters: A StorageClass is the default when it carries the annotation storageclass.kubernetes.io/is-default-class: "true"; set it with kubectl patch (or annotate) and unmark the old default.

  3. TroubleshootingQuestion 3 of 10

    In namespace media of cluster vid-1, the Service player has ports: [{port: 443, targetPort: 8443}]. Its EndpointSlice lists two ready Pod IPs on port 8443. From a test Pod, wget -qO- player:443 fails with "connection refused", while wget -qO- 10.244.1.9:8080 (a Pod IP) returns the page. What is the BEST fix?

    1. Change the Service port to 8080
    2. Add a NetworkPolicy in media that allows TCP 443 to the Pods
    3. Restart the player Pods so they pick up the Service
    4. Change the Service targetPort to 8080
    Show the answer and why

    Answer: D

    • A. The client-facing port is not the problem. Traffic would still be sent to targetPort 8443.
    • B. "Connection refused" means a closed port reached, not filtered traffic, and no policy is in place.
    • C. The app already serves on 8080 and will do the same after a restart.
    • D. Correct. DNS and endpoints are fine; traffic is sent to 8443, where nothing listens. The Pods serve on 8080.

    Why it matters: "Connection refused" with ready endpoints usually means the Service sends to a port the container does not listen on; compare targetPort with the container port.

  4. TroubleshootingQuestion 4 of 10

    On cluster retail-1, the administrator investigates the Pod cart-7d4c in namespace shop and needs only the last 50 lines of its output, each with the time it was written. Which command does this?

    1. kubectl logs cart-7d4c -n shop --lines=50 --timestamps
    2. kubectl logs cart-7d4c -n 50 --timestamps
    3. kubectl logs cart-7d4c -n shop --tail=50 --timestamps
    4. kubectl logs cart-7d4c -n shop --limit-bytes=50 --timestamps
    Show the answer and why

    Answer: C

    • A. --lines is not a kubectl logs flag; the flag is --tail.
    • B. -n is the namespace flag, so this looks in a namespace called 50.
    • C. Correct. --tail limits the number of recent lines and --timestamps prefixes each line with its timestamp.
    • D. --limit-bytes caps the output size in bytes, not the number of lines.

    Why it matters: --tail=N returns the last N lines; --timestamps adds a timestamp to each line; --since=1h and --since-time filter by time.

  5. Workloads and SchedulingQuestion 5 of 10

    On cluster shop-3, the files tls.crt and tls.key for shop.example.com must be stored in a Secret shop-tls in namespace shop for later use by a Gateway. Which command does this?

    1. kubectl create secret generic shop-tls --cert=tls.crt --key=tls.key -n shop
    2. kubectl create secret tls shop-tls --cert=tls.crt --key=tls.key -n shop
    3. kubectl create secret tls shop-tls --from-file=tls.crt --from-file=tls.key -n shop
    4. kubectl create configmap shop-tls --from-file=tls.crt --from-file=tls.key -n shop
    Show the answer and why

    Answer: B

    • A. secret generic has no --cert or --key flags.
    • B. Correct. secret tls creates a kubernetes.io/tls Secret with the keys tls.crt and tls.key.
    • C. secret tls takes the files through --cert and --key.
    • D. A private key belongs in a Secret, not a ConfigMap.

    Why it matters: kubectl create secret tls NAME --cert=FILE --key=FILE creates a kubernetes.io/tls Secret with tls.crt and tls.key.

  6. Workloads and SchedulingQuestion 6 of 10 · choose two

    On cluster labs-9 (kubeadm v1.37), an HPA with a CPU utilization target is created for the Deployment grader. Which TWO conditions must be true for this HPA to compute a utilization and scale? (Choose TWO.)

    1. The Vertical Pod Autoscaler is installed in the cluster
    2. Every container in the grader Pods sets a CPU request
    3. kube-proxy runs in ipvs mode on every node
    4. The metrics.k8s.io API is served, for example by Metrics Server
    5. The Deployment uses the Recreate update strategy
    Show the answer and why

    Answer: B and D

    • A. VPA is a separate add-on for adjusting requests. The HPA works without it.
    • B. Correct. Utilization is usage divided by request. A container without a CPU request leaves the utilization undefined.
    • C. kube-proxy mode affects Service traffic, not metrics. ipvs is also deprecated in v1.37.
    • D. Correct. The HPA controller reads current CPU usage from the Metrics API. Without it, the target stays unknown.
    • E. The update strategy controls rollouts, not autoscaling. HPAs work with RollingUpdate Deployments.

    Why it matters: A CPU-utilization HPA needs live metrics from the Metrics API and CPU requests on the target Pods' containers.

  7. Cluster Architecture, Installation and ConfigurationQuestion 7 of 10

    The CI system runs as ServiceAccount deployer in namespace ci. It needs read-only access (the built-in view ClusterRole) in namespace ci only, with least privilege. Which command does this?

    1. kubectl create rolebinding deployer-view --clusterrole=view --serviceaccount=ci:deployer -n ci
    2. kubectl create rolebinding deployer-view --role=view --serviceaccount=ci:deployer -n ci
    3. kubectl create clusterrolebinding deployer-view --clusterrole=view --serviceaccount=ci:deployer
    4. kubectl create rolebinding deployer-view --clusterrole=view --serviceaccount=deployer -n ci
    Show the answer and why

    Answer: A

    • A. Correct. A RoleBinding that references a ClusterRole grants its rules only in the binding's namespace, ci.
    • B. --role refers to a Role named view in ci, which does not exist; view is a ClusterRole.
    • C. A ClusterRoleBinding grants view in every namespace, which is more than the task allows.
    • D. --serviceaccount must be given as namespace:name, such as ci:deployer.

    Why it matters: Bind a ClusterRole with a RoleBinding to grant it in one namespace; give ServiceAccounts as namespace:name.

  8. Cluster Architecture, Installation and ConfigurationQuestion 8 of 10

    A Role in namespace web has rules: [{apiGroups: [""], resources: [deployments], verbs: [get, list, update]}] and is bound to user lee. kubectl get deployments -n web --as=lee is Forbidden. Which change fixes the rule?

    1. Add deployments/scale to resources so the Deployment subresources are covered too
    2. Add watch to verbs, because kubectl get needs every read verb
    3. Set resources to ["*"] so that every resource in the group is allowed
    4. Set apiGroups to ["apps"], because Deployments belong to the apps API group
    Show the answer and why

    Answer: D

    • A. That is a subresource. The rule is still for the core group, so the request is still not matched.
    • B. get is already allowed. The rule fails because of the API group, not the verbs.
    • C. The group is still the core group, which has no Deployments, and the rule becomes much broader.
    • D. Correct. "" is the core group (Pods, Services, ConfigMaps). Deployments are served under apps, so the rule never matched them.

    Why it matters: RBAC rules must name the right API group: Deployments are in apps, Pods in the core group "".

  9. Services and NetworkingQuestion 9 of 10

    On cluster sec-dns, security requires that ALL non-cluster lookups made by Pods go to the resolver 172.16.0.1 instead of the nodes' /etc/resolv.conf. The Corefile still has the default .:53 block. Which change is correct?

    1. Replace forward . /etc/resolv.conf with forward . 172.16.0.1 in the .:53 block
    2. Replace kubernetes cluster.local in-addr.arpa ip6.arpa with kubernetes 172.16.0.1
    3. Set dnsPolicy: Default on every Pod
    4. Remove the cache 30 line
    Show the answer and why

    Answer: A

    • A. Correct. The forward plugin sends queries outside the cluster domain to its upstream; pointing it at 172.16.0.1 meets the rule.
    • B. That would break cluster name resolution; the kubernetes plugin serves cluster names, not upstream forwarding.
    • C. Pods would then use the node's resolver and lose cluster names, without using 172.16.0.1.
    • D. Caching does not decide where queries go; it only stores answers.

    Why it matters: Upstream resolution for names outside the cluster is the forward plugin's target; change it in the Corefile.

  10. Services and NetworkingQuestion 10 of 10

    On a new kubeadm v1.37 cluster qa-12, kubectl apply -f route.yaml for an HTTPRoute with apiVersion: gateway.networking.k8s.io/v1 fails because the API server does not know the kind HTTPRoute in that group and version, and kubectl api-resources lists no resource of the group gateway.networking.k8s.io. What should the administrator do FIRST?

    1. Change the manifest to apiVersion: networking.k8s.io/v1
    2. Enable the Ingress admission plugin on the kube-apiserver
    3. Install the Gateway API CRDs, then a Gateway controller
    4. Use kubectl create -f route.yaml instead of kubectl apply
    Show the answer and why

    Answer: C

    • A. That group serves Ingress, IngressClass and NetworkPolicy. It has no HTTPRoute kind.
    • B. No admission plugin adds new kinds. Kinds come from built-in APIs or CRDs.
    • C. Correct. Gateway API is an add-on that does not ship with Kubernetes. Until its CRDs exist, the API server does not know the HTTPRoute kind.
    • D. Any write is refused the same way, because the kind is unknown to the API server.

    Why it matters: An unknown kind (nothing in kubectl api-resources) means the API is not installed; for Gateway API, apply its CRDs before creating Gateways and routes.

The five domains (CNCF CKA Curriculum v1.37)

DomainWeightQuestions per 60-question course examCurriculum topics
1. Storage10%63
2. Troubleshooting30%185
3. Workloads and Scheduling15%95
4. Cluster Architecture, Installation and Configuration25%158
5. Services and Networking20%126

Weights from the CNCF CKA 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. In v1.37, kubectl autoscale takes --cpu, not --cpu-percent. --delete-local-data is not a kubectl drain flag; --delete-emptydir-data is. A worker node is upgraded with kubeadm upgrade node, not kubeadm upgrade apply. Seeing the near-misses side by side is how you stop typing them.

Sequences where the order matters. kubeadm upgrades go one minor version at a time: plan, apply on the first control plane, node on the rest, then drain, upgrade the kubelet and uncordon. An etcd restore uses etcdutl snapshot restore: the etcd 3.6 release removed etcdctl snapshot restore.

Output you have to read fast. A node that is NotReady, a kubelet that will not start, a static Pod manifest with the wrong etcd port, an empty EndpointSlice, a DNS lookup that fails: what is the most likely cause, and what do you check first? Troubleshooting is 30% of the exam.

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: build one with kubeadm, upgrade it, back up and restore etcd, break it and fix it.

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 6/18/9/15/12 like the curriculum, with all 27 curriculum topics in every exam.

2

Commands, manifests, output

95 troubleshooting exhibits, 92 command questions and 77 manifest and configuration questions across the six exams, current to Kubernetes v1.37.

3

Blind-checked 360/360

Every option explained, every flag, path, port 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, kubeadm, etcd, Gateway API and CoreDNS on Kubernetes v1.37, and multiple-response items marked Choose TWO for extra practice.

See the CKA course →

CKA practice exam FAQ

Is the CKA exam multiple choice?

No. The Linux Foundation describes the CKA 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 (a kubeadm cluster on two or three VMs is ideal).

What is the CKA passing score?

The Linux Foundation FAQ says a score of 66% or above must be earned to pass the CKA. 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 CKA 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, the documentation linked in a task's Quick Reference box and, for the CKA only, the Gateway API documentation. The task hosts have kubectl with the alias k and bash completion, plus yq, curl, wget and man.

What are the CKA domains and weights?

Storage 10%, Troubleshooting 30%, Workloads and Scheduling 15%, Cluster Architecture, Installation and Configuration 25%, and Services and Networking 20%, from the CNCF CKA Curriculum v1.37.

Are there prerequisites, and how long is it valid?

There are no prerequisites. The certification is valid for 2 years (3 years for CKAs earned before April 1, 2024); to renew it you take and pass the exam again before it expires.

Are these real CKA exam questions?

No. All 360 course questions are original, written from the CNCF CKA Curriculum v1.37 and checked against the Kubernetes v1.37, Gateway API 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: CKA exam format 2026 · CKA vs CKAD · el examen en español · CKAD practice exam · Terraform Associate 004 questions · all courses