Courseiva
TroubleshootingmediumMultiple SelectObjective-mapped

CKA kubectl top pods Practice Question

You want to check resource usage of pods and nodes. Which TWO commands should you use?

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

kubectl top pods

To check resource usage, use `kubectl top pods` (B) for pods and `kubectl top nodes` (C) for nodes. The incorrect options use invalid flags: `kubectl top pod --nodes` and `kubectl top node --containers` are not supported, making them syntactically invalid.

Answer analysis

Option-by-option breakdown

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

  • kubectl top pod --nodes

    Why it's wrong here

    The correct command is 'kubectl top pods' (plural).

  • kubectl top pods

    Why this is correct

    Shows CPU/memory usage of pods.

  • kubectl top nodes

    Why this is correct

    Shows CPU/memory usage of nodes.

  • kubectl resource usage

    Why it's wrong here

    Not a valid kubectl command.

  • kubectl top node --containers

    Why it's wrong here

    The correct command is 'kubectl top nodes' (plural).

About these practice questions

This CKA question is part of Courseiva's 302-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.