CKA kubectl get Practice Question
Which of the following commands will list all PersistentVolumeClaims in a cluster?
⚠ Common exam trap
Candidates often confuse the shorthand `pv` for PersistentVolume with `pvc` for PersistentVolumeClaim, or mistakenly believe that `kubectl get claims` is valid.
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 pvc
`kubectl get pvc` is the correct command to list PersistentVolumeClaims using the official short name. Option A lists PersistentVolumes (`pv`). Option C (`claims`) and Option D (`persistent-volume-claims` with hyphens) are invalid resource names and will result in an error.
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 pv
Why it's wrong here
kubectl get pv lists PersistentVolumes, the cluster-scoped storage resources, not the namespaced claims that bind to them. It is the right command when you need to inspect available or released PersistentVolumes and their reclaim policies.
- ✓
kubectl get pvc
Why this is correct
Correct. `kubectl get pvc` is the standard shorthand command to list all PersistentVolumeClaims.
- ✗
kubectl get claims
Why it's wrong here
kubectl get claims is not a valid resource type and returns an error; the correct resource name is persistentvolumeclaims, abbreviated pvc. It is tempting because 'claims' matches the conceptual term, and kubectl get pvc would be the correct command to list PersistentVolumeClaims in a namespace.
- ✗
kubectl get persistent-volume-claims
Why it's wrong here
kubectl resolves resource types by singular, plural, short name or kind, not by hyphenating the full kind; persistent-volume-claims is not a registered resource name, so the command errors. The tempting form mirrors the API kind PersistentVolumeClaim, but the correct invocation is kubectl get pvc or kubectl get persistentvolumeclaims.
Go deeper
Related to this question
Key term
Persistent Volumes
A Persistent Volume is a piece of storage in a Kubernetes cluster that has been provisioned by an administrator and exists independently of any single pod that uses it.
Key term
kubectl Command Reference
kubectl is the command-line tool used to interact with and manage Kubernetes clusters by sending commands to the Kubernetes API.
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 →
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.