mediumMultiple SelectObjective-mapped
XK0-006 Practice Question: A Linux administrator uses Podman for container…
A Linux administrator uses Podman for container management. Which TWO commands display a list of currently running containers?
⚠ Common exam trap
Many exam-takers assume `docker ps` works identically in Podman due to CLI compatibility, but the exam expects Podman-native commands, and they may overlook that `podman container ls` is the explicit form while `podman ps` is the shorthand.
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 container ls
`podman container ls` is the explicit Podman command to list running containers, equivalent to `podman ps`. Option E is also correct because `podman ps` is the standard shorthand for listing running containers in Podman, mirroring Docker's `docker ps` syntax. Both commands display the same output of currently active containers.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
docker ps
Why it's wrong here
Incorrect: Docker is not used in this environment; `docker ps` would not work.
- ✗
podman inspect
Why it's wrong here
Incorrect: `podman inspect` shows detailed information about a specific container, not a list.
- ✗
podman images
Why it's wrong here
Incorrect: `podman images` lists container images, not containers.
- ✓
podman container ls
Why this is correct
Correct: `podman container ls` is an alias for `podman ps`.
- ✓
podman ps
Why this is correct
Correct: `podman ps` lists running containers.
Go deeper
Related to this question
Learn chapter
Linux Fundamentals and History
Key term
Output
In IT service management, output is the result or deliverable produced by a process, system, or component, such as data, reports, or services delivered to a customer.
Key term
Linux
Linux is an open-source operating system that manages computer hardware and software, widely used in servers, desktops, and embedded systems.
About these practice questions
One of 979 original XK0-006 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 by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This XK0-006 practice question is part of Courseiva's free CompTIA 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 XK0-006 exam.