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 6

Question 50

An administrator reviews several possible responses to this condition: A StatefulSet member cannot resolve its ordinal hostname after the governing Service changed. Which option creates an avoidable failure?

  1. Keep backups or change history for potentially destructive maintenance.
  2. Choose a storage access mode backed by real CSI capabilities.
  3. Assign every Pod the same static host IP to restore ordinal DNS.
  4. Preserve relevant logs when diagnosing a repeating container crash.

Explanation

Correct Answer

C:

Assign every Pod the same static host IP to restore ordinal DNS. StatefulSet DNS identities require appropriate Service and Pod hostname relationships. A safer course is: Restore the matching headless governing Service and verify Pod subdomain and Service name.

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: Restore the matching headless governing Service and verify Pod subdomain and Service name.

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: Restore the matching headless governing Service and verify Pod subdomain and Service name.

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: Restore the matching headless governing Service and verify Pod subdomain and Service name.

Question 51

The team is reviewing this failure mode: Two clusters need the same base manifest but different replica counts and labels. Which statement explains WHY the recommended control works?

  1. Kustomize composes declarative resources without requiring separate duplicated manifests.
  2. Helm revisions support controlled release rollback of managed objects.
  3. Operators depend on a working controller and correctly scoped watches and RBAC.
  4. kubeadm bootstraps control-plane components; a compatible CNI provides Pod networking.

Explanation

Correct Answer

A:

Kustomize composes declarative resources without requiring separate duplicated manifests. This principle explains the targeted result. A concrete response is: Use Kustomize bases and overlays rather than maintaining divergent full copies.

Incorrect Answers

B:

Helm revisions support controlled release rollback of managed objects. This principle is useful for another case (A Helm upgrade caused a regression in a cluster add-on.), but does not explain the most direct solution here. The governing consideration is: Kustomize composes declarative resources without requiring separate duplicated manifests.

C:

This principle is useful for another case (A custom resource exists but a controller is not reconciling its desired state.), but does not explain the most direct solution here. Kustomize composes declarative resources without requiring separate duplicated manifests.

D:

This principle is useful for another case (A new control-plane node initializes but Pods will not receive Pod network addresses.), but does not explain the most direct solution here. Kustomize composes declarative resources without requiring separate duplicated manifests.

Question 52

During cluster maintenance, an engineer finds this problem: A CPU-bound deployment needs to grow replica count during sustained load. Which next action is technically justified?

  1. Configure pod anti-affinity using appropriate topologyKey and workload labels.
  2. Create a PodDisruptionBudget that retains the required healthy replicas and plan capacity.
  3. Roll back the Deployment to a known healthy revision using rollout undo.
  4. Configure a HorizontalPodAutoscaler with CPU utilization targets and appropriate limits.

Explanation

Correct Answer

D:

Configure a HorizontalPodAutoscaler with CPU utilization targets and appropriate limits. This correction targets the specific failure. HPA acts on observed metrics to adjust workload replica counts. A successful result is: Replica count rises under load within min/max settings and scales down when demand drops.

Incorrect Answers

A:

This procedure belongs to a different Kubernetes condition (Three replicas should avoid sharing one host to improve failure tolerance.). Configure pod anti-affinity using appropriate topologyKey and workload labels.

B:

This procedure belongs to a different Kubernetes condition (A maintenance drain would evict too many healthy replicas of a critical application.). Create a PodDisruptionBudget that retains the required healthy replicas and plan capacity.

C:

This procedure belongs to a different Kubernetes condition (A recent Deployment image change causes requests to fail and the previous revision worked.). Roll back the Deployment to a known healthy revision using rollout undo.

Question 53

A reviewer wants proof that this issue was corrected: An admin changed RoleBindings and wants proof the operator cannot create deployments. Which observed result is the STRONGEST evidence?

  1. kubectl commands target the authorized cluster and expected namespace.
  2. The running component uses fresh certificates and healthy TLS connections are restored.
  3. An impersonated create deployment request is denied in the target namespace.
  4. An authorization check succeeds for the approved pod operation in prod and remains denied elsewhere.

Explanation

Correct Answer

C:

An impersonated create deployment request is denied in the target namespace. The corresponding action is: Check effective permissions using impersonation rather than relying on the YAML file alone.

Incorrect Answers

A:

Kubectl commands target the authorized cluster and expected namespace. This is evidence for a separate case (A kubectl command is applying objects in the wrong environment after a context switch.), not for the target problem. An appropriate validation would be: An impersonated create deployment request is denied in the target namespace.

B:

The running component uses fresh certificates and healthy TLS connections are restored. This is evidence for a separate case (After a certificate renewal, an old static Pod process still uses expired credentials.), not for the target problem. An appropriate validation would be: An impersonated create deployment request is denied in the target namespace.

D:

An authorization check succeeds for the approved pod operation in prod and remains denied elsewhere. This is evidence for a separate case (A namespace user can list Pods in dev but receives Forbidden in prod.), not for the target problem. An appropriate validation would be: An impersonated create deployment request is denied in the target namespace.

Question 54

Select TWO technically sound statements for this situation, covering remediation and validation: A Service exists but its EndpointSlice contains no addresses even though backend Pods are running.

  1. Validation: Ready backend Pod IPs appear in EndpointSlices for the Service.
  2. Remediation: Create an ingress policy selecting the API Pods with combined namespaceSelector and podSelector peer criteria.
  3. Remediation: Align the Service selector with ready Pod labels and verify endpoint membership.
  4. Validation: Gateway and route conditions show Accepted and Programmed as appropriate.
  5. Remediation: Increase a Service port until endpoint objects appear.

Explanation

Correct Answers

A:

Validation: Ready backend Pod IPs appear in EndpointSlices for the Service. This result verifies the behavior the remediation is supposed to restore.

C:

Remediation: Align the Service selector with ready Pod labels and verify endpoint membership. The remedy targets the reported failure rather than a different subsystem. Service selectors and readiness determine which Pods become eligible endpoints.

Incorrect Answers

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: A Service exists but its EndpointSlice contains no addresses even though backend Pods are running.

D:

Validation: Gateway and route conditions show Accepted and Programmed as appropriate. This evidence applies to a different condition (An HTTPRoute cannot bind because its parent GatewayClass has no controller managing it.), and would not verify this target fix: A Service exists but its EndpointSlice contains no addresses even though backend Pods are running.

E:

Remediation: Increase a Service port until endpoint objects appear. This is the unsafe shortcut for the case, not an acceptable intervention. Service selectors and readiness determine which Pods become eligible endpoints.

Question 55

An operations team tests its response to this finding: A worker is Ready but reports PIDPressure and new processes fail to launch. Which outcome most clearly establishes that the fix worked?

  1. Expected error lines appear in container output with time and container identity.
  2. One healthy instance holds the expected lease and scheduling resumes.
  3. The preceding crash output reveals the failing command or config path.
  4. PIDPressure clears and containers can fork processes normally.

Explanation

Correct Answer

D:

PIDPressure clears and containers can fork processes normally. This outcome shows the required behavior after correction. The corresponding action is: Identify excessive process counts and correct the offending workload or node capacity.

Incorrect Answers

A:

Expected error lines appear in container output with time and container identity. This is evidence for a separate case (An app writes errors to stderr but a team searches only a file in the container image.), not for the target problem. An appropriate validation would be: PIDPressure clears and containers can fork processes normally.

B:

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: PIDPressure clears and containers can fork processes normally.

C:

The preceding crash output reveals the failing command or config path. This is evidence for a separate case (An app container restarts so quickly that current kubectl logs show only its latest attempt.), not for the target problem. An appropriate validation would be: PIDPressure clears and containers can fork processes normally.

Question 56

An operations team tests its response to this finding: A CNI plugin fails to allocate Pod addresses as a node's Pod CIDR fills. Which outcome most clearly establishes that the fix worked?

  1. The container runs without repeated OOM termination while maintaining node capacity.
  2. New Pods obtain unique Pod IPs without collision after capacity remediation.
  3. CoreDNS becomes Ready and service DNS lookups succeed.
  4. kubectl authenticates using current trust without insecure TLS bypass.

Explanation

Correct Answer

B:

New Pods obtain unique Pod IPs without collision after capacity remediation. The corresponding action is: Inspect CNI IPAM allocation and capacity, then expand supported address space or workload placement.

Incorrect Answers

A:

The container runs without repeated OOM termination while maintaining node capacity. This is evidence for a separate case (A container enters CrashLoopBackOff and lastState terminated reason is OOMKilled.), not for the target problem. An appropriate validation would be: New Pods obtain unique Pod IPs without collision after capacity remediation.

C:

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: New Pods obtain unique Pod IPs without collision after capacity remediation.

D:

Kubectl authenticates using current trust without insecure TLS bypass. This is evidence for a separate case (kubectl reports x509 certificate expired after months of successful access.), not for the target problem. An appropriate validation would be: New Pods obtain unique Pod IPs without collision after capacity remediation.

Question 57

During an operational review, this fact emerges: A legacy client needs repeated requests to tend to the same Pod behind one Service. Which Kubernetes behavior MOST directly governs the result?

  1. Service affinity can be source-IP based but is not a durable application session store.
  2. CoreDNS typically forwards non-cluster queries to configured upstream resolvers.
  3. Unqualified Service names resolve relative to the client's namespace search path.
  4. Service external traffic policy affects forwarding paths and source address handling.

Explanation

Correct Answer

A:

Service affinity can be source-IP based but is not a durable application session store. This principle explains the targeted result. A concrete response is: Configure Service sessionAffinity ClientIP when its limitations are acceptable.

Incorrect Answers

B:

This principle is useful for another case (Internal Service names resolve but Pods cannot resolve public domains through CoreDNS.), but does not explain the most direct solution here. Service affinity can be source-IP based but is not a durable application session store.

C:

This principle is useful for another case (A Pod in payments namespace cannot resolve the short name api for a Service in catalog namespace.), but does not explain the most direct solution here. Service affinity can be source-IP based but is not a durable application session store.

D:

This principle is useful for another case (A team needs clients' original source IP preserved for a LoadBalancer Service.), but does not explain the most direct solution here. Service affinity can be source-IP based but is not a durable application session store.

Question 58

During cluster maintenance, an engineer finds this problem: A new control-plane node initializes but Pods will not receive Pod network addresses. Which next action is technically justified?

  1. Use a Role limited to the required verbs and resourceNames for the named ConfigMap.
  2. Ensure the affected component reloads renewed credentials through an approved restart or manifest-triggered recreation.
  3. Verify the intended cluster CA and regenerate a join command containing its correct discovery-token-ca-cert-hash.
  4. Initialize kubeadm with a Pod CIDR compatible with the selected CNI and deploy that CNI.

Explanation

Correct Answer

D:

Initialize kubeadm with a Pod CIDR compatible with the selected CNI and deploy that CNI. This correction targets the specific failure. kubeadm bootstraps control-plane components; a compatible CNI provides Pod networking. A successful result is: The node becomes Ready and ordinary Pods receive reachable Pod IPs.

Incorrect Answers

A:

This procedure belongs to a different Kubernetes condition (An operator must update one named ConfigMap but must not edit every ConfigMap.). Use a Role limited to the required verbs and resourceNames for the named ConfigMap.

B:

This procedure belongs to a different Kubernetes condition (After a certificate renewal, an old static Pod process still uses expired credentials.). Ensure the affected component reloads renewed credentials through an approved restart or manifest-triggered recreation.

C:

This procedure belongs to a different Kubernetes condition (A worker join fails with a discovery CA certificate hash mismatch.). Verify the intended cluster CA and regenerate a join command containing its correct discovery-token-ca-cert-hash.

Question 59

An engineer reports that this problem was fixed: Service ClusterIP connections fail on one node even though direct Pod IP connections work. What specific result should an independent reviewer expect?

  1. ClusterIP routing recovers without changing application code or Pod IPs.
  2. New Pods obtain unique Pod IPs without collision after capacity remediation.
  3. The node clears DiskPressure and Pods can start with sufficient ephemeral storage.
  4. Replica controllers reconcile desired Pods and restore replica counts.

Explanation

Correct Answer

A:

ClusterIP routing recovers without changing application code or Pod IPs. The corresponding action is: Inspect kube-proxy or the installed replacement dataplane on the affected node.

Incorrect Answers

B:

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: ClusterIP routing recovers without changing application code or Pod IPs.

C:

The node clears DiskPressure and Pods can start with sufficient ephemeral storage. This is evidence for a separate case (Pods on one worker fail while the node reports DiskPressure.), not for the target problem. An appropriate validation would be: ClusterIP routing recovers without changing application code or Pod IPs.

D:

Replica controllers reconcile desired Pods and restore replica counts. This is evidence for a separate case (ReplicaSets stop creating replacement Pods after kube-controller-manager crashes.), not for the target problem. An appropriate validation would be: ClusterIP routing recovers without changing application code or Pod IPs.

Question 60

An engineer needs to justify a change for this issue: An HTTP server occasionally deadlocks while its process remains running. Which technical reason is MOST relevant?

  1. Startup probes delay other probes until initialization succeeds.
  2. Pod anti-affinity can spread replicas according to matching Pod labels.
  3. Liveness probes trigger container recovery when the application cannot progress.
  4. Topology spread balances placement across labeled failure domains.

Explanation

Correct Answer

C:

Liveness probes trigger container recovery when the application cannot progress. This principle explains the targeted result. A concrete response is: Configure a livenessProbe that detects the deadlock and uses safe thresholds.

Incorrect Answers

A:

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. Liveness probes trigger container recovery when the application cannot progress.

B:

Pod anti-affinity can spread replicas according to matching Pod labels. 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. The governing consideration is: Liveness probes trigger container recovery when the application cannot progress.

D:

Topology spread balances placement across labeled failure domains. This principle is useful for another case (Replicas concentrate in one availability zone and violate resilience goals.), but does not explain the most direct solution here. The governing consideration is: Liveness probes trigger container recovery when the application cannot progress.

Certified Kubernetes Administrator (CKA) Practice Tests