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 37

Question 360

To avoid guessing about this fault, what should be inspected first? A workload requires a nonsecret configuration file that varies per namespace.

  1. Inspect kubectl get deploy web -o yaml and watch kubectl get replicasets,pods -w.
  2. Inspect kubectl get configmap settings -o yaml and kubectl exec to verify mounted data.
  3. Inspect Pod initContainerStatuses and events for initialization sequencing.
  4. Inspect node labels and kubectl describe pod scheduling constraints.

Explanation

Correct Answer

B:

Inspect kubectl get configmap settings -o yaml and kubectl exec to verify mounted data. This diagnostic examines the relevant resource or subsystem. ConfigMaps separate ordinary configuration from container images. The validating result would be: The application reads the intended namespace configuration and the Pod references the ConfigMap.

Incorrect Answers

A:

This check is appropriate to the separate problem (A Deployment must update without taking all replicas offline during rollout.), but it is not the direct diagnostic for the described failure.

C:

This check is appropriate to the separate problem (An application fails because its database initialization must happen before the main process.), but it is not the direct diagnostic for the described failure. Inspect kubectl get configmap settings -o yaml and kubectl exec to verify mounted data.

D:

This check is appropriate to the separate problem (A GPU workload was scheduled on a node without GPU hardware.), but it is not the direct diagnostic for the described failure.

Question 361

During cluster maintenance, an engineer finds this problem: A Helm chart update is proposed but its rendered RBAC is unknown. Which next action is technically justified?

  1. Drain the worker, upgrade kubeadm and kubelet components appropriately, then uncordon after validation.
  2. Inspect a pinned chart with helm template or helm diff style review before installation.
  3. Check effective permissions using impersonation rather than relying on the YAML file alone.
  4. Use drain when eviction is needed; cordon alone only prevents new scheduling.

Explanation

Correct Answer

B:

Inspect a pinned chart with helm template or helm diff style review before installation. This correction targets the specific failure. Helm charts are templates that must be evaluated before cluster changes. A successful result is: Rendered resources and permissions match reviewed deployment expectations.

Incorrect Answers

A:

Drain the worker, upgrade kubeadm and kubelet components appropriately, then uncordon after validation. This procedure belongs to a different Kubernetes condition (The control plane is upgraded but one worker still runs an older supported kubelet.). It does not directly resolve the observed failure. The targeted action is: Inspect a pinned chart with helm template or helm diff style review before installation.

C:

Check effective permissions using impersonation rather than relying on the YAML file alone.

D:

This procedure belongs to a different Kubernetes condition (An administrator cordoned a node but existing Pods are still running on it.). Use drain when eviction is needed; cordon alone only prevents new scheduling.

Question 362

To avoid guessing about this fault, what should be inspected first? A Pod must resolve a private test hostname using a custom resolver without changing cluster-wide DNS.

  1. Inspect /etc/resolv.conf in the Pod and verify DNS queries reach the intended resolver.
  2. Inspect spec.policyTypes and run an outbound connectivity test from the selected Pod.
  3. Check kubectl describe service events and the provider's load-balancer controller logs.
  4. Inspect Ingress tls hosts and Secret data and test openssl s_client with SNI.

Explanation

Correct Answer

A:

Inspect /etc/resolv.conf in the Pod and verify DNS queries reach the intended resolver. This diagnostic examines the relevant resource or subsystem. Per-Pod DNS policy and dnsConfig can override resolver behavior. The validating result would be: The Pod resolves the test hostname through the specified nameserver.

Incorrect Answers

B:

This check is appropriate to the separate problem (A team thinks applying an ingress-only policy prevents Pods from sending outbound traffic.), but it is not the direct diagnostic for the described failure. Inspect /etc/resolv.conf in the Pod and verify DNS queries reach the intended resolver.

C:

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 /etc/resolv.conf in the Pod and verify DNS queries reach the intended resolver.

D:

This check is appropriate to the separate problem (An HTTPS Ingress serves the wrong certificate for app.example.org.), but it is not the direct diagnostic for the described failure.

Question 363

A Kubernetes operations team observes the following: An app cannot reach a database and the error is a TCP timeout, not DNS NXDOMAIN. What is the MOST appropriate corrective action?

  1. Check kubelet status, node heartbeats and API server reachability from that worker.
  2. Resolve PVC provisioning or binding before expecting the scheduler to place the Pod.
  3. Inspect kubeconfig client credentials and renew valid certificates through the approved procedure.
  4. Test name resolution, then TCP reachability, policies and listening port stepwise.

Explanation

Correct Answer

D:

Test name resolution, then TCP reachability, policies and listening port stepwise. This correction targets the specific failure. DNS, network path and application listener failures require different diagnostics. A successful result is: The investigation identifies the first failed networking layer and a targeted fix restores connectivity.

Incorrect Answers

A:

Check kubelet status, node heartbeats and API server reachability from that worker. This procedure belongs to a different Kubernetes condition (A worker unexpectedly becomes NotReady following a network maintenance event.). It does not directly resolve the observed failure. The targeted action is: Test name resolution, then TCP reachability, policies and listening port stepwise.

B:

Resolve PVC provisioning or binding before expecting the scheduler to place the Pod.

C:

This procedure belongs to a different Kubernetes condition (kubectl reports x509 certificate expired after months of successful access.). Inspect kubeconfig client credentials and renew valid certificates through the approved procedure.

Question 364

In a Kubernetes cluster, the following condition is observed: Three replicas should avoid sharing one host to improve failure tolerance. Which remediation MOST directly addresses it?

  1. Move the value into a Secret and restrict access with narrowly scoped RBAC.
  2. Label eligible hardware nodes and use an explicit nodeSelector or required node affinity.
  3. Mount a ConfigMap as a volume or use its keys in environment configuration as appropriate.
  4. Configure pod anti-affinity using appropriate topologyKey and workload labels.

Explanation

Correct Answer

D:

Configure pod anti-affinity using appropriate topologyKey and workload labels. This correction targets the specific failure. Pod anti-affinity can spread replicas according to matching Pod labels. A successful result is: Replicas occupy separate suitable nodes when capacity allows.

Incorrect Answers

A:

This procedure belongs to a different Kubernetes condition (An application password is mistakenly embedded in a ConfigMap and exposed to broad readers.). Move the value into a Secret and restrict access with narrowly scoped RBAC.

B:

This procedure belongs to a different Kubernetes condition (A GPU workload was scheduled on a node without GPU hardware.). Label eligible hardware nodes and use an explicit nodeSelector or required node affinity.

C:

Mount a ConfigMap as a volume or use its keys in environment configuration as appropriate.

Question 365

A Kubernetes operator wants to verify this condition: Kubelet logs show TLS certificate errors after a node credential rotation. Which investigation step is BEST suited to the case?

  1. Use etcdctl alarm list and endpoint status and inspect member storage utilization.
  2. Inspect the apiserver serving cert with openssl x509 and compare endpoint hostnames.
  3. Inspect Pod requiredDuringScheduling node affinity and node labels.
  4. Inspect kubelet logs and kubeconfig certificate dates and CA references.

Explanation

Correct Answer

D:

Inspect kubelet logs and kubeconfig certificate dates and CA references. This diagnostic examines the relevant resource or subsystem. Node authorization depends on valid client identity and trusted CA chain. The validating result would be: Kubelet authenticates to the API and node status updates normally.

Incorrect Answers

A:

This check is appropriate to the separate problem (etcd returns a no-space alarm after excessive database growth.), but it is not the direct diagnostic for the described failure. Inspect kubelet logs and kubeconfig certificate dates and CA references.

B:

This check is appropriate to the separate problem (A control-plane certificate replacement causes clients to reject the API server.), but it is not the direct diagnostic for the described failure.

C:

This check is appropriate to the separate problem (A Pod requests a non-existent node label through required node affinity.), but it is not the direct diagnostic for the described failure. Inspect kubelet logs and kubeconfig certificate dates and CA references.

Question 366

An administrator reviews several possible responses to this condition: After a malformed YAML edit, kubelet stops running kube-controller-manager. Which option creates an avoidable failure?

  1. Record a rollback approach before high-impact control-plane changes.
  2. Preserve relevant logs when diagnosing a repeating container crash.
  3. Patch a same-name Deployment in default instead of fixing the static file.
  4. Choose a storage access mode backed by real CSI capabilities.

Explanation

Correct Answer

C:

Patch a same-name Deployment in default instead of fixing the static file. Invalid static Pod manifests prevent kubelet from reconciling critical control-plane components. A safer course is: Validate static Pod YAML syntax and restore the last correct manifest version.

Incorrect Answers

A:

Record a rollback approach before high-impact control-plane changes. Deliberate rollback improves operational recoverability. For the stated case, a focused correction is: Validate static Pod YAML syntax and restore the last correct manifest version.

B:

Preserve relevant logs when diagnosing a repeating container crash. This is an appropriate safeguard, not the unsafe shortcut. Prior process output often identifies the immediate cause. For the stated case, a focused correction is: Validate static Pod YAML syntax and restore the last correct manifest version.

D:

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: Validate static Pod YAML syntax and restore the last correct manifest version.

Question 367

An operations team tests its response to this finding: A worker unexpectedly becomes NotReady following a network maintenance event. Which outcome most clearly establishes that the fix worked?

  1. Allowed Pods reach external endpoints with expected source IP routing.
  2. CoreDNS becomes Ready and service DNS lookups succeed.
  3. The static Pod reappears and the component starts successfully.
  4. Node condition returns Ready after the real network or kubelet fault is corrected.

Explanation

Correct Answer

D:

Node condition returns Ready after the real network or kubelet fault is corrected. The corresponding action is: Check kubelet status, node heartbeats and API server reachability from that worker.

Incorrect Answers

A:

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: Node condition returns Ready after the real network or kubelet fault is corrected.

B:

CoreDNS becomes Ready and service DNS lookups succeed. This is evidence for a separate case (Pods cannot resolve cluster Service names and CoreDNS Pods are CrashLoopBackOff.), not for the target problem. An appropriate validation would be: Node condition returns Ready after the real network or kubelet fault is corrected.

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: Node condition returns Ready after the real network or kubelet fault is corrected.

Question 368

During cluster maintenance, an engineer finds this problem: Internal Service names resolve but Pods cannot resolve public domains through CoreDNS. Which next action is technically justified?

  1. Inspect CoreDNS forward configuration, upstream resolver reachability and network policies.
  2. Add a narrowly scoped egress allowance for DNS UDP/TCP 53 to the intended resolver endpoints.
  3. Set a valid ingressClassName for an installed and healthy Ingress controller.
  4. Confirm the installed CNI implements policy enforcement and configure a supported policy-capable plugin.

Explanation

Correct Answer

A:

Inspect CoreDNS forward configuration, upstream resolver reachability and network policies. This correction targets the specific failure. CoreDNS typically forwards non-cluster queries to configured upstream resolvers. A successful result is: Both internal Services and intended external domains resolve from Pods.

Incorrect Answers

B:

Add a narrowly scoped egress allowance for DNS UDP/TCP 53 to the intended resolver endpoints. This procedure belongs to a different Kubernetes condition (Egress-isolated Pods cannot resolve DNS even though their app traffic policy is correct.). It does not directly resolve the observed failure. The targeted action is: Inspect CoreDNS forward configuration, upstream resolver reachability and network policies.

C:

Set a valid ingressClassName for an installed and healthy Ingress controller. This procedure belongs to a different Kubernetes condition (An Ingress resource has an address but no controller is processing its rules.). It does not directly resolve the observed failure. The targeted action is: Inspect CoreDNS forward configuration, upstream resolver reachability and network policies.

D:

This procedure belongs to a different Kubernetes condition (NetworkPolicy objects are accepted but all supposedly blocked traffic is still allowed.). Confirm the installed CNI implements policy enforcement and configure a supported policy-capable plugin.

Question 369

An administrator is investigating this situation: Each worker needs exactly one log-collector Pod when nodes are added. Which action BEST resolves the underlying issue?

  1. Create a PodDisruptionBudget that retains the required healthy replicas and plan capacity.
  2. Use a StatefulSet with stable network identity and volumeClaimTemplates as appropriate.
  3. Roll back the Deployment to a known healthy revision using rollout undo.
  4. Use a DaemonSet with node eligibility settings matching the intended workers.

Explanation

Correct Answer

D:

Use a DaemonSet with node eligibility settings matching the intended workers. This correction targets the specific failure. DaemonSets reconcile per-node agent placement rather than a fixed total replica count. A successful result is: A collector runs on each eligible node including newly joined nodes.

Incorrect Answers

A:

Create a PodDisruptionBudget that retains the required healthy replicas and plan capacity.

B:

Use a StatefulSet with stable network identity and volumeClaimTemplates as appropriate. This procedure belongs to a different Kubernetes condition (Database replicas require stable identities and persistent storage across rescheduling.). It does not directly resolve the observed failure. The targeted action is: Use a DaemonSet with node eligibility settings matching the intended workers.

C:

Roll back the Deployment to a known healthy revision using rollout undo. This procedure belongs to a different Kubernetes condition (A recent Deployment image change causes requests to fail and the previous revision worked.). It does not directly resolve the observed failure. The targeted action is: Use a DaemonSet with node eligibility settings matching the intended workers.

Question 370

A CKA learner must investigate the following: A namespace user can list Pods in dev but receives Forbidden in prod. Which command or check supplies the MOST direct diagnostic evidence?

  1. Use kubectl auth can-i list pods -n prod --as=developer and repeat against an unauthorized namespace.
  2. Run kubeadm config validate against the intended version and inspect kubeadm config print init-defaults.
  3. Inspect kubectl get crds and kubectl api-resources for the expected plural and API version.
  4. Check kubectl drain worker-1 --ignore-daemonsets with appropriate flags and verify remaining endpoints.

Explanation

Correct Answer

A:

The validating result would be: An authorization check succeeds for the approved pod operation in prod and remains denied elsewhere.

Incorrect Answers

B:

This check is appropriate to the separate problem (A cluster bootstrap script contains changing flags and has become difficult to audit.), but it is not the direct diagnostic for the described failure. Use kubectl auth can-i list pods -n prod --as=developer and repeat against an unauthorized namespace.

C:

This check is appropriate to the separate problem (A custom resource cannot be created because the API server does not recognize its kind.), but it is not the direct diagnostic for the described failure. Use kubectl auth can-i list pods -n prod --as=developer and repeat against an unauthorized namespace.

D:

This check is appropriate to the separate problem (A worker requires OS maintenance while running replicated customer Pods.), but it is not the direct diagnostic for the described failure. Use kubectl auth can-i list pods -n prod --as=developer and repeat against an unauthorized namespace.

Certified Kubernetes Administrator (CKA) Practice Tests