cert
cert-1
cert-2

Pass CNCF CKA Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
CKA Exam - Verified By Experts
CKA Premium Bundle
$29.98

CKA Premium Bundle

$79.99
$109.97
  • Premium File 58 Questions & Answers. Last update: Nov 26, 2026
  • Training Course 138 Video Lectures
  • Study Guide 268 Pages
 
$109.97
$79.99
accept 26 downloads in last 7 days
block-screenshots
Purchase CNCF CKA Exam Training Products Individually
CNCF CKA Premium File
Premium File 58 Q&A
$76.99$69.99
CNCF CKA Video Training Course
Training Course 138 Lectures
$21.99 $19.99
CNCF CKA PDF Study Guide
Study Guide 268 Pages
$21.99 $19.99
CNCF CKA Practice Test 41

Question 400

During cluster maintenance, an engineer finds this problem: Two API servers run but workloads use one control-plane node IP as the endpoint. Which next action is technically justified?

  1. Inspect release history and roll back to the last healthy chart revision.
  2. Use the correct CA and client certificate/key matching the endpoint's advertised TLS configuration.
  3. Configure a stable shared controlPlaneEndpoint behind a correctly configured API server load balancer.
  4. Take an authenticated etcdctl snapshot with correct endpoints and required TLS credentials.

Explanation

Correct Answer

C:

Configure a stable shared controlPlaneEndpoint behind a correctly configured API server load balancer. This correction targets the specific failure. A highly available control plane needs a stable reachable API endpoint. A successful result is: kubectl and joining nodes remain able to reach the API when one control-plane node fails.

Incorrect Answers

A:

Inspect release history and roll back to the last healthy chart revision. This procedure belongs to a different Kubernetes condition (A Helm upgrade caused a regression in a cluster add-on.). It does not directly resolve the observed failure. The targeted action is: Configure a stable shared controlPlaneEndpoint behind a correctly configured API server load balancer.

B:

Use the correct CA and client certificate/key matching the endpoint's advertised TLS configuration.

D:

Take an authenticated etcdctl snapshot with correct endpoints and required TLS credentials. This procedure belongs to a different Kubernetes condition (A stacked-etcd control plane needs a recoverable snapshot before upgrade.). It does not directly resolve the observed failure. The targeted action is: Configure a stable shared controlPlaneEndpoint behind a correctly configured API server load balancer.

Question 401

For this Kubernetes administration case, select THREE statements that correctly identify a remedy, its governing principle and verification evidence: A Service DNS resolves but connections fail and EndpointSlices contain zero ready endpoints.

  1. Explanation: Service existence does not guarantee a healthy backend endpoint.
  2. Remediation: Recover kubelet service after inspecting its systemd journal and configuration.
  3. Validation: The container runs without repeated OOM termination while maintaining node capacity.
  4. Remediation: Find and correct backend readiness or selector mismatch before changing external routing.
  5. Remediation: Add a public Ingress to a Service with no ready Pods.
  6. Validation: The Service has ready endpoints and traffic reaches them.

Explanation

Correct Answers

A:

Explanation: Service existence does not guarantee a healthy backend endpoint. This is the technical mechanism supporting the recommended operation.

D:

Remediation: Find and correct backend readiness or selector mismatch before changing external routing. The remedy targets the reported failure rather than a different subsystem. Service existence does not guarantee a healthy backend endpoint.

F:

Validation: The Service has ready endpoints and traffic reaches them. This result verifies the behavior the remediation is supposed to restore.

Incorrect Answers

B:

Remediation: Recover kubelet service after inspecting its systemd journal and configuration. This action targets a different condition (All Pods on one node disappear from monitoring after kubelet service stops.), not this reported failure: A Service DNS resolves but connections fail and EndpointSlices contain zero ready endpoints.

C:

Validation: The container runs without repeated OOM termination while maintaining node capacity. This evidence applies to a different condition (A container enters CrashLoopBackOff and lastState terminated reason is OOMKilled.), and would not verify this target fix: A Service DNS resolves but connections fail and EndpointSlices contain zero ready endpoints.

E:

Remediation: Add a public Ingress to a Service with no ready Pods. This is the unsafe shortcut for the case, not an acceptable intervention. Service existence does not guarantee a healthy backend endpoint.

Question 402

During remediation, this failure appears: The main app never starts because an initContainer image is inaccessible. Which action is the LEAST defensible?

  1. Confirm actual node conditions and allocatable resources before scheduling changes.
  2. Change the main app livenessProbe without inspecting initContainer status.
  3. Inspect Pod and component events before changing unrelated resources.
  4. Record a rollback approach before high-impact control-plane changes.

Explanation

Correct Answer

B:

Change the main app livenessProbe without inspecting initContainer status. InitContainer failures block ordinary container startup. A safer course is: Correct the initContainer image location or pull credentials.

Incorrect Answers

A:

Confirm actual node conditions and allocatable resources before scheduling changes. Scheduler behavior must be assessed against real node constraints. For the stated case, a focused correction is: Correct the initContainer image location or pull credentials.

C:

Inspect Pod and component events before changing unrelated resources. Observed events help locate the failing subsystem before a change. For the stated case, a focused correction is: Correct the initContainer image location or pull credentials.

D:

Record a rollback approach before high-impact control-plane changes. Deliberate rollback improves operational recoverability. For the stated case, a focused correction is: Correct the initContainer image location or pull credentials.

Question 403

An administrator reviews several possible responses to this condition: A team stores a critical database file in an emptyDir volume and loses it after Pod replacement. Which option creates an avoidable failure?

  1. Choose a storage access mode backed by real CSI capabilities.
  2. Review controller logs and resource status to understand reconciliation failures.
  3. Test connectivity from the affected Pod before redesigning all Services.
  4. Assume emptyDir survives arbitrary Pod deletion because it is on a disk.

Explanation

Correct Answer

D:

Assume emptyDir survives arbitrary Pod deletion because it is on a disk. emptyDir is tied to a Pod lifetime and is not durable storage. A safer course is: Use persistent storage backed by a PVC for data that must survive Pod deletion.

Incorrect Answers

A:

Choose a storage access mode backed by real CSI capabilities. Requested volume semantics still depend on the storage implementation. For the stated case, a focused correction is: Use persistent storage backed by a PVC for data that must survive Pod deletion.

B:

Review controller logs and resource status to understand reconciliation failures. Controller evidence can distinguish desired state from observed failure. For the stated case, a focused correction is: Use persistent storage backed by a PVC for data that must survive Pod deletion.

C:

Test connectivity from the affected Pod before redesigning all Services. Layered checks separate DNS, network and application failures. For the stated case, a focused correction is: Use persistent storage backed by a PVC for data that must survive Pod deletion.

Question 404

During remediation, this failure appears: A hostNetwork Pod cannot resolve cluster Services using its inherited host resolver configuration. Which action is the LEAST defensible?

  1. Set dnsPolicy Default and assume it always selects cluster DNS.
  2. Record a rollback approach before high-impact control-plane changes.
  3. Check applicable component version compatibility before upgrading.
  4. Preserve relevant logs when diagnosing a repeating container crash.

Explanation

Correct Answer

A:

Set dnsPolicy Default and assume it always selects cluster DNS. Host-networked Pods may need an explicit cluster-aware DNS policy. A safer course is: Set dnsPolicy ClusterFirstWithHostNet for the hostNetwork workload.

Incorrect Answers

B:

Record a rollback approach before high-impact control-plane changes. Deliberate rollback improves operational recoverability. For the stated case, a focused correction is: Set dnsPolicy ClusterFirstWithHostNet for the hostNetwork workload.

C:

Check applicable component version compatibility before upgrading. Supported version relationships prevent avoidable upgrade failures. For the stated case, a focused correction is: Set dnsPolicy ClusterFirstWithHostNet for the hostNetwork workload.

D:

Preserve relevant logs when diagnosing a repeating container crash. Prior process output often identifies the immediate cause. For the stated case, a focused correction is: Set dnsPolicy ClusterFirstWithHostNet for the hostNetwork workload.

Question 405

During remediation, this failure appears: A newly deployed app repeatedly exits with invalid configuration errors. Which action is the LEAST defensible?

  1. Apply scoped access rather than granting universal administration.
  2. Record a rollback approach before high-impact control-plane changes.
  3. Add replicas indefinitely while every replica exits from the same bad configuration.
  4. Validate a change with a repeatable positive and negative test.

Explanation

Correct Answer

C:

Add replicas indefinitely while every replica exits from the same bad configuration. CrashLoopBackOff is a symptom; process exit messages reveal the cause. A safer course is: Review current and previous container logs and correct the referenced configuration.

Incorrect Answers

A:

Apply scoped access rather than granting universal administration. Least privilege limits accidental or excessive authority. For the stated case, a focused correction is: Review current and previous container logs and correct the referenced configuration.

B:

Record a rollback approach before high-impact control-plane changes. Deliberate rollback improves operational recoverability. For the stated case, a focused correction is: Review current and previous container logs and correct the referenced configuration.

D:

Validate a change with a repeatable positive and negative test. A testable outcome provides stronger evidence than intent alone. For the stated case, a focused correction is: Review current and previous container logs and correct the referenced configuration.

Question 406

During remediation, this failure appears: An HTTPRoute cannot bind because its parent GatewayClass has no controller managing it. Which action is the LEAST defensible?

  1. Check applicable component version compatibility before upgrading.
  2. Verify the target cluster and namespace before mutating resources.
  3. Assume the API server automatically provisions gateway proxies for all GatewayClasses.
  4. Preserve relevant logs when diagnosing a repeating container crash.

Explanation

Correct Answer

C:

Assume the API server automatically provisions gateway proxies for all GatewayClasses. Gateway API resources require implementing controllers; resource creation alone is not data-plane setup. A safer course is: Install or select a supported Gateway API controller and provision a valid GatewayClass and Gateway.

Incorrect Answers

A:

Check applicable component version compatibility before upgrading. Supported version relationships prevent avoidable upgrade failures. For the stated case, a focused correction is: Install or select a supported Gateway API controller and provision a valid GatewayClass and Gateway.

B:

Verify the target cluster and namespace before mutating resources. Explicit target context avoids changing the wrong environment. For the stated case, a focused correction is: Install or select a supported Gateway API controller and provision a valid GatewayClass and Gateway.

D:

Preserve relevant logs when diagnosing a repeating container crash. Prior process output often identifies the immediate cause. For the stated case, a focused correction is: Install or select a supported Gateway API controller and provision a valid GatewayClass and Gateway.

Question 407

The team is reviewing this failure mode: A Gateway exists but an HTTPRoute is not attached to its listener. Which statement explains WHY the recommended control works?

  1. A single NetworkPolicy peer combining namespaceSelector and podSelector intersects their selection criteria.
  2. Ingress path routing depends on explicit path rules and controller semantics.
  3. Gateway listener constraints and route parent relationships determine attachment.
  4. Dual-stack Service allocation is constrained by cluster networking capability and IP-family policy.

Explanation

Correct Answer

C:

Gateway listener constraints and route parent relationships determine attachment. This principle explains the targeted result. A concrete response is: Correct HTTPRoute parentRefs, hostname and listener compatibility with the Gateway.

Incorrect Answers

A:

This principle is useful for another case (An API must accept ingress only from Pods labeled role=client in namespace team-a.), but does not explain the most direct solution here. Gateway listener constraints and route parent relationships determine attachment.

B:

This principle is useful for another case (Traffic to /api is routed to the frontend Service rather than the API backend.), but does not explain the most direct solution here. Gateway listener constraints and route parent relationships determine attachment.

D:

This principle is useful for another case (A dual-stack cluster Service was created with only IPv4 despite an IPv6 requirement.), but does not explain the most direct solution here. Gateway listener constraints and route parent relationships determine attachment.

Question 408

A reviewer wants proof that this issue was corrected: Multiple scheduler Pods run but none can acquire the leader lease. Which observed result is the STRONGEST evidence?

  1. Affected Pods resolve cluster and external names that policy permits.
  2. Kubelet resumes node reporting and reconciles static and managed Pods.
  3. One healthy instance holds the expected lease and scheduling resumes.
  4. Connections through the Service reach the application on the correct port.

Explanation

Correct Answer

C:

One healthy instance holds the expected lease and scheduling resumes. The corresponding action is: Check lease access, API connectivity and component identity for leader election.

Incorrect Answers

A:

Affected Pods resolve cluster and external names that policy permits. This is evidence for a separate case (Only Pods selected by a new egress policy fail DNS while other Pods resolve normally.), not for the target problem. An appropriate validation would be: One healthy instance holds the expected lease and scheduling resumes.

B:

Kubelet resumes node reporting and reconciles static and managed Pods. This is evidence for a separate case (All Pods on one node disappear from monitoring after kubelet service stops.), not for the target problem. An appropriate validation would be: One healthy instance holds the expected lease and scheduling resumes.

D:

Connections through the Service reach the application on the correct port. This is evidence for a separate case (A Service has healthy endpoints but its targetPort points to 9090 while Pods listen on 8080.), not for the target problem. An appropriate validation would be: One healthy instance holds the expected lease and scheduling resumes.

Question 409

Following this Kubernetes scenario, an operator validates remediation: Ingress answers HTTPS but returns 404 for /api while backend Service works locally. Which measurable outcome shows success?

  1. Requests for the intended host and /api path reach the API backend.
  2. The filesystem mounts and the Pod transitions to Running.
  3. Allowed Pods reach external endpoints with expected source IP routing.
  4. The container receives required config and starts without reference errors.

Explanation

Correct Answer

A:

Requests for the intended host and /api path reach the API backend. The corresponding action is: Correct the Ingress host, path and ingressClass routing configuration.

Incorrect Answers

B:

The filesystem mounts and the Pod transitions to Running. This is evidence for a separate case (A Pod remains ContainerCreating with MountVolume.SetUp failed errors.), not for the target problem. An appropriate validation would be: Requests for the intended host and /api path reach the API backend.

C:

Allowed Pods reach external endpoints with expected source IP routing. This is evidence for a separate case (Pods reach cluster Services but cannot contact external APIs from private node networks.), not for the target problem. An appropriate validation would be: Requests for the intended host and /api path reach the API backend.

D:

The container receives required config and starts without reference errors. This is evidence for a separate case (A Pod is stuck CreateContainerConfigError because a referenced ConfigMap key is absent.), not for the target problem. An appropriate validation would be: Requests for the intended host and /api path reach the API backend.

Question 410

An engineer needs to justify a change for this issue: A Java application needs two minutes to initialize but liveness checks restart it at 30 seconds. Which technical reason is MOST relevant?

  1. Startup probes delay other probes until initialization succeeds.
  2. Topology spread balances placement across labeled failure domains.
  3. Pod anti-affinity can spread replicas according to matching Pod labels.
  4. Preferred affinity guides placement without enforcing a hard constraint.

Explanation

Correct Answer

A:

Startup probes delay other probes until initialization succeeds. This principle explains the targeted result. A concrete response is: Add a startupProbe with a startup budget before liveness checking begins.

Incorrect Answers

B:

Topology spread balances placement across labeled failure domains. This principle is useful for another case (Replicas concentrate in one availability zone and violate resilience goals.), but does not explain the most direct solution here. The governing consideration is: Startup probes delay other probes until initialization succeeds.

C:

Pod anti-affinity can spread replicas according to matching Pod labels. This principle is useful for another case (Three replicas should avoid sharing one host to improve failure tolerance.), but does not explain the most direct solution here. The governing consideration is: Startup probes delay other probes until initialization succeeds.

D:

Preferred affinity guides placement without enforcing a hard constraint. This principle is useful for another case (A workload prefers zone-b for latency but can operate in other zones.), but does not explain the most direct solution here. The governing consideration is: Startup probes delay other probes until initialization succeeds.

Certified Kubernetes Administrator (CKA) Practice Tests