Courseiva
Workloads and SchedulingmediumMultiple ChoiceObjective-mapped

CKA Workloads and Scheduling Practice Question

A pod is in 'Pending' state. 'kubectl describe pod' shows '0/4 nodes are available: 1 node(s) had taint that the pod didn't tolerate, 2 node(s) didn't match pod's node affinity/selector, 1 node(s) had insufficient memory'. What does this indicate?

⚠ Common exam trap

CNCF often tests the distinction between resource requests and limits, and candidates mistakenly think limits affect scheduling, when in fact only requests are considered by the scheduler's PodFitsResources predicate.

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

The pod is unschedulable due to multiple constraints

The 'Pending' state combined with the scheduler's message '0/4 nodes are available' and the listed reasons (taints, node affinity/selector mismatches, insufficient memory) indicates that the pod cannot be placed on any node due to multiple constraints. The scheduler evaluates all nodes and finds none that satisfy the pod's requirements, making the pod unschedulable. This is not a transient resource issue but a combination of scheduling constraints that must be resolved manually.

Answer analysis

Option-by-option breakdown

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

  • The pod's image pull failed on all nodes

    Why it's wrong here

    A failed image pull surfaces as ErrImagePull or ImagePullBackOff in pod status and kubectl describe events, not as a persistent Pending state. Pending with 0/N nodes indicates the scheduler has not yet selected a node; if an image pull failed, the pod would have been scheduled to a node and moved to ContainerCreating before failing. Therefore, this explanation misidentifies the phase in which image pull errors occur.

  • The pod will eventually be scheduled when resources free up

    Why it's wrong here

    The issue is not a temporary resource shortage. If the only problem were insufficient CPU or memory, the pod would remain Pending but scheduling would succeed once capacity freed; however, taints, tolerations, and nodeAffinity constraints are binary filters that no amount of resource availability can change. The scheduler does not continuously retry pods that fail all nodes due to hard constraints; instead it reports the pod as unschedulable indefinitely. Thus, 'eventually scheduled' is incorrect.

  • The pod is unschedulable due to multiple constraints

    Why this is correct

    Correct. The '0/N' node count in kubectl describe means the scheduler evaluated all nodes and none satisfied the pod's combined requirements, such as nodeSelector, node affinity, required tolerations, or disk/resource requests. The pod's PodScheduled condition is False with a reason of Unschedulable, and events show failedScheduling. Multiple simultaneous constraints each eliminate different nodes, leaving no feasible candidate.

  • The pod has a resource limit that prevents it from running

    Why it's wrong here

    A resource limit (the 'limits' field) configures cgroup enforcement at runtime and does not participate in the scheduling decision; only resource requests are considered to place a pod on a node. If a pod exceeds its limit, it gets OOMKilled or throttled after startup, but it will not remain Pending. Additionally, setting a limit without a request doesn't prevent scheduling, so this answer conflates a runtime constraint with a scheduling filter.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

About these practice questions

One of 302 original CKA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.