RedHat EX188 Practice Exams
Last updated on Oct 22,2026- Exam Code: EX188
- Exam Name: Red Hat Certified Specialist in Containers
- Certification Provider: RedHat
- Latest update: Oct 22,2026
Question #211
How do you ensure a volume persists after the container stops?
- A . Use a named volume
- B . Use an anonymous volume
- C . Use –bind
- D . Use –tmpfs
Correct Answer: A
A
Explanation:
Named volumes ensure data persists beyond the container lifecycle, unlike anonymous volumes.
A
Explanation:
Named volumes ensure data persists beyond the container lifecycle, unlike anonymous volumes.
Question #212
Which command lists all currently running containers?
- A . podman ps
- B . podman list
- C . podman inspect
- D . podman status
Correct Answer: A
A
Explanation:
podman ps shows all running containers, including their IDs, names, statuses, and other details.
A
Explanation:
podman ps shows all running containers, including their IDs, names, statuses, and other details.
Question #213
Which command lists all registries configured for Podman?
- A . podman registries
- B . podman info
- C . podman list-registries
- D . podman search
Correct Answer: B
B
Explanation:
podman info displays Podman’s system configuration, including a list of configured registries.
B
Explanation:
podman info displays Podman’s system configuration, including a list of configured registries.
Question #214
Which two commands help diagnose high CPU usage in a container? (Select two)
- A . podman top <container>
- B . podman stats <container>
- C . podman logs <container>
- D . podman inspect –cpu <container>
Correct Answer: A, B
A, B
Explanation:
podman top lists active processes, and podman stats shows real-time CPU usage for diagnosing performance issues.
A, B
Explanation:
podman top lists active processes, and podman stats shows real-time CPU usage for diagnosing performance issues.
Question #215
What is the purpose of cleaning up unused volumes after container deletion?
- A . To save disk space
- B . To enhance container performance
- C . To remove metadata conflicts
- D . To improve runtime security
Correct Answer: A
A
Explanation:
Cleaning up unused volumes reduces disk space usage, prevents clutter, and avoids potential conflicts in volume management.
A
Explanation:
Cleaning up unused volumes reduces disk space usage, prevents clutter, and avoids potential conflicts in volume management.
Question #216
What is the purpose of the podman save command?
- A . Exports a container’s state
- B . Saves an image as a tar archive
- C . Commits changes to an image
- D . Copies images between hosts
Correct Answer: B
B
Explanation:
podman save exports an image and its metadata as a tar archive, useful for backups or distribution.
B
Explanation:
podman save exports an image and its metadata as a tar archive, useful for backups or distribution.
Question #217
Which option specifies the user for a container in a pod?
- A . –pod-user
- B . –user
- C . –uid
- D . –owner
Correct Answer: B
B
Explanation:
The –user option sets the user for the container process, affecting permissions and access control.
B
Explanation:
The –user option sets the user for the container process, affecting permissions and access control.
Question #218
Which command lists the events related to Podman operations?
- A . podman events
- B . podman history
- C . podman logs
- D . podman monitor
Correct Answer: A
A
Explanation:
The podman events command displays real-time or historical events, such as container start, stop, or delete actions.
A
Explanation:
The podman events command displays real-time or historical events, such as container start, stop, or delete actions.
Question #219
How does exposing ports in a Containerfile affect container networking?
- A . It allows the container to listen for traffic on specified ports
- B . It opens host system ports
- C . It restricts access to internal services
- D . It is mandatory for network connectivity
Correct Answer: A
A
Explanation:
The EXPOSE instruction informs container runtime of the ports that the application listens on, enabling service discovery but not opening the ports automatically.
A
Explanation:
The EXPOSE instruction informs container runtime of the ports that the application listens on, enabling service discovery but not opening the ports automatically.
Question #220
Why should environment variables be defined in the image?
- A . To ensure consistent configuration across deployments
- B . To allow runtime configuration only
- C . To increase build time
- D . To enable image-specific network settings
Correct Answer: A
A
Explanation:
Defining environment variables in the image ensures consistency, making deployment predictable and reliable.
A
Explanation:
Defining environment variables in the image ensures consistency, making deployment predictable and reliable.