Most free KCNA practice questions you will find still follow the five-domain outline CNCF has since retired, and a good share of the rest are dumps. Neither helps much. A dump trains you to recognise one wording of a question, and an outdated set still treats Observability as its own domain while skipping Troubleshooting and Debugging, which now sit in Container Orchestration and Cloud Native Application Delivery.
This page gives you 20 sample KCNA practice questions with answers and explanations, split the way the current curriculum weights its four domains, plus a free timed mock and per-domain sets drawn from a bank of 248 original questions. Every explanation says why the right answer is right and why the tempting options are wrong. In November 2026 we reran sixteen of the twenty on a kubeadm cluster with Kubernetes v1.37, and every key held up against what kubectl actually printed; the other four are concept questions, checked against the official docs.
1. Try 20 KCNA sample questions by domain
We picked these twenty from the full bank so that each domain gets roughly its share of the score. The KCNA curriculum published by CNCF splits the marks across four domains, and the table shows how those weights map onto the samples below and onto the bank you can drill afterwards:
| Domain | Weight | Samples here | Questions in the bank |
|---|---|---|---|
| Kubernetes Fundamentals | 44% | 9 | 108 |
| Container Orchestration | 28% | 6 | 70 |
| Cloud Native Application Delivery | 16% | 3 | 40 |
| Cloud Native Architecture | 12% | 2 | 30 |
Kubernetes Fundamentals is nearly half the score on its own, so it gets nine of the twenty. Answer each question before you open the explanation, and keep a note of the ones you got right by guessing, because those are the topics that will cost you marks later. The official KCNA curriculum PDF lists the competencies behind these four domains if you want to see the full scope.
Kubernetes Fundamentals (44 percent)
Q1. Deployment web runs 2 replicas. You delete one of its Pods by hand, and a replacement Pod object appears within seconds. Which component created it?
A. The ReplicaSet controller in kube-controller-manager
B. The kubelet on the node where the deleted Pod had been running
C. kube-scheduler, which recreates any Pod it previously placed
D. etcd, which restores the deleted record from its previous revision
Show answer
A. Built-in controllers such as the Deployment and ReplicaSet controllers run inside kube-controller-manager. The ReplicaSet controller sees fewer Pods than desired and asks the API server to create one; controllers never write to etcd directly. On our cluster the replacement Pod’s owner reference read ReplicaSet/web-689b9bdbdd, and the SuccessfulCreate event came from replicaset-controller. The scheduler then places the new Pod and the kubelet starts it, but neither one decides that a Pod is missing.
Q2. A log collector must read /var/log on every machine. Today it runs as a Deployment with replicas set to the node count. What goes wrong as the cluster grows, and what fits better?
A. The Deployment refuses to scale past the node count; a StatefulSet removes that cap
B. New nodes get no copy and two can share a node; use a DaemonSet
C. Nothing goes wrong, because a Deployment adds one Pod for each node that joins
D. Pods lose access to /var/log after a reschedule; a Job rereads the logs on each node
Show answer
B. A Deployment keeps a fixed replica count and lets the scheduler place Pods anywhere, so a new node gets nothing unless someone edits replicas, and two copies may land on one node. A DaemonSet ensures all (or some) nodes run a copy, adding Pods as nodes join and garbage collecting them as nodes leave. A StatefulSet still runs a fixed count wherever the scheduler puts it, and a Job runs to completion instead of staying up on every node.
Q3. Monitoring shows a worker node at 5% CPU, yet a new Pod with a large CPU request stays Pending with the message Insufficient cpu. What explains this?
A. The scheduler uses a 15 minute average of CPU usage, which still includes an earlier spike
B. The kubelet refused the Pod because the container has no CPU limit
C. Scheduling compares the node’s summed CPU requests with its allocatable CPU, not with live usage
D. metrics-server is unavailable, so the scheduler treats every node as full
Show answer
C. Placement is based on requests. The scheduler makes sure the sum of requests on a node stays within its allocatable capacity and refuses the node when that check fails, even if actual usage is very low. A missing limit does not block scheduling: a BestEffort Pod with no requests or limits was scheduled as BestEffort in our lab. The scheduler does not read live usage or metrics-server at all.
Q4. After a cluster upgrade past the dockershim removal, a team asks whether images they build with docker build still run on containerd nodes. What is the answer?
A. No, they must first be rebuilt with a tool such as Buildah or Kaniko
B. Only after converting them to a separate CRI image format
C. Only if the cri-dockerd adapter is installed on every node
D. Yes, docker build output runs unchanged on every CRI runtime
Show answer
D. Removing dockershim changed how the kubelet reaches a runtime, not the image format. The Kubernetes dockershim FAQ states that images produced from docker build work with all CRI implementations, and pull secrets keep working too. There is no CRI image format, and cri-dockerd matters only when you want Docker Engine itself as the runtime.
Q5. Deployment web has revisions 1 and 2 after an image change. You run kubectl rollout undo deployment/web. What does kubectl rollout history deployment/web list next?
A. Revisions 1 and 2
B. Revisions 2 and 3
C. Revisions 1, 2 and 3
D. Revision 1 only
Show answer
B. Undo does not move a pointer back: it rolls the revision 1 template forward as a new revision, so revision 1 is renumbered 3. Our cluster listed revisions 2 and 3 after the undo, with the image back on nginx:1.29. The old ReplicaSet is scaled back up and reused, which is why Deployments keep old ReplicaSets at 0 replicas, up to revisionHistoryLimit (default 10). –to-revision=N picks a specific revision instead of the previous one.
Q6. Deployment web runs 2 replicas, and its PodDisruptionBudget says minAvailable: 2. A drain tries to evict one of those Pods. What does the API return?
A. 200 OK, and the Deployment replaces the Pod on another node
B. 403 Forbidden, because only the Deployment’s owner may evict its Pods
C. 404 Not Found, because Pods covered by a budget are hidden from drain
D. 429 Too Many Requests, as it would break the budget
Show answer
D. With 2 replicas and minAvailable 2 the budget allows 0 disruptions, so the Eviction API refuses with 429 and the eviction can only be tried again later. Any drain that would push healthy replicas below the budget is blocked, so add replicas or relax the budget before maintenance. A budget equal to the replica count is in effect a no-evictions rule.
Q7. A Pod sets nodeSelector disktype: nvme, but no node in the cluster carries that label. What happens?
A. It stays Pending with a FailedScheduling event about the node selector
B. It runs on any node, because nodeSelector is only a scheduling preference
C. The API server rejects the Pod at creation because the label does not exist
D. It runs on the control plane node, the fallback for unmatched selectors
Show answer
A. nodeSelector is a hard constraint: Kubernetes only schedules the Pod onto nodes that have every listed label. With no match the Pod remains unscheduled, and on our cluster the event read “1 node(s) didn’t match Pod’s node affinity/selector”. The API server does not compare selectors with node labels when the Pod is created, and there is no fallback node.
Q8. A Job manifest leaves restartPolicy out of its Pod template. What happens when you apply it?
A. The Job is created with restartPolicy Always, the Pod default
B. The API rejects it: only OnFailure or Never is allowed
C. The Job is created with restartPolicy Never, filled in by the Job controller
D. The Job is created, and its Pods restart forever after they succeed
Show answer
B. A bare Pod defaults to restartPolicy Always, which would rerun a finished task, so a Job’s Pod template accepts only Never or OnFailure. Applying the manifest on v1.37 returned spec.template.spec.restartPolicy: Required value: valid values: “OnFailure”, “Never”. A hand-written manifest has to set it, while kubectl create job fills in Never for you, and retries after failures are then governed by backoffLimit, which defaults to 6.
Q9. A container spec says image: busybox. Which full reference does the node pull?
A. docker.io/library/busybox:latest
B. registry.k8s.io/busybox:latest
C. docker.io/busybox:stable
D. Whichever busybox tag was pushed most recently
Show answer
A. With no registry hostname Kubernetes assumes the Docker public registry, and with no tag it assumes the tag named latest, which the runtime reports as docker.io/library/busybox:latest. Our Pod’s status showed exactly that, with imagePullPolicy set to Always because the tag was latest. Nothing compares tags by date: latest is simply a tag name.
Container Orchestration (28 percent)
Q10. A Pod in namespace shop calls http://inventory, but inventory is a Service in namespace stock and the name does not resolve. Which hostname works from the shop Pod?
A. inventory.stock
B. stock.inventory
C. inventory.shop.svc.cluster.local
D. inventory.svc.stock.cluster.local
Show answer
A. A name without a namespace is expanded with the caller’s own namespace first, so inventory becomes inventory.shop.svc.cluster.local, which does not exist. Adding the namespace (inventory.stock, or the full inventory.stock.svc.cluster.local) reaches the right Service. The order is always Service, namespace, svc, then the cluster domain.
Q11. A developer puts a value into a Secret and calls it encrypted. kubectl get secret app-msg -o yaml shows greeting: aGVsbG8=. What protection does that value have by default?
A. AES encryption with a key that only the API server process can read
B. Only base64 encoding, and etcd stores it unencrypted by default
C. A one-way hash, so the original value can no longer be recovered
D. Encryption by the kubelet before the value is mounted into any Pod
Show answer
B. Secret values are base64 encoded, which is an encoding, not encryption: aGVsbG8= decodes straight back to hello. By default the API server writes Secrets to etcd without encryption (our kubeadm control plane had no encryption-provider-config flag at all), so protecting them takes encryption at rest plus tight RBAC on who can read Secrets or create Pods. AES only applies once an admin configures encryption at rest, base64 is reversible rather than a hash, and the kubelet mounts the decoded value into the Pod without encrypting it.
Q12. Pod report-gen restarts again and again. kubectl describe pod shows Last State: Terminated, Reason: OOMKilled, Exit Code: 137, and a memory limit of 20Mi. Which change addresses the cause?
A. Raise the CPU limit so the work finishes before memory runs out
B. Add a liveness probe so the kubelet notices the failure sooner
C. Raise the memory limit to fit real use, or reduce the usage
D. Change restartPolicy to OnFailure so restarts stop after a while
Show answer
C. OOMKilled means the kernel killed the container for using more memory than its limit; our 20Mi Pod hit it three times in its first 40 seconds. Only more memory headroom or lower usage fixes that. CPU limits are enforced by throttling, not killing, and probes or the restart policy only change how the failure repeats.
Q13. You run kubectl expose deployment web –port=80 and give the Service name to a partner team outside the cluster, but they cannot connect. Why?
A. With no –type the Service is ClusterIP, reachable only in-cluster
B. The partner team must first be added to a RoleBinding in that namespace
C. The Service waits for a NetworkPolicy that admits outside traffic
D. Port 80 is reserved, so it was moved to a random high node port
Show answer
A. ClusterIP is the default type when none is given, and its virtual IP is only reachable from inside the cluster; kubectl get svc showed TYPE ClusterIP and EXTERNAL-IP <none> on our run. To serve outside clients you choose NodePort or LoadBalancer, or put a Gateway or Ingress in front of the ClusterIP Service. RBAC governs API requests, not network connections, and NetworkPolicy only restricts traffic; neither publishes a Service.
Q14. A container writes files to an emptyDir volume, crashes, and is restarted by the kubelet in the same Pod. What happens to the files?
A. They remain, as emptyDir lives as long as the Pod on that node
B. They are wiped, because every container start gets a fresh emptyDir
C. They survive only when emptyDir.medium is set to Memory
D. They are moved to a PersistentVolume during the restart
Show answer
A. A container crash does not remove the Pod from its node, so emptyDir data is safe across container restarts. Our test Pod appended a timestamp to the volume on each start and printed three lines after two restarts. The data is deleted for good when the Pod leaves the node, and medium: Memory only switches the backing to tmpfs.
Q15. Pod cart is Running with READY 0/1 and RESTARTS 0. Requests through its Service are refused, curl to the Pod IP works, and events show Readiness probe failed with a 404. What is going on?
A. Its readiness check fails, so it is marked not ready and gets no Service traffic
B. Its liveness check fails, so the kubelet keeps restarting the container
C. kube-proxy on that node crashed, so every Service there refuses connections
D. The Service selector does not match, so the Pod never got into the EndpointSlice
Show answer
A. A failing readiness probe sets the Pod’s Ready condition to false and the Service stops sending it traffic, but the container is not restarted. In our lab the Pod stayed in the EndpointSlice with ready=false, which separates this case from a selector mismatch, where the Pod is missing altogether. Fix the probe or the endpoint it checks.
Cloud Native Application Delivery (16 percent)
Q16. An engineer hotfixes a production Deployment with kubectl edit. Two days later nobody has noticed that the cluster no longer matches the repository. Which GitOps principle, if implemented, would have detected and reverted this drift?
A. Declarative
B. Versioned and Immutable
C. Pulled Automatically
D. Continuously Reconciled
Show answer
D. Continuously Reconciled means agents keep observing the actual state and applying the desired state, so a manual change gets noticed and corrected, not only at deploy time. Declarative and Versioned and Immutable describe how desired state is written and stored. Pulled Automatically describes how agents fetch that state, not how they compare it with the live system.
Q17. Pod worker shows RESTARTS 1 and is Running again. kubectl logs worker prints only a single startup line. Which command shows the panic message the earlier instance wrote before it exited?
A. kubectl logs worker –previous
B. kubectl logs worker -f
C. kubectl logs worker –since=1h
D. kubectl logs worker –all-containers
Show answer
A. –previous (short form -p) prints the logs of the previous instance of the container, which is where a crash message lives once the kubelet has restarted it. -f streams the current instance, –since filters the current instance by time, and –all-containers covers other containers in the Pod, not earlier runs of this one.
Q18. Pod minimal runs an image with no shell, and kubectl exec minimal — sh fails with executable file not found. You need to inspect the processes of its app container without restarting the Pod. Which command fits?
A. kubectl debug -it minimal –image=busybox –target=app
B. kubectl exec -it minimal -c app — /bin/bash
C. kubectl debug minimal -it –copy-to=minimal-copy –image=busybox
D. kubectl attach -it minimal -c app
Show answer
A. kubectl debug adds an ephemeral container with its own tools to the running Pod, and –target puts it in the app container’s process namespace so ps shows that process. exec needs a shell inside the image, –copy-to builds a separate Pod, and attach only connects to the existing process’s stdin and output.
Cloud Native Architecture (12 percent)
Q19. A worker Deployment drains messages from a queue. It should run zero replicas when the queue is empty and add replicas as the backlog grows. Which project is built for this?
A. Vertical Pod Autoscaler
B. KEDA
C. Cluster Autoscaler
D. metrics-server
Show answer
B. KEDA, a CNCF graduated project, scales workloads on the number of events waiting to be processed, such as messages in a queue. KEDA’s operator handles scaling between zero and one replica itself, and its metrics server exposes external metrics so the HPA handles scaling above one. The VPA adjusts resource requests rather than replica counts, Cluster Autoscaler adds nodes, and metrics-server only reports CPU and memory.
Q20. A crashing Pod was deleted during cleanup, and now kubectl logs for it returns NotFound. Why are its logs gone, and what avoids this next time?
A. Logs are node-local files removed with the Pod and Kubernetes keeps no cluster copy, so ship them to a backend
B. The API server deleted the logs from etcd along with the Pod object, so raise the log retention setting in etcd
C. kubectl logs reads through metrics-server, which keeps only recent data, so install metrics-server with more storage
D. Logs are kept only for Pods in the default namespace, so run the workload there or copy its logs into default
Show answer
A. The runtime writes container logs to files on the node, and kubectl logs reads them through the kubelet only while the Pod exists. On our cluster the log line printed fine until we deleted the Pod, and the next kubectl logs returned NotFound. Keeping logs past that point needs a cluster-level logging setup that sends them to a separate backend. Logs are never stored in etcd, metrics-server serves only CPU and memory, and the namespace has no effect on log retention.
2. See seven of those answers on a real cluster
A multiple-choice key is only as good as the behaviour behind it, so we built a single-node kubeadm cluster on Ubuntu 24.04 with Kubernetes v1.37, then set up the scenario behind every sample that kubectl can show, sixteen of the twenty. The captures below are the ones worth seeing with your own eyes, because the output itself teaches the concept better than the explanation does.
Q3 first. The node had 4 allocatable CPUs and no other workload asking for them, yet a Pod requesting 6 CPUs never left Pending:

The FailedScheduling message says Insufficient cpu even though the node had nothing else to run, which is the whole point of the question: the scheduler sums requests against allocatable and never looks at usage. The BestEffort Pod on the last line had no requests or limits at all and was scheduled as BestEffort, so a missing limit was never the blocker.
For Q12 we ran busybox with tail /dev/zero, which keeps reading into memory, under a 20Mi limit:

Exit code 137 is 128 plus signal 9, the SIGKILL the kernel sends when a cgroup runs out of memory. Three restarts in 40 seconds, with Started and Finished in the same second, tells you the container dies the moment it allocates. No probe or restart policy changes that; only the memory limit or the workload does.
Q17 is the one people get wrong in real incidents, not only on practice tests. Our worker printed a start line, slept 25 seconds, wrote a panic message and exited with code 2:

Plain kubectl logs shows only the new instance that started at 09:09:06. The panic line lives in the instance that started at 09:08:40, and only –previous reaches it. If you are debugging a CrashLoopBackOff and the logs look clean, this flag is the first thing to try.
Q10 produced the one surprise of the run. We created the inventory Service in namespace stock and called it from a busybox Pod in namespace shop:

The bare name fails with bad address, inventory.stock returns the nginx page and the full name resolves to the Service’s ClusterIP, exactly as the answer says. The surprise came first, though: busybox’s own nslookup inventory.stock returned NXDOMAIN, because that nslookup does not walk the search list for a name that already has a dot in it. The Pod’s resolv.conf had the right search domains and ndots:5, and wget, which uses the normal resolver, worked. If you test Service DNS from a busybox Pod, use the full name with nslookup or test with wget, or you will chase a DNS fault that does not exist.
For Q6 we scaled web to 2 replicas, created a budget of minAvailable 2 and sent one eviction straight to the API, which is what kubectl drain does for each Pod:

ALLOWED DISRUPTIONS 0 is the column to read before any maintenance window. The request came back as HTTP 429, shown by kubectl as TooManyRequests, and a drain in that state keeps retrying until you add a replica or relax the budget.
Q15 separates a readiness failure from a broken selector, and the EndpointSlice is where the difference shows:

The Pod is Running with zero restarts, so the kubelet is not killing anything. Its address is still listed in the EndpointSlice, but with ready=false, and calls to the Service were refused with Connection refused while the container itself kept running. A selector mismatch would leave the EndpointSlice empty instead, which is a quicker check than reading the probe config.
Q18 last. We ran the pause image, which has no shell, as container app and tried both approaches:

kubectl exec fails because there is no sh in the image. kubectl debug with –target attached a busybox ephemeral container that sees /pause as PID 1, which is the app container’s process, and the Pod stayed at 0 restarts. On kubectl v1.37 the debug command defaults to the general profile, so you do not need to pass –profile for this case.
3. Take the timed KCNA mock exam
Once the samples feel easy, move to the simulator. It opens on its own page and keeps your place in this browser if you close the tab halfway through (the mock clock keeps running while the tab is closed). The warm-up is 10 questions from across the bank with the answer and explanation after each one, and it needs no account. The timed mock is 60 questions in 90 minutes with no notes, matching the 90-minute KCNA sitting, and it is free once you enter your email, which also adds you to our newsletter (one click unsubscribes):
Timed mock
60 questions in 90 minutes, split by domain weight, scored against the 75% pass mark.
Take the mock| Domain | Weight | Bank | Practice |
|---|---|---|---|
| Domain 1: Kubernetes Fundamentals | 44% | 108 | 10 questions90 (email) |
| Domain 2: Container Orchestration | 28% | 70 | 10 questionsAll 70 (email) |
| Domain 3: Cloud Native Application Delivery | 16% | 40 | 10 questionsAll 40 (email) |
| Domain 4: Cloud Native Architecture | 12% | 30 | 10 questionsAll 30 (email) |
ComputingForGeeks is not affiliated with or sponsored by The Linux Foundation or the Cloud Native Computing Foundation (CNCF). Kubernetes®, CNCF® and Cloud Native Computing Foundation® are registered trademarks of The Linux Foundation, and KCNA is a Linux Foundation certification.
Each mock is a fresh draw split by the same domain weights, so a paper holds 26 Kubernetes Fundamentals questions, 17 from Container Orchestration, 10 from Application Delivery and 7 from Cloud Native Architecture. The simulator puts the questions you saw most recently at the back of the queue, which makes a retake a new paper rather than the same one again. If you have used our CCNA practice questions, this KCNA practice exam follows the same idea: questions drawn by domain weight, with an explanation behind every answer.
The Linux Foundation’s multiple-choice exam FAQ puts the pass mark for its multiple-choice exams, KCNA included, at 75%, which on our 60-question simulator paper is 45 correct answers. Our target is higher: we would not book the real thing until you clear 51 (85%) on two fresh draws in a row, because that margin covers the questions worded differently from anything you practised. Read the explanation on every question you got right by luck as well as the ones you missed, since a lucky guess is a gap that has not cost you anything yet.
4. Practise one KCNA domain at a time
The domain sets are the better tool once the mock shows you where you are weak. The domain table in the simulator lists each domain with its weight and the number of questions behind it, and every row starts a fresh 10-question draw from that domain alone. With your email you can run up to 90 questions from one domain in a single sitting, which matters most for Kubernetes Fundamentals, because it carries 44% of the score and the largest share of the bank.
Match the weak domain to the material that fixes it fastest:
- Any domain: the KCNA study guide with flashcards per competency
- Debugging: our kubectl cheat sheet for logs, describe, exec and debug flags
- Troubleshooting: fixing CrashLoopBackOff and ImagePullBackOff
- Security: Pod Security Standards and admission
For Debugging and Troubleshooting in particular, running the commands yourself on a throwaway cluster teaches more than another round of questions, as the captures above show. KCNA is the multiple-choice entry point, and the next certifications are hands-on. If the CKA is your next step, the free CKA practice tasks show what a performance task looks like. For KCNA itself, our KCNA exam prep collects the full bank of cited practice questions, the flashcards and the timed mocks in one place, so you can see when you are ready to book.
Whichever route you take, come back to the mock after each round of study and check that the weak domain has moved before you book.
5. How we wrote and checked these questions
Every question here is original. We used a large set of community questions only to confirm that our bank covers the same skills, and then ran an automated check comparing every one of our stems against that set. Any stem too close to one of them was rewritten from scratch. A reader who has memorised a dump will not recognise these, but they are tested on the same ground.
Accuracy took more work than writing. Each answer was checked against a page fetched from the official documentation on the day it was written, from kubernetes.io and cncf.io to the project docs for Helm, Argo CD, Flux, Prometheus and OpenTelemetry. A second checker then answered the whole bank blind, without the keys, and every disagreement was resolved against the docs or the cluster before the bank went live.
That process caught mistakes in our own study notes, which is a fair warning about any KCNA material you use:
- kubectl debug defaults to the general profile, not legacy
- CRI-O defaults to crun as its low-level runtime; containerd still uses runc
- Kubernetes patch support runs about 14 months: 12 months of standard support plus two months of maintenance mode
- The kubelet does not evict Pods strictly by QoS class order
None of those is obscure, and each one shows up in study notes and practice sets that were accurate a few releases ago. Kubernetes ships three minor releases a year, so a practice bank that is not rechecked against the current release goes stale faster than most people expect.
Old KCNA answers that are no longer true
Older practice sets and courses still teach these as current, and a question built on any of them will mark the right answer wrong:
- PodSecurityPolicy: removed in v1.25, replaced by Pod Security Admission
- dockershim: removed in v1.24, though Docker-built images still run
- Endpoints: deprecated since v1.33 in favour of EndpointSlice
- Ingress NGINX: the community controller (not the Ingress API) retired in March 2026, with Gateway API the recommended move
- Sidecars: native sidecar containers have been stable since v1.33
- ServiceAccount tokens: no long-lived token Secrets created automatically since v1.24
- kube-proxy IPVS mode: deprecated since v1.35
- Observability: no longer its own KCNA domain, now a competency under Cloud Native Architecture
When an older resource and the current docs disagree, the docs win. The certificate rules moved too, and KCNA is now valid for two years rather than three. Our KCNA vs KCSA vs CKA comparison covers the current renewal rules and the order we would take the five Kubernetes certifications in.