CNCF CKA Practice Test 62
Question 610
An administrator reviews several possible responses to this condition: A manually created PV is available but a PVC specifying an unmatched StorageClass never binds. Which option creates an avoidable failure?
- Record a rollback approach before high-impact control-plane changes.
- Randomly set a nonexistent provisioner in the StorageClass to force binding.
- Use a staged rollout and observe readiness before full deployment.
- Inspect the exact Secret or ConfigMap reference without exposing credentials.
Explanation
Correct Answer
B:Randomly set a nonexistent provisioner in the StorageClass to force binding. Static PV-PVC binding considers class, capacity and access requirements. A safer course is: Align the claim and PV storageClassName and required volume characteristics for static binding.
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: Align the claim and PV storageClassName and required volume characteristics for static binding.
C: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: Align the claim and PV storageClassName and required volume characteristics for static binding.
D: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: Align the claim and PV storageClassName and required volume characteristics for static binding.
Question 611
During remediation, this failure appears: An API client certificate is about to expire on a kubeadm managed control plane. Which action is the LEAST defensible?
- Keep backups or change history for potentially destructive maintenance.
- Disable certificate verification for all clients instead of renewing credentials.
- Preserve relevant logs when diagnosing a repeating container crash.
- Inspect the exact Secret or ConfigMap reference without exposing credentials.
Explanation
Correct Answer
B:Disable certificate verification for all clients instead of renewing credentials. Expired control-plane credentials can break otherwise healthy components. A safer course is: Inspect certificate expirations and plan safe renewal with component restart and verification as necessary.
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: Inspect certificate expirations and plan safe renewal with component restart and verification as necessary.
C: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: Inspect certificate expirations and plan safe renewal with component restart and verification as necessary.
D: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: Inspect certificate expirations and plan safe renewal with component restart and verification as necessary.
Question 612
A cluster administrator must address the following case: A storage consumer expects a raw block device but the PVC is provisioned with volumeMode Filesystem. Select TWO appropriate statements, one corrective action and one observable outcome.
- Validation: The application receives the expected raw block device instead of a mounted filesystem.
- Validation: Volume provisioning considers the selected Pod scheduling topology.
- Remediation: Inspect CSI controller, node plugin and VolumeAttachment state then restore the failing attachment path.
- Remediation: Mount a raw device as a regular ConfigMap volume.
- Remediation: Configure compatible PVC and PV volumeMode Block and Pod volumeDevices when supported.
Explanation
Correct Answers
A:Validation: The application receives the expected raw block device instead of a mounted filesystem. This result verifies the behavior the remediation is supposed to restore.
E:Remediation: Configure compatible PVC and PV volumeMode Block and Pod volumeDevices when supported. The remedy targets the reported failure rather than a different subsystem. Volume mode differentiates raw block devices from filesystem mounts.
Incorrect Answers
B:Validation: Volume provisioning considers the selected Pod scheduling topology. This evidence applies to a different condition (A topology-bound cloud disk is provisioned in the wrong zone before its Pod schedules.), and would not verify this target fix: A storage consumer expects a raw block device but the PVC is provisioned with volumeMode Filesystem.
C:Remediation: Inspect CSI controller, node plugin and VolumeAttachment state then restore the failing attachment path. This action targets a different condition (A Pod is stuck ContainerCreating due to an attach timeout from a cloud block volume.), not this reported failure: A storage consumer expects a raw block device but the PVC is provisioned with volumeMode Filesystem.
D:Remediation: Mount a raw device as a regular ConfigMap volume. This is the unsafe shortcut for the case, not an acceptable intervention. Volume mode differentiates raw block devices from filesystem mounts.
Question 613
An operations team tests its response to this finding: A GPU workload was scheduled on a node without GPU hardware. Which outcome most clearly establishes that the fix worked?
- The intended Pod can schedule there while unrelated Pods remain excluded.
- The Pod lands only on nodes with the confirmed GPU label and hardware.
- Voluntary eviction respects the budget and drain waits or fails rather than violating it.
- Replica distribution across eligible zones satisfies the configured skew where feasible.
Explanation
Correct Answer
B:The Pod lands only on nodes with the confirmed GPU label and hardware. This outcome shows the required behavior after correction. The corresponding action is: Label eligible hardware nodes and use an explicit nodeSelector or required node affinity.
Incorrect Answers
A:The intended Pod can schedule there while unrelated Pods remain excluded. This is evidence for a separate case (A special node has NoSchedule taint and a permitted Pod remains Pending.), not for the target problem. An appropriate validation would be: The Pod lands only on nodes with the confirmed GPU label and hardware.
C:Voluntary eviction respects the budget and drain waits or fails rather than violating it. This is evidence for a separate case (A maintenance drain would evict too many healthy replicas of a critical application.), not for the target problem. An appropriate validation would be: The Pod lands only on nodes with the confirmed GPU label and hardware.
D:Replica distribution across eligible zones satisfies the configured skew where feasible. This is evidence for a separate case (Replicas concentrate in one availability zone and violate resilience goals.), not for the target problem. An appropriate validation would be: The Pod lands only on nodes with the confirmed GPU label and hardware.
Question 614
In a Kubernetes cluster, the following condition is observed: Pods stay ImagePullBackOff after a private registry migration. Which remediation MOST directly addresses it?
- Diagnose metrics-server, metrics API availability and resource requests.
- Inspect CNI IPAM allocation and capacity, then expand supported address space or workload placement.
- Correct image reference or registry credentials with an authorized imagePullSecret.
- Inspect image, container log and ephemeral-storage usage and reclaim space safely.
Explanation
Correct Answer
C:Correct image reference or registry credentials with an authorized imagePullSecret. This correction targets the specific failure. ImagePullBackOff reflects registry, authentication or image retrieval failure rather than scheduling alone. A successful result is: Pods successfully pull the image and transition to Running.
Incorrect Answers
A:Diagnose metrics-server, metrics API availability and resource requests. This procedure belongs to a different Kubernetes condition (HPA displays <unknown> target metrics while replicas never scale.). It does not directly resolve the observed failure. The targeted action is: Correct image reference or registry credentials with an authorized imagePullSecret.
B:Inspect CNI IPAM allocation and capacity, then expand supported address space or workload placement. This procedure belongs to a different Kubernetes condition (A CNI plugin fails to allocate Pod addresses as a node's Pod CIDR fills.). It does not directly resolve the observed failure. The targeted action is: Correct image reference or registry credentials with an authorized imagePullSecret.
D:Inspect image, container log and ephemeral-storage usage and reclaim space safely. This procedure belongs to a different Kubernetes condition (Pods on one worker fail while the node reports DiskPressure.). It does not directly resolve the observed failure. The targeted action is: Correct image reference or registry credentials with an authorized imagePullSecret.
Question 615
An engineer reports that this problem was fixed: An API must accept ingress only from Pods labeled role=client in namespace team-a. What specific result should an independent reviewer expect?
- In-cluster clients reach the Service while no direct external listener is created.
- Cross-node Pod-to-Pod communication succeeds without using host network mode.
- Only the intended client Pods in team-a can reach the protected API.
- Disallowed outbound connections fail while approved egress stays functional.
Explanation
Correct Answer
C:Only the intended client Pods in team-a can reach the protected API. The corresponding action is: Create an ingress policy selecting the API Pods with combined namespaceSelector and podSelector peer criteria.
Incorrect Answers
A:In-cluster clients reach the Service while no direct external listener is created. This is evidence for a separate case (An internal backend should only be reachable from inside the cluster through one stable address.), not for the target problem. An appropriate validation would be: Only the intended client Pods in team-a can reach the protected API.
B:Cross-node Pod-to-Pod communication succeeds without using host network mode. This is evidence for a separate case (Pods on two different workers cannot reach one another but Pod traffic works within a node.), not for the target problem. An appropriate validation would be: Only the intended client Pods in team-a can reach the protected API.
D:Disallowed outbound connections fail while approved egress stays functional. This is evidence for a separate case (A team thinks applying an ingress-only policy prevents Pods from sending outbound traffic.), not for the target problem. An appropriate validation would be: Only the intended client Pods in team-a can reach the protected API.
Question 616
During an operational review, this fact emerges: HPA reports unknown CPU utilization although Pods are running. Which Kubernetes behavior MOST directly governs the result?
- CPU utilization-based HPA calculations need requests and available resource metrics.
- Startup probes delay other probes until initialization succeeds.
- Taints repel Pods and tolerations allow consideration but do not force placement.
- StatefulSets are suited to ordered, identity-aware stateful workloads.
Explanation
Correct Answer
A:CPU utilization-based HPA calculations need requests and available resource metrics. This principle explains the targeted result. A concrete response is: Ensure relevant CPU requests are defined and the resource metrics pipeline is working.
Incorrect Answers
B: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. CPU utilization-based HPA calculations need requests and available resource metrics.
C:This principle is useful for another case (A special node has NoSchedule taint and a permitted Pod remains Pending.), but does not explain the most direct solution here. CPU utilization-based HPA calculations need requests and available resource metrics.
D:StatefulSets are suited to ordered, identity-aware stateful workloads. This principle is useful for another case (Database replicas require stable identities and persistent storage across rescheduling.), but does not explain the most direct solution here. The governing consideration is: CPU utilization-based HPA calculations need requests and available resource metrics.
Question 617
A cluster administrator must address the following case: An operator receives HTTP 403 Forbidden from the API server when listing Secrets. Select TWO appropriate statements, one corrective action and one observable outcome.
- Validation: Permitted operations succeed while unauthorized Secret access remains forbidden.
- Remediation: Open a NodePort to fix an API RBAC denial.
- Validation: Kubelet authenticates to the API and node status updates normally.
- Remediation: Inspect etcd endpoint health, disk latency, quorum and certificate connectivity.
- Remediation: Diagnose RBAC authorization and effective identity rather than treating it as a network outage.
Explanation
Correct Answers
A:Validation: Permitted operations succeed while unauthorized Secret access remains forbidden. This result verifies the behavior the remediation is supposed to restore.
E:Remediation: Diagnose RBAC authorization and effective identity rather than treating it as a network outage. The remedy targets the reported failure rather than a different subsystem. An API 403 indicates authorization failure after reaching the API endpoint.
Incorrect Answers
B:Remediation: Open a NodePort to fix an API RBAC denial. This is the unsafe shortcut for the case, not an acceptable intervention. An API 403 indicates authorization failure after reaching the API endpoint.
C:Validation: Kubelet authenticates to the API and node status updates normally. This evidence applies to a different condition (Kubelet logs show TLS certificate errors after a node credential rotation.), and would not verify this target fix: An operator receives HTTP 403 Forbidden from the API server when listing Secrets.
D:Remediation: Inspect etcd endpoint health, disk latency, quorum and certificate connectivity. This action targets a different condition (The API server is slow and logs show etcd request timeouts.), not this reported failure: An operator receives HTTP 403 Forbidden from the API server when listing Secrets.
Question 618
The team is reviewing this failure mode: An administrator cordoned a node but existing Pods are still running on it. Which statement explains WHY the recommended control works?
- A backup without verified restoration cannot demonstrate recoverability.
- kubeadm join uses bootstrap discovery and credentials that can expire.
- Expired control-plane credentials can break otherwise healthy components.
- Cordon changes scheduling eligibility but does not terminate current Pods.
Explanation
Correct Answer
D:Cordon changes scheduling eligibility but does not terminate current Pods. This principle explains the targeted result. A concrete response is: Use drain when eviction is needed; cordon alone only prevents new scheduling.
Incorrect Answers
A:A backup without verified restoration cannot demonstrate recoverability. This principle is useful for another case (A team has an etcd snapshot but no rehearsed recovery procedure.), but does not explain the most direct solution here. The governing consideration is: Cordon changes scheduling eligibility but does not terminate current Pods.
B:Kubeadm join uses bootstrap discovery and credentials that can expire. This principle is useful for another case (A new worker cannot join because its bootstrap token has expired.), but does not explain the most direct solution here. The governing consideration is: Cordon changes scheduling eligibility but does not terminate current Pods.
C:This principle is useful for another case (An API client certificate is about to expire on a kubeadm managed control plane.), but does not explain the most direct solution here. Cordon changes scheduling eligibility but does not terminate current Pods.
Question 619
A platform engineer receives this incident: A kubectl command is applying objects in the wrong environment after a context switch. Which change should be made first after validating the facts?
- Inspect available kubeconfig contexts and explicitly select or specify the intended context.
- Use a Role limited to the required verbs and resourceNames for the named ConfigMap.
- Create a namespaced Role and RoleBinding in prod granting only required pod verbs to the user or group.
- Install and configure a CNI compatible with the cluster Pod CIDR.
Explanation
Correct Answer
A:Inspect available kubeconfig contexts and explicitly select or specify the intended context. This correction targets the specific failure. kubectl uses current-context, user and cluster mappings that must be validated. A successful result is: kubectl commands target the authorized cluster and expected namespace.
Incorrect Answers
B:Use a Role limited to the required verbs and resourceNames for the named ConfigMap. This procedure belongs to a different Kubernetes condition (An operator must update one named ConfigMap but must not edit every ConfigMap.). It does not directly resolve the observed failure. The targeted action is: Inspect available kubeconfig contexts and explicitly select or specify the intended context.
C:This procedure belongs to a different Kubernetes condition (A namespace user can list Pods in dev but receives Forbidden in prod.).
D:Install and configure a CNI compatible with the cluster Pod CIDR. This procedure belongs to a different Kubernetes condition (Newly initialized cluster has a healthy API server but all workers remain NotReady with network plugin not initialized.). It does not directly resolve the observed failure. The targeted action is: Inspect available kubeconfig contexts and explicitly select or specify the intended context.
Question 620
A Kubernetes operations team observes the following: New Pods remain Pending even with free node resources and kube-scheduler is unhealthy. What is the MOST appropriate corrective action?
- Test name resolution, then TCP reachability, policies and listening port stepwise.
- Find and correct backend readiness or selector mismatch before changing external routing.
- Inspect scheduler static Pod health, logs and leader election before targeted repair.
- Apply an approved toleration or choose an eligible untainted node.
Explanation
Correct Answer
C:Inspect scheduler static Pod health, logs and leader election before targeted repair. This correction targets the specific failure. Pending Pod placement depends on a functioning scheduler as well as available resources. A successful result is: Scheduling resumes and eligible Pods receive node assignments.
Incorrect Answers
A:Test name resolution, then TCP reachability, policies and listening port stepwise. This procedure belongs to a different Kubernetes condition (An app cannot reach a database and the error is a TCP timeout, not DNS NXDOMAIN.). It does not directly resolve the observed failure. The targeted action is: Inspect scheduler static Pod health, logs and leader election before targeted repair.
B:Find and correct backend readiness or selector mismatch before changing external routing.
D:Apply an approved toleration or choose an eligible untainted node. This procedure belongs to a different Kubernetes condition (A Pod is Pending with an untolerated NoSchedule taint despite free CPU.). It does not directly resolve the observed failure. The targeted action is: Inspect scheduler static Pod health, logs and leader election before targeted repair.