EX280 Troubleshooting And Diagnostics Practice Question
An application pod is experiencing intermittent network drops. The administrator wants to capture network packets passing through the pod's interface for analysis. Which tool can be used inside a debugging session attached to the pod namespace?
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 debug pod/<pod-name> -- tcpdump -i any -w /tmp/packet.pcap
Using oc debug to attach to the target pod allows running tcpdump if diagnostic utilities are included in the debug container image.
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 network capture <pod-name>
Why it's wrong here
This command does not exist in the OpenShift CLI.
- ✗
oc exec pod/<pod-name> -- wireshark
Why it's wrong here
Wireshark is a GUI tool and typically not installed inside container images.
- ✓
oc debug pod/<pod-name> -- tcpdump -i any -w /tmp/packet.pcap
Why this is correct
oc debug allows capturing traffic by attaching to the pod's network namespace.
- ✗
oc adm tcpdump pod/<pod-name>
Why it's wrong here
No such adm tcpdump command exists in OpenShift.
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.