Linux Foundation KCNA Practice Exam Questions & Answers

5 Free Questions · Last reviewed: September 15, 2026 · Prepared & Reviewed by the ValidExamDumps Editorial Team

Exam Facts

Linux Foundation KCNA Exam Details

Key details for this exam, checked against the published exam outline

240 Practice Questions (Our Bank)
90 minutes Exam Duration
75% Passing Score
USD 250 Exam Fee
Exam Code
KCNA
Full Name
Kubernetes and Cloud Native Associate
Issuing Body
Cloud Native Computing Foundation (CNCF) / Linux Foundation
Question Format (Our Bank)
Multiple Choice
Delivery
Online proctored
Eligibility
No prerequisites
Validity
2 years
Practice Questions

Free KCNA Practice Questions

Each question shows the correct answer and an explanation of why it is right

VA
ValidExamDumps Editorial Team Every question and its answer is checked by our KCNA exam preparation team, who also write the explanation shown with each one. How we research and review these pages

What does the livenessProbe in Kubernetes help detect?

Correct Answer: D
Explanation

The liveness probe in Kubernetes is designed to detect whether a container is still running correctly or has entered a failed or unresponsive state. Its primary purpose is to determine whether a container should be restarted. When a liveness probe fails repeatedly, Kubernetes assumes the container is unhealthy and automatically restarts it to restore normal operation.

Option D correctly describes this behavior. Liveness probes are used to identify situations where an application is running but no longer functioning as expected---for example, a deadlock, infinite loop, or hung process that cannot recover on its own. In such cases, restarting the container is often the most effective remediation, and Kubernetes handles this automatically through the liveness probe mechanism.

Option A is incorrect because readiness probes---not liveness probes---determine whether a container is ready to receive traffic. A container can be alive but not ready, such as during startup or temporary maintenance. Option B is incorrect because startup success is handled by startup probes, which are specifically designed to manage slow-starting applications and delay liveness and readiness checks until initialization is complete. Option C is incorrect because exceeding resource limits is managed by the container runtime and kubelet (for example, OOMKills), not by probes.

Liveness probes can be implemented using HTTP requests, TCP socket checks, or command execution inside the container. If the probe fails beyond a configured threshold, Kubernetes restarts the container according to the Pod's restart policy. This self-healing behavior is a core feature of Kubernetes and contributes significantly to application reliability.

Kubernetes documentation emphasizes using liveness probes carefully, as misconfiguration can cause unnecessary restarts. However, when used correctly, they provide a powerful way to automatically recover from application-level failures that Kubernetes cannot otherwise detect.

In summary, the liveness probe's role is to detect when a container is unresponsive and needs to be restarted, making option D the correct and fully verified answer.

Which statement about Ingress is correct?

Correct Answer: D
Explanation

Ingress is the Kubernetes API resource for defining external HTTP/HTTPS routing into the cluster, so D is correct. An Ingress object specifies rules such as hostnames (e.g., app.example.com), URL paths (e.g., /api), and TLS configuration, mapping those routes to Kubernetes Services. This provides Layer 7 routing capabilities beyond what a basic Service offers.

Ingress is not a Service type (so B is wrong). Service types (ClusterIP, NodePort, LoadBalancer, ExternalName) are part of the Service API and operate at Layer 4. Ingress is a separate API object that depends on an Ingress Controller to actually implement routing. The controller watches Ingress resources and configures a reverse proxy/load balancer (like NGINX, HAProxy, or a cloud load balancer integration) to enforce the desired routing. Without an Ingress Controller, creating an Ingress object alone will not route traffic.

Option A describes endpoint tracking (that's closer to Endpoints/EndpointSlice). Option C describes NetworkPolicy, which controls allowed network flows between Pods/namespaces. Ingress is about exposing and routing incoming application traffic from outside the cluster to internal Services.

So the verified correct statement is D: Ingress exposes routes from outside the cluster to Services in the cluster.

What default level of protection is applied to the data in Secrets in the Kubernetes API?

Correct Answer: D
Explanation

Kubernetes Secrets are designed to store sensitive data such as tokens, passwords, or certificates and make them available to Pods in controlled ways (as environment variables or mounted files). However, the default protection applied to Secret values in the Kubernetes API is base64 encoding, not encryption. That is why D is correct. Base64 is an encoding scheme that converts binary data into ASCII text; it is reversible and does not provide confidentiality.

By default, Secret objects are stored in the cluster's backing datastore (commonly etcd) as base64-encoded strings inside the Secret manifest. Unless the cluster is configured for encryption at rest, those values are effectively stored unencrypted in etcd and may be visible to anyone who can read etcd directly or who has API permissions to read Secrets. This distinction is critical for security: base64 can prevent accidental issues with special characters in YAML/JSON, but it does not protect against attackers.

Option A is only correct if encryption at rest is explicitly configured on the API server using an EncryptionConfiguration (for example, AES-CBC or AES-GCM providers). Many managed Kubernetes offerings enable encryption at rest for etcd as an option or by default, but that is a deployment choice, not the universal Kubernetes default. Option C is incorrect because hashing is used for verification, not for secret retrieval; you typically need to recover the original value, so hashing isn't suitable for Secrets. Option B (''plain text'') is misleading: the stored representation is base64-encoded, but because base64 is reversible, the security outcome is close to plain text unless encryption at rest and strict RBAC are in place.

The correct operational stance is: treat Kubernetes Secrets as sensitive; lock down access with RBAC, enable encryption at rest, avoid broad Secret read permissions, and consider external secret managers when appropriate. But strictly for the question's wording---default level of protection---base64 encoding is the right answer.

What is the core functionality of GitOps tools like Argo CD and Flux?

Correct Answer: D
Explanation

The defining capability of GitOps controllers such as Argo CD and Flux is continuous reconciliation: they compare the desired state stored in Git to the actual state in the cluster and then alert and/or correct drift, making D correct. In GitOps, Git becomes the single source of truth for declarative configuration (Kubernetes manifests, Helm charts, Kustomize overlays). The controller watches Git for changes and applies them, and it also watches the cluster for divergence.

This is more than ''auditing human changes'' (option A). GitOps does provide auditability because changes are made via commits and pull requests, but the core functionality is the reconciliation loop that keeps cluster state aligned with Git, including optional automated sync/remediation. Option B is not accurate because GitOps is not about tracking user Git commands; it's about reconciling desired state definitions. Option C (automatically creating pull requests for outdated dependencies) is a useful feature in some tooling ecosystems, but it is not the central defining behavior of GitOps controllers.

In Kubernetes delivery terms, this approach improves reliability: rollouts become repeatable, configuration drift is detected, and recovery is simpler (reapply known-good state from Git). It also supports separation of duties: platform teams can control policies and base layers, while app teams propose changes via PRs.

So the verified statement is: GitOps tools continuously reconcile Git desired state with cluster actual state---exactly option D.

What is the correct hierarchy of Kubernetes components?

Correct Answer: C
Explanation

The correct answer is C: Cluster Nodes Pods Containers. This expresses the fundamental structural relationship in Kubernetes. A cluster is the overall system (control plane + nodes) that runs your workloads. Inside the cluster, you have nodes (worker machines---VMs or bare metal) that provide CPU, memory, storage, and networking. The scheduler assigns workloads to nodes.

Workloads are executed as Pods, which are the smallest deployable units Kubernetes schedules. Pods represent one or more containers that share networking (one Pod IP and port space) and can share storage volumes. Within each Pod are containers, which are the actual application processes packaged with their filesystem and runtime dependencies.

The other options are incorrect because they break these containment relationships. Containers do not contain Pods; Pods contain containers. Nodes do not exist ''inside'' Pods; Pods run on nodes. And the cluster is the top-level boundary that contains nodes and orchestrates Pods.

This hierarchy matters for troubleshooting and design. If you're thinking about capacity, you reason at the node and cluster level (node pools, autoscaling, quotas). If you're thinking about application scaling, you reason at the Pod level (replicas, HPA, readiness probes). If you're thinking about process-level concerns, you reason at the container level (images, security context, runtime user, resources). Kubernetes intentionally uses this layered model so that scheduling and orchestration operate on Pods, while the container runtime handles container execution details.

So the accurate hierarchy from largest to smallest unit is: Cluster Nodes Pods Containers, which corresponds to C.

Get Full Access

240 questions covering all exam domains, starting from $20

Study Guide

What the Linux Foundation KCNA Exam Covers

Exam domains verified against: Official Linux Foundation KCNA exam guide, last checked September 2026.

Domain 1: Kubernetes Fundamentals 44%

Master the core Kubernetes architecture including containers, pods, nodes, and clusters. Learn to deploy applications using basic kubectl commands and understand the fundamental building blocks of container orchestration.

Sample questions from this domain above: Q1Q2Q4

Domain 2: Container Orchestration 28%

Understand how Kubernetes handles networking, storage, and security across distributed systems. Study troubleshooting techniques and how orchestration differs from traditional environments.

Sample questions from this domain above: Q3Q5

Domain 3: Cloud Native Architecture 12%

Explore the broader cloud native ecosystem and CNCF projects. Learn observability practices and the principles that guide cloud native application design and deployment.

Domain 4: Cloud Native Application Delivery 16%

Study how to deliver and monitor applications in distributed environments. Develop skills in debugging cloud native applications and implementing effective deployment strategies.

FAQ

KCNA Exam FAQ

Common questions about the exam itself

Is KCNA harder than CKA and CKAD?
KCNA is designed as a foundational, multiple-choice exam testing conceptual understanding, whereas CKA and CKAD are hands-on, performance-based exams requiring practical problem-solving in a live Kubernetes environment. KCNA is the natural starting point before attempting the harder professional-level certifications.
What background do I need before taking KCNA?
There are no formal prerequisites for KCNA. However, basic Linux knowledge and familiarity with command-line operations are helpful. The exam tests your understanding of cloud native concepts rather than hands-on skills, making it accessible to students and career changers new to Kubernetes.
Which KCNA domain gives candidates the most trouble?
Container Orchestration, which covers networking, storage, security, and troubleshooting, tends to be challenging because it requires understanding how multiple Kubernetes components work together. Focus on practical scenarios and how these domains interact rather than memorizing isolated concepts.
How long should I study for KCNA?
Most candidates prepare for 4 to 8 weeks depending on their background. With prior Kubernetes or cloud infrastructure experience, you might prepare in 4 weeks. If you are new to the topic, plan for 6 to 8 weeks of consistent study combining course material with practice questions.
What happens on KCNA exam day?
You take the exam online with a proctor monitoring your session. The exam runs in the PSI Secure Browser and consists of 60 multiple-choice questions delivered over 90 minutes. You have 12 months from purchase to schedule your exam attempt and should test your system 24 hours before your appointment.
Can I retake KCNA if I fail?
Yes. Your $250 exam fee includes one free retake. If you use that retake or need additional attempts, each subsequent attempt costs $250. You must wait 14 days before retaking the exam after a failed attempt.
How long does my KCNA certification last?
Your KCNA certification remains valid for 2 years. You can automatically renew it through the CARE program if you pass any higher-level Kubernetes certification like KCSA, CKA, CKAD, or CKS. Otherwise, you need to retake the exam to recertify.
What job roles does KCNA prepare me for?
KCNA is ideal for developers transitioning to cloud platforms, systems administrators exploring containerization, and IT professionals validating foundational cloud native knowledge. It demonstrates basic competency for entry-level cloud native positions and serves as a stepping stone before pursuing professional-level Kubernetes roles.
Where does KCNA fit in the Kubernetes certification path?
KCNA is the pre-professional entry point in the Linux Foundation Kubernetes track. After KCNA, you can advance to CKA for operations and administration, CKAD for application developers, or KCSA for security-focused roles. Multiple certifications can be pursued in any order once you hold KCNA.
Is KCNA only multiple-choice or does it include hands-on tasks?
KCNA is entirely multiple-choice with no hands-on, practical components. This distinguishes it from CKA and CKAD, which require you to solve real problems in a live Kubernetes cluster. The conceptual focus makes KCNA more accessible for beginners while CKA and CKAD validate operational expertise.