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 64

Question 630

A CKA learner must investigate the following: All kubectl API calls fail following an edit to kube-apiserver static Pod YAML. Which command or check supplies the MOST direct diagnostic evidence?

  1. Run kubectl top nodes and kubectl top pods --containers --all-namespaces.
  2. Examine /etc/kubernetes/manifests/kube-apiserver.yaml and crictl ps -a.
  3. Inspect kube-controller-manager static Pod logs and Deployment status conditions.
  4. Test the Pod IP directly on 8080 then inspect Service ports and EndpointSlices.

Explanation

Correct Answer

B:

Examine /etc/kubernetes/manifests/kube-apiserver.yaml and crictl ps -a. This diagnostic examines the relevant resource or subsystem. Kubelet manages the kubeadm control-plane static Pod from a local manifest. The validating result would be: The API server static Pod starts and kubectl connectivity returns.

Incorrect Answers

A:

This check is appropriate to the separate problem (A node reports high CPU use and latency spikes while the scheduler keeps assigning Pods.), but it is not the direct diagnostic for the described failure.

C:

Inspect kube-controller-manager static Pod logs and Deployment status conditions. This check is appropriate to the separate problem (ReplicaSets stop creating replacement Pods after kube-controller-manager crashes.), but it is not the direct diagnostic for the described failure. The relevant check is: Examine /etc/kubernetes/manifests/kube-apiserver.yaml and crictl ps -a.

D:

This check is appropriate to the separate problem (A Service has healthy endpoints but its targetPort points to 9090 while Pods listen on 8080.), but it is not the direct diagnostic for the described failure. Test the Pod IP directly on 8080 then inspect Service ports and EndpointSlices.

Question 631

A cluster administrator must address the following case: A Helm chart update is proposed but its rendered RBAC is unknown. Select TWO appropriate statements, one corrective action and one observable outcome.

  1. Remediation: Install a chart with wildcard admin permissions without reviewing output.
  2. Validation: Rendered resources and permissions match reviewed deployment expectations.
  3. Remediation: Verify the intended cluster CA and regenerate a join command containing its correct discovery-token-ca-cert-hash.
  4. Validation: kubectl commands target the authorized cluster and expected namespace.
  5. Remediation: Inspect a pinned chart with helm template or helm diff style review before installation.

Explanation

Correct Answers

B:

Validation: Rendered resources and permissions match reviewed deployment expectations. This result verifies the behavior the remediation is supposed to restore.

E:

Remediation: Inspect a pinned chart with helm template or helm diff style review before installation. The remedy targets the reported failure rather than a different subsystem. Helm charts are templates that must be evaluated before cluster changes.

Incorrect Answers

A:

Remediation: Install a chart with wildcard admin permissions without reviewing output. This is the unsafe shortcut for the case, not an acceptable intervention. Helm charts are templates that must be evaluated before cluster changes.

C:

Remediation: Verify the intended cluster CA and regenerate a join command containing its correct discovery-token-ca-cert-hash. This action targets a different condition (A worker join fails with a discovery CA certificate hash mismatch.), not this reported failure: A Helm chart update is proposed but its rendered RBAC is unknown.

D:

Validation: kubectl commands target the authorized cluster and expected namespace. This evidence applies to a different condition (A kubectl command is applying objects in the wrong environment after a context switch.), and would not verify this target fix: A Helm chart update is proposed but its rendered RBAC is unknown.

Question 632

A cluster issue is reported: After a malformed YAML edit, kubelet stops running kube-controller-manager. What practical check most directly confirms the suspected cause?

  1. Inspect kubelet journal for manifest parsing errors and validate YAML locally.
  2. Run curl or ping-equivalent tests Pod-to-Pod across nodes and inspect CNI logs.
  3. Use kubectl describe node and journalctl -u kubelet with API connectivity tests.
  4. Test the Pod IP directly on 8080 then inspect Service ports and EndpointSlices.

Explanation

Correct Answer

A:

Inspect kubelet journal for manifest parsing errors and validate YAML locally. This diagnostic examines the relevant resource or subsystem. Invalid static Pod manifests prevent kubelet from reconciling critical control-plane components. The validating result would be: The static Pod reappears and the component starts successfully.

Incorrect Answers

B:

This check is appropriate to the separate problem (Pod connections work on one node but fail only when destination Pods are on another worker.), but it is not the direct diagnostic for the described failure.

C:

This check is appropriate to the separate problem (A worker unexpectedly becomes NotReady following a network maintenance event.), but it is not the direct diagnostic for the described failure. Inspect kubelet journal for manifest parsing errors and validate YAML locally.

D:

This check is appropriate to the separate problem (A Service has healthy endpoints but its targetPort points to 9090 while Pods listen on 8080.), but it is not the direct diagnostic for the described failure. Inspect kubelet journal for manifest parsing errors and validate YAML locally.

Question 633

A review finds this Kubernetes issue: An HTTP server occasionally deadlocks while its process remains running. Which suggestion would make troubleshooting or security worse?

  1. Keep backups or change history for potentially destructive maintenance.
  2. Preserve relevant logs when diagnosing a repeating container crash.
  3. Choose a storage access mode backed by real CSI capabilities.
  4. Make the liveness probe fail while the application is normally starting every time.

Explanation

Correct Answer

D:

Make the liveness probe fail while the application is normally starting every time. Liveness probes trigger container recovery when the application cannot progress. A safer course is: Configure a livenessProbe that detects the deadlock and uses safe thresholds.

Incorrect Answers

A:

Keep backups or change history for potentially destructive maintenance. Recovery planning reduces the impact of a faulty change. For the stated case, a focused correction is: Configure a livenessProbe that detects the deadlock and uses safe thresholds.

B:

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: Configure a livenessProbe that detects the deadlock and uses safe thresholds.

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: Configure a livenessProbe that detects the deadlock and uses safe thresholds.

Question 634

An engineer needs to justify a change for this issue: Internal Service names resolve but Pods cannot resolve public domains through CoreDNS. Which technical reason is MOST relevant?

  1. Gateway listener constraints and route parent relationships determine attachment.
  2. EndpointSlice endpoint conditions reflect backend readiness and eligibility.
  3. CoreDNS typically forwards non-cluster queries to configured upstream resolvers.
  4. Kubernetes Service DNS depends on a functioning DNS service and its configuration.

Explanation

Correct Answer

C:

CoreDNS typically forwards non-cluster queries to configured upstream resolvers. This principle explains the targeted result. A concrete response is: Inspect CoreDNS forward configuration, upstream resolver reachability and network policies.

Incorrect Answers

A:

Gateway listener constraints and route parent relationships determine attachment. This principle is useful for another case (A Gateway exists but an HTTPRoute is not attached to its listener.), but does not explain the most direct solution here. The governing consideration is: CoreDNS typically forwards non-cluster queries to configured upstream resolvers.

B:

EndpointSlice endpoint conditions reflect backend readiness and eligibility. This principle is useful for another case (Traffic reaches only one replica because two backend Pods have failing readiness.), but does not explain the most direct solution here. The governing consideration is: CoreDNS typically forwards non-cluster queries to configured upstream resolvers.

D:

This principle is useful for another case (All Pods lose service-name resolution after the CoreDNS Deployment becomes unavailable.), but does not explain the most direct solution here. CoreDNS typically forwards non-cluster queries to configured upstream resolvers.

Question 635

For this Kubernetes issue, select TWO statements that correctly pair a response with the evidence it should produce: etcdctl endpoint health fails on a local stacked-etcd member with a TLS handshake error.

  1. Remediation: Adopt a version-controlled kubeadm configuration document with supported API schema and pinned intended settings.
  2. Validation: Health checks succeed without skipping TLS verification.
  3. Validation: The new node trusts and joins the expected API server without accepting an arbitrary endpoint.
  4. Remediation: Use the correct CA and client certificate/key matching the endpoint's advertised TLS configuration.
  5. Remediation: Switch all etcd communication to insecure HTTP for convenience.

Explanation

Correct Answers

B:

Validation: Health checks succeed without skipping TLS verification. This result verifies the behavior the remediation is supposed to restore.

D:

Remediation: Use the correct CA and client certificate/key matching the endpoint's advertised TLS configuration. The remedy targets the reported failure rather than a different subsystem. etcd client requests must authenticate to the member using compatible TLS identities.

Incorrect Answers

A:

Remediation: Adopt a version-controlled kubeadm configuration document with supported API schema and pinned intended settings. This action targets a different condition (A cluster bootstrap script contains changing flags and has become difficult to audit.), not this reported failure: etcdctl endpoint health fails on a local stacked-etcd member with a TLS handshake error.

C:

Validation: The new node trusts and joins the expected API server without accepting an arbitrary endpoint. This evidence applies to a different condition (A worker join fails with a discovery CA certificate hash mismatch.), and would not verify this target fix: etcdctl endpoint health fails on a local stacked-etcd member with a TLS handshake error.

E:

Remediation: Switch all etcd communication to insecure HTTP for convenience. This is the unsafe shortcut for the case, not an acceptable intervention. etcd client requests must authenticate to the member using compatible TLS identities.

Question 636

Following this Kubernetes scenario, an operator validates remediation: An incident responder sees Pod recreation, image pull and readiness failures and needs the order of events. Which measurable outcome shows success?

  1. One healthy instance holds the expected lease and scheduling resumes.
  2. Permitted operations succeed while unauthorized Secret access remains forbidden.
  3. The team can reconstruct which failure came first and validate the repaired stage.
  4. Pods start with the authorized Secret and no sensitive value is printed in logs.

Explanation

Correct Answer

C:

The team can reconstruct which failure came first and validate the repaired stage. The corresponding action is: Correlate namespaced events, Pod conditions, restart data and timestamped logs.

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: The team can reconstruct which failure came first and validate the repaired stage.

B:

Permitted operations succeed while unauthorized Secret access remains forbidden. This is evidence for a separate case (An operator receives HTTP 403 Forbidden from the API server when listing Secrets.), not for the target problem. An appropriate validation would be: The team can reconstruct which failure came first and validate the repaired stage.

D:

Pods start with the authorized Secret and no sensitive value is printed in logs. This is evidence for a separate case (A Deployment's Pods report CreateContainerConfigError due to a missing Secret.), not for the target problem. An appropriate validation would be: The team can reconstruct which failure came first and validate the repaired stage.

Question 637

A cluster team is handling this situation: Two Pods on different nodes try to attach the same RWO block volume and one remains Pending. Which proposed shortcut should be REJECTED?

  1. Inspect the exact Secret or ConfigMap reference without exposing credentials.
  2. Verify the target cluster and namespace before mutating resources.
  3. Review controller logs and resource status to understand reconciliation failures.
  4. Assume RWO promises concurrent writes from arbitrary nodes.

Explanation

Correct Answer

D:

Assume RWO promises concurrent writes from arbitrary nodes. ReadWriteOnce generally constrains mounting read-write to one node, not universally to one Pod. A safer course is: Choose a suitable storage access pattern or keep the volume attached to an allowed node.

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: Choose a suitable storage access pattern or keep the volume attached to an allowed node.

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: Choose a suitable storage access pattern or keep the volume attached to an allowed node.

C:

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: Choose a suitable storage access pattern or keep the volume attached to an allowed node.

Question 638

An administrator reviews several possible responses to this condition: A Pod is Pending with an untolerated NoSchedule taint despite free CPU. Which option creates an avoidable failure?

  1. Keep backups or change history for potentially destructive maintenance.
  2. Remove all cluster taints indiscriminately to make one Pod start.
  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:

Remove all cluster taints indiscriminately to make one Pod start. This shortcut fails to address the root cause and risks a worse outcome. Taints and tolerations affect eligibility separately from CPU capacity. A safer course is: Apply an approved toleration or choose an eligible untainted node.

Incorrect Answers

A:

Keep backups or change history for potentially destructive maintenance. Recovery planning reduces the impact of a faulty change. For the stated case, a focused correction is: Apply an approved toleration or choose an eligible untainted node.

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: Apply an approved toleration or choose an eligible untainted node.

D:

Record a rollback approach before high-impact control-plane changes. Deliberate rollback improves operational recoverability. For the stated case, a focused correction is: Apply an approved toleration or choose an eligible untainted node.

Question 639

To avoid guessing about this fault, what should be inspected first? A Gateway exists but an HTTPRoute is not attached to its listener.

  1. Inspect HTTPRoute parentRefs and status.parents conditions.
  2. Run nslookup api.catalog.svc.cluster.local in a debugging Pod.
  3. Inspect HTTPRoute backendRefs weights and controller-specific telemetry.
  4. Inspect kubectl get pods -n kube-system -l k8s-app=kube-dns and CoreDNS logs.

Explanation

Correct Answer

A:

Inspect HTTPRoute parentRefs and status.parents conditions. This diagnostic examines the relevant resource or subsystem. Gateway listener constraints and route parent relationships determine attachment. The validating result would be: Route conditions indicate acceptance and traffic reaches its backend Service.

Incorrect Answers

B:

Run nslookup api.catalog.svc.cluster.local in a debugging Pod. This check is appropriate to the separate problem (A Pod in payments namespace cannot resolve the short name api for a Service in catalog namespace.), but it is not the direct diagnostic for the described failure. The relevant check is: Inspect HTTPRoute parentRefs and status.parents conditions.

C:

This check is appropriate to the separate problem (A Gateway API team wants to send 10 percent traffic to canary and 90 percent to stable.), but it is not the direct diagnostic for the described failure.

D:

Inspect kubectl get pods -n kube-system -l k8s-app=kube-dns and CoreDNS logs. This check is appropriate to the separate problem (All Pods lose service-name resolution after the CoreDNS Deployment becomes unavailable.), but it is not the direct diagnostic for the described failure. The relevant check is: Inspect HTTPRoute parentRefs and status.parents conditions.

Question 640

A cluster administrator must address the following case: An external HTTP service needs an infrastructure-managed public listener. Select TWO appropriate statements, one corrective action and one observable outcome.

  1. Remediation: Assume every bare-metal cluster automatically receives a public IP without a controller.
  2. Remediation: Create an ingress policy selecting the API Pods with combined namespaceSelector and podSelector peer criteria.
  3. Remediation: Use a LoadBalancer Service backed by a working provider integration.
  4. Validation: The Service obtains an external address and routes to ready backend Pods.
  5. Validation: In-cluster Service names resolve again from test Pods.

Explanation

Correct Answers

C:

Remediation: Use a LoadBalancer Service backed by a working provider integration. The remedy targets the reported failure rather than a different subsystem. LoadBalancer services rely on an implementation or cloud integration to provision external access.

D:

Validation: The Service obtains an external address and routes to ready backend Pods. This result verifies the behavior the remediation is supposed to restore.

Incorrect Answers

A:

Remediation: Assume every bare-metal cluster automatically receives a public IP without a controller. This is the unsafe shortcut for the case, not an acceptable intervention. LoadBalancer services rely on an implementation or cloud integration to provision external access.

B:

Remediation: Create an ingress policy selecting the API Pods with combined namespaceSelector and podSelector peer criteria. This action targets a different condition (An API must accept ingress only from Pods labeled role=client in namespace team-a.), not this reported failure: An external HTTP service needs an infrastructure-managed public listener.

E:

Validation: In-cluster Service names resolve again from test Pods. This evidence applies to a different condition (All Pods lose service-name resolution after the CoreDNS Deployment becomes unavailable.), and would not verify this target fix: An external HTTP service needs an infrastructure-managed public listener.

Certified Kubernetes Administrator (CKA) Practice Tests