Courseiva
Container OrchestrationmediumMatchingObjective-mapped

KCNA Container Orchestration Practice Question

Match each Kubernetes command (kubectl) to its primary function.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

List one or more resources

Show detailed state of a resource

Create or update resources from a file or stdin

Execute a command inside a container

Print logs from a container in a pod

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 get: List one or more resources

The correct matches are: kubectl get for listing resources, kubectl describe for detailed info, and kubectl apply for applying configurations. Common confusions include swapping the functions of kubectl delete and kubectl logs.

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 get: List one or more resources

    Why this is correct

    kubectl get is used to list Kubernetes resources such as pods, services, deployments, etc.

  • kubectl describe: Show detailed information about a resource

    Why this is correct

    kubectl describe provides detailed information about a specific resource, including events and configuration.

  • kubectl apply: Apply a configuration change from a file

    Why this is correct

    kubectl apply is used to create or update resources by applying a configuration file (usually YAML/JSON).

  • kubectl delete: Print logs for a container in a pod

    Why it's wrong here

    Incorrect — kubectl delete is used to delete resources, not print logs. The correct command for logs is kubectl logs.

  • kubectl logs: Delete resources

    Why it's wrong here

    Incorrect — kubectl logs is used to view container logs, not delete resources. The correct command for deletion is kubectl delete.

About these practice questions

One of 833 original KCNA 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 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.