CKA Kubernetes Cluster Troubleshooting Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 13 | Questions: 20 | Updated: Aug 16, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. The scheduler is not assigning pods to nodes. Which component logs should you check?

Explanation

Check the kube-scheduler logs because the scheduler selects suitable nodes for pending pods. Its logs can reveal why scheduling is failing, such as insufficient resources, node constraints, or scheduling errors.

Submit
Please wait...
About This Quiz
CKA Kubernetes Cluster Troubleshooting Quiz - Quiz

This quiz evaluates your ability to diagnose and resolve common Kubernetes cluster issues. It covers pod failures, node problems, network connectivity, resource constraints, and configuration errors\u2014essential skills for cluster administrators. Test your troubleshooting knowledge across core Kubernetes components and real-world failure scenarios.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. A pod cannot pull its image from a private registry. What should be configured?

Explanation

Private registries require authentication to download images. Configure an `imagePullSecrets` reference in the pod spec so Kubernetes can use the stored registry credentials when pulling the image.

Submit

3. High CPU usage is observed on a node. Which tool helps identify the consuming pod?

Explanation

`kubectl top pod --all-namespaces` displays CPU and memory usage for pods across all namespaces, helping identify which pod is consuming the most CPU on the node.

Submit

4. A LoadBalancer service has a pending external IP. What is the usual reason?

Explanation

A Kubernetes LoadBalancer Service relies on a cloud provider or load balancer controller to provision an external load balancer and assign its IP address. If neither is configured, no component can fulfill that request, so the external IP remains pending. Pod status, kubelet availability, and etcd capacity are not the usual cause.

Submit

5. A pod's init container fails but the main container never starts. What command shows the init container logs?

Explanation

Use `kubectl logs -c ` to view the failed init container’s output. The `-c` option selects the specific container within the pod, since the main container has not started.

Submit

6. The kubelet on a node stops responding. Which systemd command restarts it?

Explanation

`systemctl restart kubelet` uses systemd to stop and start the kubelet service on the node. This can restore the kubelet when it stops responding. The other options either use an invalid command, restart Docker rather than kubelet, or attempt to restart a node through `kubectl`.

Submit

7. A pod is in 'CrashLoopBackOff' state. What does this indicate?

Explanation

CrashLoopBackOff indicates that a container keeps failing or exiting, and Kubernetes repeatedly attempts to restart it. The restart attempts become increasingly delayed, creating a backoff period between retries.

Submit

8. Cluster communication between master and worker nodes fails. What port is typically blocked?

Explanation

Port 6443 is the Kubernetes API server’s standard secure port. Worker nodes use it to communicate with the control plane, so blocking it can prevent cluster operations and node communication from functioning properly.

Submit

9. A stateful pod cannot start because its PVC is in 'Pending'. What is the most likely cause?

Explanation

A PVC remains in `Pending` when Kubernetes cannot find a suitable storage class or provisioner to create the requested volume. Without a provisioner to supply storage, the claim cannot bind to a volume, so the stateful pod cannot start.

Submit

10. DNS resolution fails inside a pod. What is the typical issue?

Explanation

Pods typically rely on CoreDNS to resolve cluster service names and forward external DNS queries. If CoreDNS pods are down or misconfigured, DNS requests from pods cannot be handled, causing name resolution to fail.

Submit

11. A pod remains in 'Pending' state. Which command shows the reason for the pending status?

Explanation

Use `kubectl describe pod ` to inspect the pod’s details and recent events. These events often explain why it remains pending, such as insufficient cluster resources, an unbound PersistentVolumeClaim, or scheduling constraints. The other commands show logs, configuration, or processes, which may not reveal the reason the pod has not started.

Submit

12. A pod has resource requests but is still pending. What should you verify?

Explanation

Kubernetes schedules a pod only when a node has enough available CPU and memory to satisfy its resource requests. Check that a suitable node’s allocatable resources, after accounting for existing workloads, meet or exceed the pod’s requests.

Submit

13. Pods are evicted due to low disk space. What status condition indicates this?

Explanation

DiskPressure indicates that a node is running low on available disk space. When this condition is active, Kubernetes may evict pods to reclaim resources and prevent the node from becoming unusable.

Submit

14. A service cannot reach backend pods. Which command verifies the service selector matches pod labels?

Explanation

`kubectl get endpoints` shows the pod IP addresses and ports associated with each Service. If the Service has no endpoints, it may not be selecting any pods—for example, because its selector does not match their labels. This helps verify whether matching, ready pods are available behind the Service.

Submit

15. The API server is unresponsive. Which component should you check first?

Explanation

etcd stores Kubernetes cluster state and is essential for the API server to process requests. If etcd is unavailable or unreachable, the API server may become unresponsive, so check its status and connectivity first.

Submit

16. A deployment shows 0/3 replicas ready. Which field in 'kubectl describe deployment' helps identify the issue?

Explanation

The Conditions section summarizes the deployment’s current status, while Events provides details about scheduling, image pulls, or other failures. Reviewing both helps identify why none of the three replicas are ready.

Submit

17. Pod communication fails between namespaces. What is the most likely cause?

Explanation

Network policies control which pods and namespaces can communicate. If a policy blocks the relevant traffic, pods in different namespaces cannot reach one another. Insufficient CPU, low node disk space, or a stopped kubelet may cause other issues, but they are less directly associated with namespace-specific communication failures.

Submit

18. A container crashes immediately after starting. Where should you check logs?

Explanation

When a container crashes and restarts, its current log stream may be empty or show only the new attempt. The `--previous` option retrieves logs from the container’s most recently terminated instance, helping reveal the error that caused the crash. Include the pod name in the command, for example: `kubectl logs --previous`.

Submit

19. Which metric indicates insufficient memory on a node?

Explanation

MemoryPressure is the node condition that signals available memory is running low. Kubernetes may respond by reclaiming resources or evicting pods to protect the node. DiskPressure refers to low disk space, NetworkUnavailable to network configuration issues, and PIDPressure to a shortage of process IDs.

Submit

20. A node shows 'NotReady' status. What is the first troubleshooting step?

Explanation

Inspect the kubelet logs on the affected node first. They often reveal why the node is reporting `NotReady`, such as a kubelet failure, configuration issue, or communication problem, helping guide the next troubleshooting step.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
The scheduler is not assigning pods to nodes. Which component logs...
A pod cannot pull its image from a private registry. What should be...
High CPU usage is observed on a node. Which tool helps identify the...
A LoadBalancer service has a pending external IP. What is the usual...
A pod's init container fails but the main container never starts. What...
The kubelet on a node stops responding. Which systemd command restarts...
A pod is in 'CrashLoopBackOff' state. What does this indicate?
Cluster communication between master and worker nodes fails. What port...
A stateful pod cannot start because its PVC is in 'Pending'. What is...
DNS resolution fails inside a pod. What is the typical issue?
A pod remains in 'Pending' state. Which command shows the reason for...
A pod has resource requests but is still pending. What should you...
Pods are evicted due to low disk space. What status condition...
A service cannot reach backend pods. Which command verifies the...
The API server is unresponsive. Which component should you check...
A deployment shows 0/3 replicas ready. Which field in 'kubectl...
Pod communication fails between namespaces. What is the most likely...
A container crashes immediately after starting. Where should you check...
Which metric indicates insufficient memory on a node?
A node shows 'NotReady' status. What is the first troubleshooting...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!