EX188 Container Operations And Lifecycle Practice Question
An administrator wants to examine the internal state, environment variables, or port mappings of a running container. Which TWO commands or techniques are appropriate? (Choose TWO)
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
✓
podman port
podman inspect retrieves low-level metadata, and podman port displays mapped network ports.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
podman port
Why this is correct
podman port lists public port mappings for the container.
- ✗
podman list-ports
Why it's wrong here
podman list-ports does not exist.
- ✓
podman inspect
Why this is correct
podman inspect provides comprehensive JSON metadata including environment variables and configuration.
- ✗
podman env
Why it's wrong here
podman env is not a valid Podman command for running containers.
- ✗
podman show-env
Why it's wrong here
podman show-env is invalid.
About these practice questions
This EX188 question is part of Courseiva's 301-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 →
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 EX188 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 EX188 exam.