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 #121
Which instruction allows you to specify multiple build commands in one layer?
- A . RUN
- B . CMD
- C . ENTRYPOINT
- D . ENV
Correct Answer: A
A
Explanation:
The RUN instruction can combine multiple commands using && to reduce the number of image layers.
A
Explanation:
The RUN instruction can combine multiple commands using && to reduce the number of image layers.
Question #122
Which two commands create a new container? (Select two)
- A . podman run
- B . podman create
- C . podman exec
- D . podman commit
Correct Answer: A, B
A, B
Explanation:
podman run and podman create both create containers, but run also starts the container immediately.
A, B
Explanation:
podman run and podman create both create containers, but run also starts the container immediately.
Question #123
What happens when you use podman stop <container>?
- A . Gracefully stops a running container
- B . Forcefully kills the container
- C . Restarts the container
- D . Deletes the container
Correct Answer: A
A
Explanation:
podman stop sends a SIGTERM signal to gracefully stop the container, allowing cleanup tasks to complete.
A
Explanation:
podman stop sends a SIGTERM signal to gracefully stop the container, allowing cleanup tasks to complete.
Question #124
Which two commands show the configuration of a container? (Select two)
- A . podman config <container>
- B . podman inspect <container>
- C . podman info <container>
- D . podman run –details <container>
Correct Answer: B, C
B, C
Explanation:
podman inspect and podman info provide detailed configuration and metadata of containers and the system.
B, C
Explanation:
podman inspect and podman info provide detailed configuration and metadata of containers and the system.
Question #125
Which option with podman run sets the working directory for the container?
- A . –cwd
- B . –workdir
- C . –dir
- D . –path
Correct Answer: B
B
Explanation:
The –workdir option sets the working directory for the container, affecting where commands execute.
B
Explanation:
The –workdir option sets the working directory for the container, affecting where commands execute.
Question #126
Which two commands help you monitor a container’s resource usage? (Select two)
- A . podman top <container>
- B . podman stats <container>
- C . podman inspect –resources <container>
- D . podman logs –resources <container>
Correct Answer: A, B
A, B
Explanation:
podman top shows running processes, and podman stats provides real-time CPU, memory, and I/O usage.
A, B
Explanation:
podman top shows running processes, and podman stats provides real-time CPU, memory, and I/O usage.
Question #127
Which of the following commands will remove all unused containers, networks, and volumes?
- A . podman prune -a
- B . podman system prune -a
- C . podman clean –all
- D . podman rmi –force
Correct Answer: B
B
Explanation:
The podman system prune -a command removes all unused containers, networks, and volumes, freeing up disk space.
B
Explanation:
The podman system prune -a command removes all unused containers, networks, and volumes, freeing up disk space.
Question #128
Which command lists all containers within a pod?
- A . podman ps –pod
- B . podman pod list
- C . podman pod ps
- D . podman pod inspect
Correct Answer: C
C
Explanation:
podman pod ps displays all pods and their associated containers.
C
Explanation:
podman pod ps displays all pods and their associated containers.
Question #129
Which two commands inspect a volume’s details? (Select two)
- A . podman volume inspect <volume>
- B . podman inspect <volume>
- C . podman volume show <volume>
- D . podman info –volume <volume>
Correct Answer: A, B
A, B
Explanation:
podman volume inspect and podman inspect both show detailed information about a volume.
A, B
Explanation:
podman volume inspect and podman inspect both show detailed information about a volume.
Question #130
Which command displays a container’s environment variables?
- A . podman inspect <container>
- B . podman logs <container>
- C . podman env <container>
- D . podman config <container>
Correct Answer: A
A
Explanation:
podman inspect provides detailed information, including the container’s environment variables.
A
Explanation:
podman inspect provides detailed information, including the container’s environment variables.