Courseiva
Troubleshooting →mediumMultiple Choice

CKA Troubleshooting Practice Question

You see a pod in 'Pending' state. 'kubectl describe pod' shows '0/4 nodes are available: 1 node(s) had taint(s) that the pod didn't tolerate, 3 Insufficient cpu'. What should you do?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Scale down other deployments to free CPU

The pod is pending due to two issues: taint on one node and insufficient CPU on three nodes. Scaling down other deployments frees CPU resources on nodes, allowing the pod to be scheduled on nodes with sufficient CPU, potentially avoiding the tainted node. Option A only removes the taint but does not solve the CPU shortage. Option C does not affect scheduling. Option D increases CPU requests, worsening the CPU shortage. Therefore, B is the correct action.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Delete the taint from the node

    Why it's wrong here

    Deleting the taint from the node only erases the 'NoSchedule' marker; it does not create or free any CPU capacity. The scheduler still requires a node whose allocatable resources can accommodate the pod's requests, and if the previously tainted node is already at its request limit or the other nodes are full, the pod stays pending. In a production cluster, removing a taint prematurely can cause other workloads to be scheduled onto the node, further increasing CPU pressure and making the situation worse.

  • ✓

    Scale down other deployments to free CPU

    Why this is correct

    Scaling down other Deployments reduces the total CPU requests reported against those nodes, which is exactly what the scheduler uses to compute resource availability. When the request sums drop below a node's allocatable capacity, the pending pod's request can fit, enabling successful placement. This resolves the root cause of the pending state without altering the pod's toleration settings or risking node stability, and it is a common operational remedy for clusters experiencing CPU exhaustion.

  • ✗

    Increase the CPU limits only

    Why it's wrong here

    Increasing the CPU limits only changes the upper bound enforced by the cgroup for runtime throttling; it does not alter the CPU request, which is the value used by the kube-scheduler when determining node fit. Without a toleration, the pod still cannot be placed on the tainted node, and on all other nodes the scheduler sees the same request, so no new node becomes feasible. Limits affect how much CPU the container may consume after admission, not whether it can be admitted.

  • ✗

    Add the required toleration to the pod spec and increase CPU requests

    Why it's wrong here

    Adding the required toleration removes the taint-based admission restriction, so the pod would be allowed onto the tainted node, but that node already lacks allocatable CPU to satisfy the pod's request. Raising CPU requests simultaneously increases the amount of idle CPU the scheduler demands on every candidate node, making the existing resource shortage more severe and shrinking the set of feasible nodes. The pod remains pending because the underlying capacity deficit is not resolved; the toleration only addresses a scheduling restriction, not resource availability.

About these practice questions

Courseiva writes every CKA question from scratch — 726 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This CKA practice question is part of Courseiva's free CNCF certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CKA exam.