Courseiva
Troubleshooting And DiagnosticsmediumMultiple ChoiceObjective-mapped

EX280 Troubleshooting And Diagnostics Practice Question

An application pod is running, but HTTP requests to the service are returning '502 Bad Gateway'. The administrator wants to check if the endpoints controller has populated the Service with active pod IP addresses. Which command verifies this?

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 endpoints my-service

oc get endpoints lists the IP addresses and ports corresponding to the Service selector, confirming if pods are registered.

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 svc my-service

    Why it's wrong here

    oc get svc shows service ports and selectors, but not the resolved backend endpoint IP addresses.

  • oc get endpoints my-service

    Why this is correct

    oc get endpoints displays the target pod IPs currently backing the service.

  • oc describe ingress

    Why it's wrong here

    Ingress resources are secondary in OpenShift where Routes are primary, and it doesn't show endpoint IPs.

  • oc get routes my-route

    Why it's wrong here

    Routes deal with external ingress traffic, not internal service-to-pod endpoint mapping.

About these practice questions

This EX280 question is part of Courseiva's 509-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.