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 67

Question 660

An administrator is investigating this situation: A Service has healthy endpoints but its targetPort points to 9090 while Pods listen on 8080. Which action BEST resolves the underlying issue?

  1. Create the intended Secret securely or correct secretKeyRef and namespace.
  2. Review CoreDNS logs and Corefile configuration, then restore a valid DNS Deployment.
  3. Correct targetPort or named container port mapping to the actual listener.
  4. Review current and previous container logs and correct the referenced configuration.

Explanation

Correct Answer

C:

Correct targetPort or named container port mapping to the actual listener. This correction targets the specific failure. Healthy endpoints do not compensate for incorrect TCP/UDP port mapping. A successful result is: Connections through the Service reach the application on the correct port.

Incorrect Answers

A:

This procedure belongs to a different Kubernetes condition (A Deployment's Pods report CreateContainerConfigError due to a missing Secret.).

B:

Review CoreDNS logs and Corefile configuration, then restore a valid DNS Deployment. This procedure belongs to a different Kubernetes condition (Pods cannot resolve cluster Service names and CoreDNS Pods are CrashLoopBackOff.). It does not directly resolve the observed failure. The targeted action is: Correct targetPort or named container port mapping to the actual listener.

D:

Review current and previous container logs and correct the referenced configuration. This procedure belongs to a different Kubernetes condition (A newly deployed app repeatedly exits with invalid configuration errors.). It does not directly resolve the observed failure. The targeted action is: Correct targetPort or named container port mapping to the actual listener.

Question 661

To avoid guessing about this fault, what should be inspected first? A development Service must be reachable on each eligible node at a defined node port.

  1. Inspect kubectl get service -o yaml ports and curl the backend Pod port directly.
  2. Inspect kubectl get service service-name -o yaml and test nodeIP:nodePort connectivity.
  3. Run kubectl port-forward svc/api 8080:80 -n app and curl localhost:8080.
  4. Inspect namespace labels and selected Pod labels, then test allowed and blocked connections.

Explanation

Correct Answer

B:

Inspect kubectl get service service-name -o yaml and test nodeIP:nodePort connectivity. This diagnostic examines the relevant resource or subsystem. NodePort exposes a Service using a port on cluster nodes. The validating result would be: Traffic to a suitable node IP and nodePort reaches the intended backends.

Incorrect Answers

A:

This check is appropriate to the separate problem (A Service listens on port 80 but the container listens on 8080 and requests fail.), but it is not the direct diagnostic for the described failure. Inspect kubectl get service service-name -o yaml and test nodeIP:nodePort connectivity.

C:

This check is appropriate to the separate problem (An operator wants temporary access to an internal Pod without publishing a public Service.), but it is not the direct diagnostic for the described failure. Inspect kubectl get service service-name -o yaml and test nodeIP:nodePort connectivity.

D:

This check is appropriate to the separate problem (An API must accept ingress only from Pods labeled role=client in namespace team-a.), but it is not the direct diagnostic for the described failure. Inspect kubectl get service service-name -o yaml and test nodeIP:nodePort connectivity.

Question 662

An administrator reviews several possible responses to this condition: A namespace user can list Pods in dev but receives Forbidden in prod. Which option creates an avoidable failure?

  1. Inspect the exact Secret or ConfigMap reference without exposing credentials.
  2. Check applicable component version compatibility before upgrading.
  3. Confirm actual node conditions and allocatable resources before scheduling changes.
  4. Grant cluster-admin to every developer so all namespaces work.

Explanation

Correct Answer

D:

A safer course is: Create a namespaced Role and RoleBinding in prod granting only required pod verbs to the user or group.

Incorrect Answers

A:

Configuration errors can be diagnosed without leaking sensitive data. For the stated case, a focused correction is: Create a namespaced Role and RoleBinding in prod granting only required pod verbs to the user or group.

B:

Check applicable component version compatibility before upgrading. Supported version relationships prevent avoidable upgrade failures. For the stated case, a focused correction is: Create a namespaced Role and RoleBinding in prod granting only required pod verbs to the user or group.

C:

Scheduler behavior must be assessed against real node constraints.

Question 663

A reviewer wants proof that this issue was corrected: A Gateway API team wants to send 10 percent traffic to canary and 90 percent to stable. Which observed result is the STRONGEST evidence?

  1. Both internal Services and intended external domains resolve from Pods.
  2. TLS negotiation presents the expected certificate chain for the intended host.
  3. In-cluster Service names resolve again from test Pods.
  4. A representative request sample approximates the intended distribution between healthy backends.

Explanation

Correct Answer

D:

A representative request sample approximates the intended distribution between healthy backends. The corresponding action is: Set HTTPRoute backendRefs weights for the two Services and verify health and accepted routes.

Incorrect Answers

A:

Both internal Services and intended external domains resolve from Pods. This is evidence for a separate case (Internal Service names resolve but Pods cannot resolve public domains through CoreDNS.), not for the target problem. An appropriate validation would be: A representative request sample approximates the intended distribution between healthy backends.

B:

TLS negotiation presents the expected certificate chain for the intended host. This is evidence for a separate case (An HTTPS Ingress serves the wrong certificate for app.example.org.), not for the target problem. An appropriate validation would be: A representative request sample approximates the intended distribution between healthy backends.

C:

In-cluster Service names resolve again from test Pods. This is evidence for a separate case (All Pods lose service-name resolution after the CoreDNS Deployment becomes unavailable.), not for the target problem. An appropriate validation would be: A representative request sample approximates the intended distribution between healthy backends.

Question 664

The team is reviewing this failure mode: A Pod must resolve a private test hostname using a custom resolver without changing cluster-wide DNS. Which statement explains WHY the recommended control works?

  1. Dual-stack Service allocation is constrained by cluster networking capability and IP-family policy.
  2. Per-Pod DNS policy and dnsConfig can override resolver behavior.
  3. LoadBalancer services rely on an implementation or cloud integration to provision external access.
  4. Weighted HTTPRoute backends can express proportional request routing when supported.

Explanation

Correct Answer

B:

Per-Pod DNS policy and dnsConfig can override resolver behavior. This principle explains the targeted result. A concrete response is: Set dnsPolicy None and configure the Pod's dnsConfig nameservers and searches appropriately.

Incorrect Answers

A:

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. Per-Pod DNS policy and dnsConfig can override resolver behavior.

C:

LoadBalancer services rely on an implementation or cloud integration to provision external access. This principle is useful for another case (An external HTTP service needs an infrastructure-managed public listener.), but does not explain the most direct solution here. The governing consideration is: Per-Pod DNS policy and dnsConfig can override resolver behavior.

D:

This principle is useful for another case (A Gateway API team wants to send 10 percent traffic to canary and 90 percent to stable.), but does not explain the most direct solution here. Per-Pod DNS policy and dnsConfig can override resolver behavior.

Question 665

A cluster team is handling this situation: A kubeadm managed cluster must move one supported minor release forward. Which proposed shortcut should be REJECTED?

  1. Test connectivity from the affected Pod before redesigning all Services.
  2. Upgrade every kubelet first to an arbitrary future release.
  3. Validate a change with a repeatable positive and negative test.
  4. Preserve relevant logs when diagnosing a repeating container crash.

Explanation

Correct Answer

B:

Upgrade every kubelet first to an arbitrary future release. Kubernetes upgrades must respect version skew and control-plane ordering. A safer course is: Plan the ordered control-plane upgrade using kubeadm upgrade plan and supported version skew guidance.

Incorrect Answers

A:

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: Plan the ordered control-plane upgrade using kubeadm upgrade plan and supported version skew guidance.

C:

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: Plan the ordered control-plane upgrade using kubeadm upgrade plan and supported version skew guidance.

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: Plan the ordered control-plane upgrade using kubeadm upgrade plan and supported version skew guidance.

Question 666

A CKA learner must investigate the following: A database requires exclusive access by exactly one Pod to a PVC. Which command or check supplies the MOST direct diagnostic evidence?

  1. Read the PVC accessModes and verify a second test Pod cannot mount the same claim simultaneously.
  2. Inspect PV and PVC storageClassName fields, selectors and claimRef.
  3. Inspect StorageClasses for storageclass.kubernetes.io/is-default-class annotation.
  4. Inspect PV accessModes and VolumeAttachment failures during Pod scheduling.

Explanation

Correct Answer

A:

Read the PVC accessModes and verify a second test Pod cannot mount the same claim simultaneously. This diagnostic examines the relevant resource or subsystem. ReadWriteOncePod is more restrictive than node-level ReadWriteOnce. The validating result would be: A second Pod attempting the same PVC is denied or remains unschedulable.

Incorrect Answers

B:

This check is appropriate to the separate problem (A manually created PV is available but a PVC specifying an unmatched StorageClass never binds.), but it is not the direct diagnostic for the described failure. Read the PVC accessModes and verify a second test Pod cannot mount the same claim simultaneously.

C:

This check is appropriate to the separate problem (New claims omit storageClassName and use an unintended slow storage provider.), but it is not the direct diagnostic for the described failure. Read the PVC accessModes and verify a second test Pod cannot mount the same claim simultaneously.

D:

This check is appropriate to the separate problem (Two Pods on different nodes try to attach the same RWO block volume and one remains Pending.), but it is not the direct diagnostic for the described failure. Read the PVC accessModes and verify a second test Pod cannot mount the same claim simultaneously.

Question 667

To avoid guessing about this fault, what should be inspected first? A temporary dynamically provisioned data volume should be removed with its claim.

  1. Inspect StorageClasses for storageclass.kubernetes.io/is-default-class annotation.
  2. Inspect PV persistentVolumeReclaimPolicy and bound/released state before cleanup.
  3. Inspect PV and PVC storageClassName fields, selectors and claimRef.
  4. Inspect PV reclaimPolicy and provider asset existence after claim deletion.

Explanation

Correct Answer

D:

Inspect PV reclaimPolicy and provider asset existence after claim deletion. This diagnostic examines the relevant resource or subsystem. Delete reclaim policy instructs supported provisioners to remove backing assets. The validating result would be: Deleting the claim initiates removal of the associated provisioned storage.

Incorrect Answers

A:

Inspect StorageClasses for storageclass.kubernetes.io/is-default-class annotation. This check is appropriate to the separate problem (New claims omit storageClassName and use an unintended slow storage provider.), but it is not the direct diagnostic for the described failure. The relevant check is: Inspect PV reclaimPolicy and provider asset existence after claim deletion.

B:

This check is appropriate to the separate problem (A StatefulSet is decommissioned but its underlying audit volume must remain for investigation.), but it is not the direct diagnostic for the described failure. Inspect PV reclaimPolicy and provider asset existence after claim deletion.

C:

This check is appropriate to the separate problem (A manually created PV is available but a PVC specifying an unmatched StorageClass never binds.), but it is not the direct diagnostic for the described failure. Inspect PV reclaimPolicy and provider asset existence after claim deletion.

Question 668

An engineer needs to justify a change for this issue: A custom resource exists but a controller is not reconciling its desired state. Which technical reason is MOST relevant?

  1. Kubelet communicates with a CRI-compatible runtime at a valid socket.
  2. Graceful node maintenance coordinates schedulability and safe workload eviction.
  3. Operators depend on a working controller and correctly scoped watches and RBAC.
  4. etcd client requests must authenticate to the member using compatible TLS identities.

Explanation

Correct Answer

C:

Operators depend on a working controller and correctly scoped watches and RBAC. This principle explains the targeted result. A concrete response is: Inspect the operator Deployment, permissions, watched namespace and reconciliation events.

Incorrect Answers

A:

This principle is useful for another case (kubeadm reports multiple CRI sockets and cannot select the runtime.), but does not explain the most direct solution here.

B:

Graceful node maintenance coordinates schedulability and safe workload eviction. This principle is useful for another case (A worker requires OS maintenance while running replicated customer Pods.), but does not explain the most direct solution here. The governing consideration is: Operators depend on a working controller and correctly scoped watches and RBAC.

D:

This principle is useful for another case (etcdctl endpoint health fails on a local stacked-etcd member with a TLS handshake error.), but does not explain the most direct solution here. Operators depend on a working controller and correctly scoped watches and RBAC.

Question 669

Select TWO technically sound statements for this situation, covering remediation and validation: A worker is Ready but reports PIDPressure and new processes fail to launch.

  1. Remediation: Identify excessive process counts and correct the offending workload or node capacity.
  2. Remediation: Restart every cluster control-plane component to fix one runaway process tree.
  3. Remediation: Inspect kubeadm join output, API endpoint, token and discovery CA trust before retrying.
  4. Validation: PIDPressure clears and containers can fork processes normally.
  5. Validation: The identified workload and node saturation explain latency and a targeted capacity change restores headroom.

Explanation

Correct Answers

A:

Remediation: Identify excessive process counts and correct the offending workload or node capacity. The remedy targets the reported failure rather than a different subsystem. Node PID exhaustion can affect kubelet and unrelated Pods.

D:

Validation: PIDPressure clears and containers can fork processes normally. This result verifies the behavior the remediation is supposed to restore.

Incorrect Answers

B:

Remediation: Restart every cluster control-plane component to fix one runaway process tree. This is the unsafe shortcut for the case, not an acceptable intervention. Node PID exhaustion can affect kubelet and unrelated Pods.

C:

Remediation: Inspect kubeadm join output, API endpoint, token and discovery CA trust before retrying. This action targets a different condition (A new worker never registers though kubeadm join exited with an error.), not this reported failure: A worker is Ready but reports PIDPressure and new processes fail to launch.

E:

Validation: The identified workload and node saturation explain latency and a targeted capacity change restores headroom. This evidence applies to a different condition (A node reports high CPU use and latency spikes while the scheduler keeps assigning Pods.), and would not verify this target fix: A worker is Ready but reports PIDPressure and new processes fail to launch.

Question 670

Following this Kubernetes scenario, an operator validates remediation: A Pod is Pending because requested memory exceeds all node allocatable resources. Which measurable outcome shows success?

  1. The Pod schedules onto a node with sufficient available allocatable resources.
  2. The rollout maintains the intended number of available replicas at each transition.
  3. The Pod reads the Secret using its configured reference while unauthorized users cannot retrieve it.
  4. The stuck container is restarted and subsequently returns to Ready.

Explanation

Correct Answer

A:

The Pod schedules onto a node with sufficient available allocatable resources. The corresponding action is: Adjust realistic resource requests or add capacity before scheduling.

Incorrect Answers

B:

The rollout maintains the intended number of available replicas at each transition. This is evidence for a separate case (A Deployment must update without taking all replicas offline during rollout.), not for the target problem. An appropriate validation would be: The Pod schedules onto a node with sufficient available allocatable resources.

C:

The Pod reads the Secret using its configured reference while unauthorized users cannot retrieve it. This is evidence for a separate case (An application password is mistakenly embedded in a ConfigMap and exposed to broad readers.), not for the target problem. An appropriate validation would be: The Pod schedules onto a node with sufficient available allocatable resources.

D:

The stuck container is restarted and subsequently returns to Ready. This is evidence for a separate case (An HTTP server occasionally deadlocks while its process remains running.), not for the target problem. An appropriate validation would be: The Pod schedules onto a node with sufficient available allocatable resources.

Certified Kubernetes Administrator (CKA) Practice Tests