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 #101
How do you get the exit code of a stopped container?
- A . podman status <container>
- B . podman logs <container>
- C . podman inspect <container>
- D . podman result <container>
Correct Answer: C
C
Explanation:
podman inspect shows detailed metadata, including the exit code of a stopped container.
C
Explanation:
podman inspect shows detailed metadata, including the exit code of a stopped container.
Question #102
Which command displays a real-time stream of container events?
- A . podman events
- B . podman monitor
- C . podman logs –live
- D . podman watch
Correct Answer: A
A
Explanation:
podman events shows a real-time stream of events like container creation, starting, stopping, and deletion.
A
Explanation:
podman events shows a real-time stream of events like container creation, starting, stopping, and deletion.
Question #103
How do you limit the memory usage of a container?
- A . podman run –memory 512m
- B . podman create –limit-mem 512m
- C . podman exec –mem 512m
- D . podman stats –limit 512m
Correct Answer: A
A
Explanation:
The –memory option sets a limit on the container’s memory usage, preventing excessive resource consumption.
A
Explanation:
The –memory option sets a limit on the container’s memory usage, preventing excessive resource consumption.
Question #104
Which command lists all containers using a specific volume?
- A . podman ps –volume <volume>
- B . podman inspect –volume <volume>
- C . podman volume inspect <volume>
- D . podman volume ls –containers
Correct Answer: C
C
Explanation:
podman volume inspect <volume> shows the details, including which containers are using the volume.
C
Explanation:
podman volume inspect <volume> shows the details, including which containers are using the volume.
Question #105
How do you display a container’s process list?
- A . podman top <container>
- B . podman ps <container>
- C . podman exec <container>
- D . podman inspect <container>
Correct Answer: A
A
Explanation:
The podman top command shows the processes running inside a container, similar to the top command on a host system.
A
Explanation:
The podman top command shows the processes running inside a container, similar to the top command on a host system.
Question #106
How do you inspect the configuration of a running container?
- A . podman ps –config
- B . podman status <container>
- C . podman inspect <container>
- D . podman view <container>
Correct Answer: C
C
Explanation:
podman inspect shows the detailed configuration and state of a running container.
C
Explanation:
podman inspect shows the detailed configuration and state of a running container.
Question #107
Which instruction in a Containerfile helps reduce image size by combining commands?
- A . RUN with &&
- B . CMD
- C . ENTRYPOINT
- D . COPY
Correct Answer: A
A
Explanation:
Using RUN with && combines multiple commands into a single layer, reducing the number of layers and image size.
A
Explanation:
Using RUN with && combines multiple commands into a single layer, reducing the number of layers and image size.
Question #108
How do you unmount a container’s filesystem after mounting it?
- A . podman umount <container>
- B . podman detach <container>
- C . podman unbind <container>
- D . podman stop <container>
Correct Answer: A
A
Explanation:
The podman umount command unmounts the container’s root filesystem, ensuring resources are freed.
A
Explanation:
The podman umount command unmounts the container’s root filesystem, ensuring resources are freed.
Question #109
Which command restarts a container?
- A . podman restart <container>
- B . podman start –force <container>
- C . podman run <container>
- D . podman stop <container>
Correct Answer: A
A
Explanation:
podman restart stops and starts a container, useful for applying configuration changes.
A
Explanation:
podman restart stops and starts a container, useful for applying configuration changes.
Question #110
Which command shows the filesystem changes made by a container?
- A . podman diff <container>
- B . podman inspect <container>
- C . podman logs <container>
- D . podman show <container>
Correct Answer: A
A
Explanation:
The podman diff command shows changes to the container’s filesystem, useful for debugging.
A
Explanation:
The podman diff command shows changes to the container’s filesystem, useful for debugging.