Skip to content

Kubernetes and Cloud Native Associate (KCNA) - Practice Questions

15 questions for KCNA prep, weighted toward Kubernetes fundamentals (46%) and container orchestration (22%), which together are more than two thirds of the exam.

KCNA is multiple choice and knowledge-based, so this format matches the real thing closely.

Cert page: exams/kubernetes/kcna/


Question 1

Scenario: Which control plane component decides which node a new pod runs on?

A. kube-proxy on each node B. kubelet C. kube-controller-manager D. kube-scheduler

Answer **Correct: D** **Why:** The scheduler watches for pods with no assigned node and picks one based on resource requests, affinity, taints, and other constraints. The kubelet runs pods once assigned. The controller manager reconciles higher-level objects toward their desired state. kube-proxy implements Service networking on each node.

Question 2

Scenario: A team wants the smallest deployable unit in Kubernetes described accurately.

A. A node, which is the machine that runs the container runtime and hosts the pods assigned to it B. A container, which Kubernetes schedules and restarts directly without any wrapper object around it C. A pod, which holds one or more containers that share a network namespace and can share storage volumes between them D. A Deployment, which declares the replica count and rolling update strategy for a set of identical workloads

Answer **Correct: C** **Why:** Kubernetes never schedules a bare container; it schedules pods. Containers in a pod share a network namespace (so they reach each other on `localhost`) and can share volumes. A Deployment manages pods, and a node is the machine they land on.

Question 3

Scenario: Which object guarantees a copy of a pod runs on every node, including nodes added later?

A. DaemonSet, one pod per node B. StatefulSet, ordered pods with stable names C. Deployment, a set of identical replicas D. ReplicaSet

Answer **Correct: A** **Why:** A DaemonSet is the "one per node" controller, which is why log collectors, CNI agents, and node exporters use it. Deployments and ReplicaSets manage a replica count without node affinity. StatefulSets give stable identities and ordered rollout for stateful workloads.

Question 4

Scenario: What does the Kubernetes control loop actually do?

A. Schedules cron jobs at the times listed in the CronJob objects and records the result of each run B. Continuously compares desired state in the API to observed state and acts to close the gap between the two C. Executes commands in the exact order an operator typed them, replaying the whole history if a node restarts later on D. Runs a fixed installation script when the cluster is created and never looks at the cluster state again after that

Answer **Correct: B** **Why:** Declarative reconciliation is the central idea. You state what you want, controllers observe what is, and they act repeatedly to converge. This is why deleting a pod managed by a Deployment gets you a replacement rather than an outage, and why the API is the source of truth rather than the command history.

Question 5

Scenario: Which of these is the container runtime interface Kubernetes uses to talk to runtimes such as containerd?

A. CRI B. CSI, the container storage interface that lets the kubelet attach volumes from storage vendor drivers C. CNI, the container network interface that sets up pod networking through plugins such as Calico or Cilium D. OCI, the open container initiative image and runtime specification that containerd and runc implement

Answer **Correct: A** **Why:** CRI is the runtime interface between kubelet and the container runtime. CNI is networking, CSI is storage, and OCI is the specification for image and runtime formats that the runtimes themselves implement. Knowing which acronym covers which layer is standard KCNA material.

Question 6

Scenario: A cluster's data store holds all API objects and cluster state.

A. PostgreSQL B. Redis C. etcd, a key-value store D. The kubelet's local disk on each node

Answer **Correct: C** **Why:** etcd is the consistent key-value store behind the API server, and it is the thing you must back up to recover a cluster. Nothing else in the list is a supported backing store for upstream Kubernetes.

Question 7

Scenario: What is the purpose of a namespace?

A. A separate control plane with its own API server B. A logical grouping for names, RBAC scope, and resource quotas C. Network encryption between the pods in the group D. Physical isolation across nodes, so the pods of one namespace never share a machine with another namespace

Answer **Correct: B** **Why:** Namespaces scope object names and provide a boundary for RBAC and quotas. They are not a security boundary at the kernel or network level: pods in different namespaces can talk to each other by default and share the node's kernel.

Question 8

Scenario: Which project provides the packaging and templating format most commonly used to install applications on Kubernetes?

A. Helm, with versioned charts B. Envoy C. Fluentd D. Prometheus, a time series monitoring server

Answer **Correct: A** **Why:** Helm charts package manifests with templated values and a release lifecycle. Prometheus is monitoring, Envoy is a proxy used by service meshes, and Fluentd is log collection. KCNA expects you to know the shape of the CNCF landscape by category.

Question 9

Scenario: The three pillars of observability, as the cloud native community usually states them.

A. CPU, RAM, disk B. Logs, metrics, traces C. Alerts, dashboards, runbooks D. Availability, latency, throughput

Answer **Correct: B** **Why:** Logs are discrete events, metrics are aggregated numbers over time, and traces follow a request across services. Alerts and dashboards are things you build on top of these. The last option lists service level indicators, which are what you measure, not how you collect it.

Question 10

Scenario: Which statement about containers versus virtual machines is correct?

A. Containers include their own kernel, packaged in the image alongside the application and its libraries B. Containers share the host kernel, isolated by namespaces and cgroups C. Containers cannot limit memory, because only a hypervisor can enforce resource caps on a workload D. VMs start faster than containers, since a hypervisor boots from a small image and skips image pulls

Answer **Correct: B** **Why:** Sharing the kernel is what makes containers small and fast to start, and it is also why kernel-level isolation is weaker than a VM's. Namespaces provide the isolated view and cgroups provide the resource limits. Containers absolutely can limit memory, via cgroups.

Question 11

Scenario: An application should scale up when average CPU utilization exceeds 70%.

A. Cluster Autoscaler, which adds nodes when pods cannot be scheduled and removes nodes that sit mostly empty B. Vertical Pod Autoscaler, which raises pod requests C. PodDisruptionBudget, which limits evictions D. Horizontal Pod Autoscaler, which adds replicas to hit a target

Answer **Correct: D** **Why:** HPA adds and removes pod replicas based on a metric target. VPA changes the requests and limits of existing pods. Cluster Autoscaler adds and removes nodes, and it typically works together with HPA rather than instead of it. A PDB constrains voluntary disruption.

Question 12

Scenario: What does GitOps mean in one sentence?

A. Hosting your code on GitHub, with pull requests as the way that changes reach the main branch B. Running CI pipelines for every commit, with the build and test results reported back to the pull request C. Using git tags for releases, so every release has a version number that can be traced to a commit D. Declaring desired state in git, with an agent that reconciles the cluster to match

Answer **Correct: D** **Why:** The OpenGitOps principles are declarative, versioned and immutable, pulled automatically, and continuously reconciled. The pull-and-reconcile part is what separates GitOps from a pipeline that pushes with `kubectl apply`. Argo CD and Flux are the common implementations.

Question 13

Scenario: Which best describes a service mesh?

A. A container registry that stores, scans, and signs images B. A CNI plugin that gives each pod an IP address C. A layer of sidecar or node proxies for traffic management, mTLS, and telemetry D. A storage backend offering replicated block volumes

Answer **Correct: C** **Why:** A mesh moves cross-cutting network concerns out of application code into proxies. Istio and Linkerd are the common examples. It sits above the CNI, which provides basic pod connectivity, rather than replacing it.

Question 14

Scenario: What is the CNCF's role in the projects it hosts?

A. It provides vendor-neutral governance, hosting projects at sandbox, incubating, and graduated maturity levels, under the Linux Foundation B. It sells the software under a commercial licence and provides paid support for each project it hosts C. It certifies cloud providers only, checking that their managed services follow the Kubernetes conformance tests D. It writes all the code, with a staff of engineers employed by the foundation to maintain every project

Answer **Correct: A** **Why:** The CNCF is a Linux Foundation project that provides neutral home, governance, and marketing for cloud native projects, and it stages them through sandbox, incubating, and graduated. Kubernetes, Prometheus, and Envoy are graduated examples. The code comes from the contributing community, not the foundation.

Question 15

Scenario: A container image should be identified in a way that cannot change under you.

A. The latest tag, which always points to the newest build and so keeps the deployment up to date B. The image name alone, which is enough because registries keep one image per repository name C. A digest, such as image@sha256:... D. A semantic version tag such as v1.4.2, which is readable but which maintainers can move to a different build

Answer **Correct: C** **Why:** A digest is a content hash, so it always refers to exactly the same bytes. Tags are mutable pointers: `latest` and even a version tag can be re-pushed. Using digests is a small change that gives you reproducible deployments and closes a real supply chain gap.

Where to go deeper