EX280 Troubleshooting And Diagnostics Practice Question
The 'dns' ClusterOperator is reporting Degraded=True because CoreDNS pods are failing health checks. The administrator suspects DNS request loops or upstream forwarding failures. Which log source is most effective for diagnosing CoreDNS resolution errors?
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 logs -n openshift-dns -l dns.operator.openshift.io/daemonset-dns=default
CoreDNS runs as a deployment in the openshift-dns namespace. Its pod logs show incoming query failures and forwarding timeouts.
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 logs -n kube-system deployment/kube-dns
Why it's wrong here
OpenShift uses CoreDNS managed via the openshift-dns namespace, not kube-system/kube-dns.
- ✗
journalctl -u coredns
Why it's wrong here
CoreDNS runs as containerized pods on OpenShift, not as a systemd service on the host.
- ✗
oc logs -n openshift-network-operator deployment/network-operator
Why it's wrong here
The network operator manages cluster networking infrastructure, not CoreDNS application logs.
- ✓
oc logs -n openshift-dns -l dns.operator.openshift.io/daemonset-dns=default
Why this is correct
CoreDNS pods deployed by the DNS operator log all query resolutions and errors in the openshift-dns namespace.
Visual reference
About these practice questions
Courseiva writes every EX280 question from scratch — 509 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 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.