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 57

Question 560

Consider the following Kubernetes administration case: A Deployment must update without taking all replicas offline during rollout. Which principle BEST explains the intended solution?

  1. Secrets support sensitive configuration but still require RBAC and encryption controls.
  2. Startup probes delay other probes until initialization succeeds.
  3. Pod anti-affinity can spread replicas according to matching Pod labels.
  4. RollingUpdate availability and surge settings govern the rate of replica replacement.

Explanation

Correct Answer

D:

RollingUpdate availability and surge settings govern the rate of replica replacement. This principle explains the targeted result. A concrete response is: Tune maxUnavailable and maxSurge in the RollingUpdate strategy with adequate capacity.

Incorrect Answers

A:

This principle is useful for another case (An application password is mistakenly embedded in a ConfigMap and exposed to broad readers.), but does not explain the most direct solution here. RollingUpdate availability and surge settings govern the rate of replica replacement.

B:

This principle is useful for another case (A Java application needs two minutes to initialize but liveness checks restart it at 30 seconds.), but does not explain the most direct solution here. RollingUpdate availability and surge settings govern the rate of replica replacement.

C:

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.

Question 561

An operations team tests its response to this finding: A cleanup should run nightly but prevent overlapping executions. Which outcome most clearly establishes that the fix worked?

  1. The scheduler favors the intended zone when feasible but still permits alternatives.
  2. The Pod lands only on nodes with the confirmed GPU label and hardware.
  3. Scheduled Jobs launch on time and do not overlap while a previous run remains active.
  4. Replica count rises under load within min/max settings and scales down when demand drops.

Explanation

Correct Answer

C:

Scheduled Jobs launch on time and do not overlap while a previous run remains active. The corresponding action is: Create a CronJob with schedule and concurrencyPolicy Forbid if overlap is unsafe.

Incorrect Answers

A:

The scheduler favors the intended zone when feasible but still permits alternatives. This is evidence for a separate case (A workload prefers zone-b for latency but can operate in other zones.), not for the target problem. An appropriate validation would be: Scheduled Jobs launch on time and do not overlap while a previous run remains active.

B:

The Pod lands only on nodes with the confirmed GPU label and hardware. This is evidence for a separate case (A GPU workload was scheduled on a node without GPU hardware.), not for the target problem. An appropriate validation would be: Scheduled Jobs launch on time and do not overlap while a previous run remains active.

D:

Replica count rises under load within min/max settings and scales down when demand drops. This is evidence for a separate case (A CPU-bound deployment needs to grow replica count during sustained load.), not for the target problem. An appropriate validation would be: Scheduled Jobs launch on time and do not overlap while a previous run remains active.

Question 562

An administrator is investigating this situation: A development Service must be reachable on each eligible node at a defined node port. Which action BEST resolves the underlying issue?

  1. Use a LoadBalancer Service backed by a working provider integration.
  2. Set appropriate Service ipFamilyPolicy and ipFamilies supported by the cluster and network.
  3. Create a default-deny ingress NetworkPolicy for the sensitive namespace, then allow required traffic.
  4. Configure a NodePort Service with the appropriate servicePort, targetPort and allowed nodePort.

Explanation

Correct Answer

D:

Configure a NodePort Service with the appropriate servicePort, targetPort and allowed nodePort. This correction targets the specific failure. NodePort exposes a Service using a port on cluster nodes. A successful result is: Traffic to a suitable node IP and nodePort reaches the intended backends.

Incorrect Answers

A:

Use a LoadBalancer Service backed by a working provider integration. This procedure belongs to a different Kubernetes condition (An external HTTP service needs an infrastructure-managed public listener.). It does not directly resolve the observed failure. The targeted action is: Configure a NodePort Service with the appropriate servicePort, targetPort and allowed nodePort.

B:

Set appropriate Service ipFamilyPolicy and ipFamilies supported by the cluster and network. This procedure belongs to a different Kubernetes condition (A dual-stack cluster Service was created with only IPv4 despite an IPv6 requirement.). It does not directly resolve the observed failure. The targeted action is: Configure a NodePort Service with the appropriate servicePort, targetPort and allowed nodePort.

C:

Create a default-deny ingress NetworkPolicy for the sensitive namespace, then allow required traffic. This procedure belongs to a different Kubernetes condition (Frontend Pods can unexpectedly connect to every Pod in a sensitive namespace.). It does not directly resolve the observed failure. The targeted action is: Configure a NodePort Service with the appropriate servicePort, targetPort and allowed nodePort.

Question 563

An engineer needs to justify a change for this issue: A control-plane certificate replacement causes clients to reject the API server. Which technical reason is MOST relevant?

  1. Service routing depends on node dataplane health distinct from Pod connectivity.
  2. Resource pressure investigation requires measured utilization and scheduler reservation context.
  3. TLS validation requires matching server identity and trusted certificate chain.
  4. Autoscaling requires available metrics and valid target configuration.

Explanation

Correct Answer

C:

TLS validation requires matching server identity and trusted certificate chain. This principle explains the targeted result. A concrete response is: Validate the serving certificate SANs, trusted CA and configured server endpoint.

Incorrect Answers

A:

This principle is useful for another case (Service ClusterIP connections fail on one node even though direct Pod IP connections work.), but does not explain the most direct solution here. TLS validation requires matching server identity and trusted certificate chain.

B:

This principle is useful for another case (A node reports high CPU use and latency spikes while the scheduler keeps assigning Pods.), but does not explain the most direct solution here. TLS validation requires matching server identity and trusted certificate chain.

D:

Autoscaling requires available metrics and valid target configuration. This principle is useful for another case (HPA displays <unknown> target metrics while replicas never scale.), but does not explain the most direct solution here. The governing consideration is: TLS validation requires matching server identity and trusted certificate chain.

Question 564

In a Kubernetes cluster, the following condition is observed: A Pod is stuck CreateContainerConfigError because a referenced ConfigMap key is absent. Which remediation MOST directly addresses it?

  1. Create the expected key or correct the container's configMapKeyRef name.
  2. Test name resolution, then TCP reachability, policies and listening port stepwise.
  3. Inspect PVC binding, VolumeAttachment and CSI node plugin logs and fix the storage path.
  4. Recover the supported metrics-server installation and its APIService registration.

Explanation

Correct Answer

A:

Create the expected key or correct the container's configMapKeyRef name. This correction targets the specific failure. Required configuration references must resolve to existing keys. A successful result is: The container receives required config and starts without reference errors.

Incorrect Answers

B:

This procedure belongs to a different Kubernetes condition (An app cannot reach a database and the error is a TCP timeout, not DNS NXDOMAIN.). Test name resolution, then TCP reachability, policies and listening port stepwise.

C:

Inspect PVC binding, VolumeAttachment and CSI node plugin logs and fix the storage path.

D:

Recover the supported metrics-server installation and its APIService registration. This procedure belongs to a different Kubernetes condition (kubectl top nodes fails with Metrics API not available.). It does not directly resolve the observed failure. The targeted action is: Create the expected key or correct the container's configMapKeyRef name.

Question 565

Following this Kubernetes scenario, an operator validates remediation: An HTTP server occasionally deadlocks while its process remains running. Which measurable outcome shows success?

  1. The Pod schedules onto a node with sufficient available allocatable resources.
  2. The stuck container is restarted and subsequently returns to Ready.
  3. The Pod lands only on nodes with the confirmed GPU label and hardware.
  4. The scheduler favors the intended zone when feasible but still permits alternatives.

Explanation

Correct Answer

B:

The stuck container is restarted and subsequently returns to Ready. The corresponding action is: Configure a livenessProbe that detects the deadlock and uses safe thresholds.

Incorrect Answers

A:

The Pod schedules onto a node with sufficient available allocatable resources. This is evidence for a separate case (A Pod is Pending because requested memory exceeds all node allocatable resources.), not for the target problem. An appropriate validation would be: The stuck container is restarted and subsequently returns to Ready.

C:

The Pod lands only on nodes with the confirmed GPU label and hardware. This is evidence for a separate case (A GPU workload was scheduled on a node without GPU hardware.), not for the target problem. An appropriate validation would be: The stuck container is restarted and subsequently returns to Ready.

D:

The scheduler favors the intended zone when feasible but still permits alternatives. This is evidence for a separate case (A workload prefers zone-b for latency but can operate in other zones.), not for the target problem. An appropriate validation would be: The stuck container is restarted and subsequently returns to Ready.

Question 566

An administrator reviews several possible responses to this condition: A Gateway API route in namespace web needs to refer to a backend Service in namespace shared. Which option creates an avoidable failure?

  1. Inspect the exact Secret or ConfigMap reference without exposing credentials.
  2. Validate a change with a repeatable positive and negative test.
  3. Choose a storage access mode backed by real CSI capabilities.
  4. Remove namespace boundaries by moving every Service into default.

Explanation

Correct Answer

D:

Remove namespace boundaries by moving every Service into default. Gateway API cross-namespace references require explicit grants for relevant reference types. A safer course is: Create an authorized ReferenceGrant in the backend namespace allowing the specific cross-namespace reference.

Incorrect Answers

A:

Inspect the exact Secret or ConfigMap reference without exposing credentials. Configuration errors can be diagnosed without leaking sensitive data. For the stated case, a focused correction is: Create an authorized ReferenceGrant in the backend namespace allowing the specific cross-namespace reference.

B:

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: Create an authorized ReferenceGrant in the backend namespace allowing the specific cross-namespace reference.

C:

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: Create an authorized ReferenceGrant in the backend namespace allowing the specific cross-namespace reference.

Question 567

Consider the following Kubernetes administration case: A Deployment's Pods report CreateContainerConfigError due to a missing Secret. Which principle BEST explains the intended solution?

  1. Resource metrics API availability depends on healthy metrics-server integration.
  2. DNS, network path and application listener failures require different diagnostics.
  3. HA control-plane components coordinate active leadership through leases.
  4. Kubernetes Secret references are namespaced and need valid names and keys.

Explanation

Correct Answer

D:

Kubernetes Secret references are namespaced and need valid names and keys. This principle explains the targeted result. A concrete response is: Create the intended Secret securely or correct secretKeyRef and namespace.

Incorrect Answers

A:

Resource metrics API availability depends on healthy metrics-server integration. This principle is useful for another case (kubectl top nodes fails with Metrics API not available.), but does not explain the most direct solution here. The governing consideration is: Kubernetes Secret references are namespaced and need valid names and keys.

B:

This principle is useful for another case (An app cannot reach a database and the error is a TCP timeout, not DNS NXDOMAIN.), but does not explain the most direct solution here. Kubernetes Secret references are namespaced and need valid names and keys.

C:

HA control-plane components coordinate active leadership through leases. This principle is useful for another case (Multiple scheduler Pods run but none can acquire the leader lease.), but does not explain the most direct solution here. The governing consideration is: Kubernetes Secret references are namespaced and need valid names and keys.

Question 568

An operations team tests its response to this finding: A Service DNS resolves but connections fail and EndpointSlices contain zero ready endpoints. Which outcome most clearly establishes that the fix worked?

  1. New Pods obtain unique Pod IPs without collision after capacity remediation.
  2. The Service has ready endpoints and traffic reaches them.
  3. Scheduler reservation and request totals explain the failed scheduling decision.
  4. etcd health is restored and API read/write latency returns to acceptable levels.

Explanation

Correct Answer

B:

The Service has ready endpoints and traffic reaches them. The corresponding action is: Find and correct backend readiness or selector mismatch before changing external routing.

Incorrect Answers

A:

New Pods obtain unique Pod IPs without collision after capacity remediation. This is evidence for a separate case (A CNI plugin fails to allocate Pod addresses as a node's Pod CIDR fills.), not for the target problem. An appropriate validation would be: The Service has ready endpoints and traffic reaches them.

C:

Scheduler reservation and request totals explain the failed scheduling decision. This is evidence for a separate case (A node appears idle by CPU usage but a new Pod is unschedulable with Insufficient cpu.), not for the target problem. An appropriate validation would be: The Service has ready endpoints and traffic reaches them.

D:

Etcd health is restored and API read/write latency returns to acceptable levels. This is evidence for a separate case (The API server is slow and logs show etcd request timeouts.), not for the target problem. An appropriate validation would be: The Service has ready endpoints and traffic reaches them.

Question 569

An administrator is investigating this situation: A recent Deployment image change causes requests to fail and the previous revision worked. Which action BEST resolves the underlying issue?

  1. Use a Job with restart and backoff settings appropriate for finite completion.
  2. Use an initContainer for prerequisite checks or initialization steps.
  3. Roll back the Deployment to a known healthy revision using rollout undo.
  4. Mount a ConfigMap as a volume or use its keys in environment configuration as appropriate.

Explanation

Correct Answer

C:

Roll back the Deployment to a known healthy revision using rollout undo. This correction targets the specific failure. Deployment rollout history can support a controlled rollback without rebuilding manifests. A successful result is: Healthy replicas return to the previous image and readiness is restored.

Incorrect Answers

A:

Use a Job with restart and backoff settings appropriate for finite completion.

B:

Use an initContainer for prerequisite checks or initialization steps. This procedure belongs to a different Kubernetes condition (An application fails because its database initialization must happen before the main process.). It does not directly resolve the observed failure. The targeted action is: Roll back the Deployment to a known healthy revision using rollout undo.

D:

Mount a ConfigMap as a volume or use its keys in environment configuration as appropriate. This procedure belongs to a different Kubernetes condition (A workload requires a nonsecret configuration file that varies per namespace.). It does not directly resolve the observed failure. The targeted action is: Roll back the Deployment to a known healthy revision using rollout undo.

Question 570

During cluster maintenance, an engineer finds this problem: A new storage integration must provision volumes without modifying kubelet core code. Which next action is technically justified?

  1. Use drain when eviction is needed; cordon alone only prevents new scheduling.
  2. Correct the kubelet CRI endpoint and verify runtime socket availability.
  3. Inspect release history and roll back to the last healthy chart revision.
  4. Install a supported CSI driver and associated controller/node components.

Explanation

Correct Answer

D:

Install a supported CSI driver and associated controller/node components. This correction targets the specific failure. CSI decouples storage provider implementation from Kubernetes core. A successful result is: CSI objects and drivers become registered and claims can be provisioned.

Incorrect Answers

A:

Use drain when eviction is needed; cordon alone only prevents new scheduling.

B:

Correct the kubelet CRI endpoint and verify runtime socket availability. This procedure belongs to a different Kubernetes condition (A node image update changes the runtime socket and kubelet can no longer create containers.). It does not directly resolve the observed failure. The targeted action is: Install a supported CSI driver and associated controller/node components.

C:

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: Install a supported CSI driver and associated controller/node components.

Certified Kubernetes Administrator (CKA) Practice Tests