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 25

Question 240

An operations team tests its response to this finding: After a malformed YAML edit, kubelet stops running kube-controller-manager. Which outcome most clearly establishes that the fix worked?

  1. The static Pod reappears and the component starts successfully.
  2. The identified workload and node saturation explain latency and a targeted capacity change restores headroom.
  3. kubectl reaches the intended API endpoint without changing workloads.
  4. The HTTPRoute reference resolves and accepted traffic reaches intended backends.

Explanation

Correct Answer

A:

The static Pod reappears and the component starts successfully. This outcome shows the required behavior after correction. The corresponding action is: Validate static Pod YAML syntax and restore the last correct manifest version.

Incorrect Answers

B:

The identified workload and node saturation explain latency and a targeted capacity change restores headroom. This is evidence for a separate case (A node reports high CPU use and latency spikes while the scheduler keeps assigning Pods.), not for the target problem. An appropriate validation would be: The static Pod reappears and the component starts successfully.

C:

Kubectl reaches the intended API endpoint without changing workloads. This is evidence for a separate case (kubectl suddenly reports connection refused after the team changed contexts.), not for the target problem. An appropriate validation would be: The static Pod reappears and the component starts successfully.

D:

The HTTPRoute reference resolves and accepted traffic reaches intended backends. This is evidence for a separate case (An HTTPRoute is not serving traffic and its status reports ResolvedRefs False.), not for the target problem. An appropriate validation would be: The static Pod reappears and the component starts successfully.

Question 241

A cluster issue is reported: An HTTP server occasionally deadlocks while its process remains running. What practical check most directly confirms the suspected cause?

  1. Inspect kubectl get job and completion conditions along with Job Pod exit status.
  2. Run kubectl top pods and inspect HPA conditions and Pod CPU requests.
  3. Inspect kubectl describe pod and restartCount alongside probe failure events.
  4. Compare Pod creation timestamps after kubectl rollout restart deployment/web.

Explanation

Correct Answer

C:

Inspect kubectl describe pod and restartCount alongside probe failure events. This diagnostic examines the relevant resource or subsystem. Liveness probes trigger container recovery when the application cannot progress. The validating result would be: The stuck container is restarted and subsequently returns to Ready.

Incorrect Answers

A:

This check is appropriate to the separate problem (A batch import must succeed once and then stop rather than keep restarting forever.), but it is not the direct diagnostic for the described failure.

B:

This check is appropriate to the separate problem (HPA reports unknown CPU utilization although Pods are running.), but it is not the direct diagnostic for the described failure. Inspect kubectl describe pod and restartCount alongside probe failure events.

D:

This check is appropriate to the separate problem (A Deployment consumes a ConfigMap through env vars and existing Pods still have old values.), but it is not the direct diagnostic for the described failure. Inspect kubectl describe pod and restartCount alongside probe failure events.

Question 242

A cluster administrator must address the following case: An HTTPRoute is not serving traffic and its status reports ResolvedRefs False. Select TWO appropriate statements, one corrective action and one observable outcome.

  1. Remediation: Correct the invalid backend Service reference or required cross-namespace ReferenceGrant.
  2. Validation: HPA displays metrics and scales according to observed demand.
  3. Remediation: Correlate namespaced events, Pod conditions, restart data and timestamped logs.
  4. Remediation: Restart unrelated worker kubelet services without inspecting Gateway conditions.
  5. Validation: The HTTPRoute reference resolves and accepted traffic reaches intended backends.

Explanation

Correct Answers

A:

Remediation: Correct the invalid backend Service reference or required cross-namespace ReferenceGrant. The remedy targets the reported failure rather than a different subsystem. Gateway API status conditions identify invalid reference wiring.

E:

Validation: The HTTPRoute reference resolves and accepted traffic reaches intended backends. This result verifies the behavior the remediation is supposed to restore.

Incorrect Answers

B:

Validation: HPA displays metrics and scales according to observed demand. This evidence applies to a different condition (HPA displays <unknown> target metrics while replicas never scale.), and would not verify this target fix: An HTTPRoute is not serving traffic and its status reports ResolvedRefs False.

C:

Remediation: Correlate namespaced events, Pod conditions, restart data and timestamped logs. This action targets a different condition (An incident responder sees Pod recreation, image pull and readiness failures and needs the order of events.), not this reported failure: An HTTPRoute is not serving traffic and its status reports ResolvedRefs False.

D:

Remediation: Restart unrelated worker kubelet services without inspecting Gateway conditions. This is the unsafe shortcut for the case, not an acceptable intervention. Gateway API status conditions identify invalid reference wiring.

Question 243

A review finds this Kubernetes issue: A node image update changes the runtime socket and kubelet can no longer create containers. Which suggestion would make troubleshooting or security worse?

  1. Change the cluster DNS ConfigMap as a fix for runtime socket failure.
  2. Verify the target cluster and namespace before mutating resources.
  3. Check applicable component version compatibility before upgrading.
  4. Preserve relevant logs when diagnosing a repeating container crash.

Explanation

Correct Answer

A:

Change the cluster DNS ConfigMap as a fix for runtime socket failure. The CRI is the node-side interface for container lifecycle management. A safer course is: Correct the kubelet CRI endpoint and verify runtime socket availability.

Incorrect Answers

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: Correct the kubelet CRI endpoint and verify runtime socket availability.

C:

Check applicable component version compatibility before upgrading. Supported version relationships prevent avoidable upgrade failures. For the stated case, a focused correction is: Correct the kubelet CRI endpoint and verify runtime socket availability.

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: Correct the kubelet CRI endpoint and verify runtime socket availability.

Question 244

A Kubernetes operations team observes the following: Traffic to /api is routed to the frontend Service rather than the API backend. What is the MOST appropriate corrective action?

  1. Use a LoadBalancer Service backed by a working provider integration.
  2. Correct Ingress paths and pathType mapping to the proper Service backends.
  3. Inspect CoreDNS forward configuration, upstream resolver reachability and network policies.
  4. Create an ingress policy selecting the API Pods with combined namespaceSelector and podSelector peer criteria.

Explanation

Correct Answer

B:

Correct Ingress paths and pathType mapping to the proper Service backends. This correction targets the specific failure. Ingress path routing depends on explicit path rules and controller semantics. A successful result is: Requests to /api reach the API and / reach the frontend.

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: Correct Ingress paths and pathType mapping to the proper Service backends.

C:

Inspect CoreDNS forward configuration, upstream resolver reachability and network policies. This procedure belongs to a different Kubernetes condition (Internal Service names resolve but Pods cannot resolve public domains through CoreDNS.). It does not directly resolve the observed failure. The targeted action is: Correct Ingress paths and pathType mapping to the proper Service backends.

D:

This procedure belongs to a different Kubernetes condition (An API must accept ingress only from Pods labeled role=client in namespace team-a.). Create an ingress policy selecting the API Pods with combined namespaceSelector and podSelector peer criteria.

Question 245

A reviewer wants proof that this issue was corrected: Pods cannot resolve cluster Service names and CoreDNS Pods are CrashLoopBackOff. Which observed result is the STRONGEST evidence?

  1. One healthy instance holds the expected lease and scheduling resumes.
  2. CoreDNS becomes Ready and service DNS lookups succeed.
  3. EndpointSlices contain the expected ready frontend Pods and requests succeed.
  4. The investigation identifies the first failed networking layer and a targeted fix restores connectivity.

Explanation

Correct Answer

B:

CoreDNS becomes Ready and service DNS lookups succeed. The corresponding action is: Review CoreDNS logs and Corefile configuration, then restore a valid DNS Deployment.

Incorrect Answers

A:

One healthy instance holds the expected lease and scheduling resumes. This is evidence for a separate case (Multiple scheduler Pods run but none can acquire the leader lease.), not for the target problem. An appropriate validation would be: CoreDNS becomes Ready and service DNS lookups succeed.

C:

EndpointSlices contain the expected ready frontend Pods and requests succeed. This is evidence for a separate case (A newly deployed Service selector uses app=front while Pods are labeled app=frontend.), not for the target problem. An appropriate validation would be: CoreDNS becomes Ready and service DNS lookups succeed.

D:

The investigation identifies the first failed networking layer and a targeted fix restores connectivity. This is evidence for a separate case (An app cannot reach a database and the error is a TCP timeout, not DNS NXDOMAIN.), not for the target problem. An appropriate validation would be: CoreDNS becomes Ready and service DNS lookups succeed.

Question 246

A platform engineer receives this incident: A workload requires a nonsecret configuration file that varies per namespace. Which change should be made first after validating the facts?

  1. Mount a ConfigMap as a volume or use its keys in environment configuration as appropriate.
  2. Update the image on the Deployment and observe its rolling rollout.
  3. Configure pod anti-affinity using appropriate topologyKey and workload labels.
  4. Create a CronJob with schedule and concurrencyPolicy Forbid if overlap is unsafe.

Explanation

Correct Answer

A:

Mount a ConfigMap as a volume or use its keys in environment configuration as appropriate. This correction targets the specific failure. ConfigMaps separate ordinary configuration from container images. A successful result is: The application reads the intended namespace configuration and the Pod references the ConfigMap.

Incorrect Answers

B:

This procedure belongs to a different Kubernetes condition (A Deployment is using image v1 but needs a controlled update to image v2.). Update the image on the Deployment and observe its rolling rollout.

C:

Configure pod anti-affinity using appropriate topologyKey and workload labels. This procedure belongs to a different Kubernetes condition (Three replicas should avoid sharing one host to improve failure tolerance.). It does not directly resolve the observed failure. The targeted action is: Mount a ConfigMap as a volume or use its keys in environment configuration as appropriate.

D:

This procedure belongs to a different Kubernetes condition (A cleanup should run nightly but prevent overlapping executions.). Create a CronJob with schedule and concurrencyPolicy Forbid if overlap is unsafe.

Question 247

During remediation, this failure appears: A PVC is nearly full and its backing CSI driver supports growth. Which action is the LEAST defensible?

  1. Use a staged rollout and observe readiness before full deployment.
  2. Choose a storage access mode backed by real CSI capabilities.
  3. Check applicable component version compatibility before upgrading.
  4. Edit only the Pod's emptyDir sizeLimit and assume persistent volume grows.

Explanation

Correct Answer

D:

Edit only the Pod's emptyDir sizeLimit and assume persistent volume grows. Volume expansion requires storage class permission and driver support, sometimes filesystem growth. A safer course is: Enable supported volume expansion and increase PVC requested storage safely.

Incorrect Answers

A:

Use a staged rollout and observe readiness before full deployment. Staged changes reduce simultaneous loss of healthy replicas. For the stated case, a focused correction is: Enable supported volume expansion and increase PVC requested storage safely.

B:

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: Enable supported volume expansion and increase PVC requested storage safely.

C:

Check applicable component version compatibility before upgrading. Supported version relationships prevent avoidable upgrade failures. For the stated case, a focused correction is: Enable supported volume expansion and increase PVC requested storage safely.

Question 248

During cluster maintenance, an engineer finds this problem: A Deployment consumes a ConfigMap through env vars and existing Pods still have old values. Which next action is technically justified?

  1. Configure a readinessProbe that tests the actual application readiness endpoint.
  2. Update the ConfigMap and roll out fresh Pods when environment variables need refresh.
  3. Use preferredDuringSchedulingIgnoredDuringExecution node affinity with weights.
  4. Adjust realistic resource requests or add capacity before scheduling.

Explanation

Correct Answer

B:

Update the ConfigMap and roll out fresh Pods when environment variables need refresh. This correction targets the specific failure. Container environment variables are set at start and do not update in place. A successful result is: New Pods read updated environment variables and rollout finishes successfully.

Incorrect Answers

A:

This procedure belongs to a different Kubernetes condition (A container is running but cannot serve requests until a cache is primed.). Configure a readinessProbe that tests the actual application readiness endpoint.

C:

Use preferredDuringSchedulingIgnoredDuringExecution node affinity with weights. This procedure belongs to a different Kubernetes condition (A workload prefers zone-b for latency but can operate in other zones.). It does not directly resolve the observed failure. The targeted action is: Update the ConfigMap and roll out fresh Pods when environment variables need refresh.

D:

Adjust realistic resource requests or add capacity before scheduling. This procedure belongs to a different Kubernetes condition (A Pod is Pending because requested memory exceeds all node allocatable resources.). It does not directly resolve the observed failure. The targeted action is: Update the ConfigMap and roll out fresh Pods when environment variables need refresh.

Question 249

A cluster issue is reported: An HTTPS Ingress serves the wrong certificate for app.example.org. What practical check most directly confirms the suspected cause?

  1. Check kubectl describe service events and the provider's load-balancer controller logs.
  2. Inspect Service spec.ipFamilies and ipFamilyPolicy and test both family paths.
  3. Inspect Ingress tls hosts and Secret data and test openssl s_client with SNI.
  4. Inspect effective policies and test a prohibited connection from a frontend Pod.

Explanation

Correct Answer

C:

Inspect Ingress tls hosts and Secret data and test openssl s_client with SNI. This diagnostic examines the relevant resource or subsystem. Ingress TLS termination depends on the controller and properly referenced certificate material. The validating result would be: TLS negotiation presents the expected certificate chain for the intended host.

Incorrect Answers

A:

This check is appropriate to the separate problem (An external HTTP service needs an infrastructure-managed public listener.), but it is not the direct diagnostic for the described failure. Inspect Ingress tls hosts and Secret data and test openssl s_client with SNI.

B:

This check is appropriate to the separate problem (A dual-stack cluster Service was created with only IPv4 despite an IPv6 requirement.), but it is not the direct diagnostic for the described failure. Inspect Ingress tls hosts and Secret data and test openssl s_client with SNI.

D:

This check is appropriate to the separate problem (Frontend Pods can unexpectedly connect to every Pod in a sensitive namespace.), but it is not the direct diagnostic for the described failure.

Question 250

An engineer reports that this problem was fixed: A Deployment's Pods report CreateContainerConfigError due to a missing Secret. What specific result should an independent reviewer expect?

  1. PIDPressure clears and containers can fork processes normally.
  2. The API server static Pod starts and kubectl connectivity returns.
  3. The static Pod reappears and the component starts successfully.
  4. Pods start with the authorized Secret and no sensitive value is printed in logs.

Explanation

Correct Answer

D:

Pods start with the authorized Secret and no sensitive value is printed in logs. This outcome shows the required behavior after correction. The corresponding action is: Create the intended Secret securely or correct secretKeyRef and namespace.

Incorrect Answers

A:

PIDPressure clears and containers can fork processes normally. This is evidence for a separate case (A worker is Ready but reports PIDPressure and new processes fail to launch.), not for the target problem. An appropriate validation would be: Pods start with the authorized Secret and no sensitive value is printed in logs.

B:

The API server static Pod starts and kubectl connectivity returns. This is evidence for a separate case (All kubectl API calls fail following an edit to kube-apiserver static Pod YAML.), not for the target problem. An appropriate validation would be: Pods start with the authorized Secret and no sensitive value is printed in logs.

C:

The static Pod reappears and the component starts successfully. This is evidence for a separate case (After a malformed YAML edit, kubelet stops running kube-controller-manager.), not for the target problem. An appropriate validation would be: Pods start with the authorized Secret and no sensitive value is printed in logs.

Certified Kubernetes Administrator (CKA) Practice Tests