Courseiva
Kubernetes Fundamentals →easyMultiple Choice

KCNA Kubernetes Fundamentals Practice Question

Which kubectl command is used to view detailed information about a Kubernetes resource?

⚠ Common exam trap

A common mix-up: candidates confuse `kubectl get` (which shows a summary) with `kubectl describe` (which shows detailed information), especially when they see the word 'get' and assume it retrieves all details.

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 describe

The `kubectl describe` command retrieves detailed, multi-section information about a specific Kubernetes resource, including events, status conditions, and configuration details. Unlike `kubectl get`, which shows a summary, `kubectl describe` provides a deep dive into the resource's current state, making it the correct choice for viewing detailed information.

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 describe

    Why this is correct

    kubectl describe fetches a resource's aggregated state and surfaces detailed information, including events, conditions and configuration, for a named object. This directly satisfies the stem's requirement for viewing detailed resource information, unlike kubectl get, which returns only summary or tabular output.

  • ✗

    kubectl get

    Why it's wrong here

    kubectl get lists resources and shows summary columns, not the detailed state, events and configuration that describe provides. It tempts because get is the everyday command for querying resources, yet it lacks the verbose per-object output the question asks for.

  • ✗

    kubectl exec

    Why it's wrong here

    kubectl exec opens an interactive shell or runs a command inside a running container; it does not report resource metadata. It tempts because exec is used for live pod troubleshooting, but viewing detailed resource information requires kubectl describe.

  • ✗

    kubectl logs

    Why it's wrong here

    kubectl logs retrieves container stdout/stderr for a pod, not resource details. It tempts because log inspection is a genuine troubleshooting task, but the command that returns full resource detail, including events and status, is kubectl describe.

About these practice questions

Courseiva writes every KCNA question from scratch — 930 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 KCNA 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 KCNA exam.