EX280 Troubleshooting And Diagnostics Practice Question
An administrator wants to check the resource requests and limits across all pods in a specific namespace. Which command provides this summary?
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
✓
oc get pods -o custom-columns=NAME:.metadata.name,CPU:.spec.containers[*].resources.requests.cpu
oc adm top pod lists CPU and memory usage for pods, while describing or querying pod YAML specifications reveals requests and limits.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
oc get quota
Why it's wrong here
oc get quota shows namespace quota limits, not individual pod specifications.
- ✗
oc describe namespace my-namespace
Why it's wrong here
Describing a namespace shows quotas, but not individual pod resource settings.
- ✓
oc get pods -o custom-columns=NAME:.metadata.name,CPU:.spec.containers[*].resources.requests.cpu
Why this is correct
Custom columns allow extracting specific resource requests and limits from pod specifications.
- ✗
oc adm top pod -n my-namespace
Why it's wrong here
oc adm top shows current utilization, not configured requests and limits.
About these practice questions
One of 509 original EX280 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 →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Red Hat exam blueprint
This EX280 practice question is part of Courseiva's free Red Hat 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 EX280 exam.