RedHat EX188 Practice Exams
Last updated on Oct 21,2026- Exam Code: EX188
- Exam Name: Red Hat Certified Specialist in Containers
- Certification Provider: RedHat
- Latest update: Oct 21,2026
Question #41
Which command shows all application stacks managed by Podman?
- A . podman list stacks
- B . podman pod ps
- C . podman stack ps
- D . podman compose ls
Correct Answer: B
B
Explanation:
podman pod ps lists all running pods, representing application stacks.
B
Explanation:
podman pod ps lists all running pods, representing application stacks.
Question #42
Which command sets an environment variable while running a container?
- A . podman run –env VAR=value <image>
- B . podman create –set-env VAR=value <image>
- C . podman exec –env VAR=value <image>
- D . podman start –env VAR=value <image>
Correct Answer: A
A
Explanation:
The –env option in podman run sets an environment variable for the container at runtime.
A
Explanation:
The –env option in podman run sets an environment variable for the container at runtime.
Question #43
Which two commands back up a named volume? (Select two)
- A . podman volume export <volume>
- B . tar -cvf backup.tar /path/to/volume
- C . podman save <volume>
- D . podman volume save <volume>
Correct Answer: A, B
A, B
Explanation:
podman volume export and tar can be used to back up the contents of a volume to a tar archive.
A, B
Explanation:
podman volume export and tar can be used to back up the contents of a volume to a tar archive.
Question #44
Which statement is true about mounting a host directory into a container?
- A . It requires careful permission management
- B . It automatically adjusts SELinux policies
- C . It is preferred for ephemeral data
- D . It avoids volume lifecycle management
Correct Answer: A
A
Explanation:
Host directory mounts must respect permission and security settings like SELinux to prevent unauthorized access and data corruption.
A
Explanation:
Host directory mounts must respect permission and security settings like SELinux to prevent unauthorized access and data corruption.
Question #45
Which two commands list all logs for a container? (Select two)
- A . podman logs <container>
- B . podman events <container>
- C . podman inspect –logs <container>
- D . podman logs –all <container>
Correct Answer: A, B
A, B
Explanation:
podman logs shows container logs, while podman events lists historical events, including log-related activities.
A, B
Explanation:
podman logs shows container logs, while podman events lists historical events, including log-related activities.
Question #46
Which command shows the image ID used by a container?
- A . podman ps –image-id
- B . podman inspect -f ‘{{.Image}}’ <container>
- C . podman images <container>
- D . podman logs –image <container>
Correct Answer: B
B
Explanation:
podman inspect with the {{.Image}} Go template displays the image ID of the container.
B
Explanation:
podman inspect with the {{.Image}} Go template displays the image ID of the container.
Question #47
Which command shows the network settings of a running container?
- A . podman logs <container>
- B . podman netinfo <container>
- C . podman inspect <container>
- D . podman network <container>
Correct Answer: C
C
Explanation:
podman inspect provides detailed information, including the container’s network configuration.
C
Explanation:
podman inspect provides detailed information, including the container’s network configuration.
Question #48
Which command listens for Podman events and displays them in real time?
- A . podman watch
- B . podman logs
- C . podman events
- D . podman monitor
Correct Answer: C
C
Explanation:
podman events displays real-time events, such as container creation, starting, or stopping.
C
Explanation:
podman events displays real-time events, such as container creation, starting, or stopping.
Question #49
How do you add a secret to a running container?
- A . podman exec –secret <name>
- B . podman update –secret <name>
- C . podman restart –secret <name>
- D . Secrets cannot be added to a running container
Correct Answer: D
D
Explanation:
Secrets must be specified when the container is created; they cannot be added to a running container.
D
Explanation:
Secrets must be specified when the container is created; they cannot be added to a running container.
Question #50
What is the default location for Podman container storage?
- A . /var/lib/containers/storage
- B . /etc/containers
- C . /usr/local/containers
- D . /opt/podman/storage
Correct Answer: A
A
Explanation:
The default storage location for Podman containers is /var/lib/containers/storage.
A
Explanation:
The default storage location for Podman containers is /var/lib/containers/storage.