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 #311
Which command lists all volumes created by Podman?
- A . podman volume ls
- B . podman volumes
- C . podman volume list –all
- D . podman volume show
Correct Answer: A
A
Explanation:
podman volume ls lists all created volumes, displaying their names and metadata.
A
Explanation:
podman volume ls lists all created volumes, displaying their names and metadata.
Question #312
Which instruction ensures a specific user executes container processes?
- A . USER
- B . CMD
- C . RUN
- D . ENV
Correct Answer: A
A
Explanation:
The USER instruction specifies the non-root user for running processes, enhancing container security and reducing risks.
A
Explanation:
The USER instruction specifies the non-root user for running processes, enhancing container security and reducing risks.
Question #313
How do you run a container within an existing pod?
- A . podman create –pod <pod_name> <image>
- B . podman run –network <pod_name> <image>
- C . podman exec –pod <pod_name> <image>
- D . podman start –pod <pod_name> <image>
Correct Answer: A
A
Explanation:
The –pod option in podman create runs a container inside the specified pod.
A
Explanation:
The –pod option in podman create runs a container inside the specified pod.
Question #314
What is the primary purpose of the RUN instruction in a Containerfile?
- A . To copy files from the host
- B . To execute commands during the image build process
- C . To specify default commands for the container
- D . To define the base image
Correct Answer: B
B
Explanation:
The RUN instruction allows the execution of commands to install dependencies, configure software, or make other changes to the image during the build process.
B
Explanation:
The RUN instruction allows the execution of commands to install dependencies, configure software, or make other changes to the image during the build process.
Question #315
Which command shows the differences between a container and its base image?
- A . podman diff
- B . podman inspect
- C . podman history
- D . podman logs
Correct Answer: A
A
Explanation:
The podman diff command shows the changes made to a container’s filesystem compared to its base image.
A
Explanation:
The podman diff command shows the changes made to a container’s filesystem compared to its base image.
Question #316
Which two commands help troubleshoot storage issues in a container? (Select two)
- A . podman inspect <container>
- B . podman stats <container>
- C . podman mount <container>
- D . podman volume inspect <volume>
Correct Answer: A, D
A, D
Explanation:
podman inspect shows storage details for the container, while podman volume inspect provides volume-specific details.
A, D
Explanation:
podman inspect shows storage details for the container, while podman volume inspect provides volume-specific details.
Question #317
How do you add a new container to an existing pod?
- A . podman run –pod <pod_name> <image>
- B . podman add –to-pod <pod_name> <image>
- C . podman create –stack <pod_name> <image>
- D . podman insert <pod_name> <image>
Correct Answer: A
A
Explanation:
The –pod option with podman run adds a new container to the specified pod.
A
Explanation:
The –pod option with podman run adds a new container to the specified pod.
Question #318
What does podman run –user 1001:1001 <image> do?
- A . Runs the container with root privileges
- B . Runs the container as user ID 1001 and group ID 1001
- C . Creates a new user inside the container
- D . Changes the default user for the container image
Correct Answer: B
B
Explanation:
The –user option sets the user and group IDs for running the container process.
B
Explanation:
The –user option sets the user and group IDs for running the container process.
Question #319
Which option mounts a secret into a specific path inside the container?
- A . –secret-path
- B . –mount-secret
- C . –secret id=<name>,target=<path>
- D . –bind-secret
Correct Answer: C
C
Explanation:
The –secret id=<name>,target=<path> option mounts the secret at the specified path inside the container.
C
Explanation:
The –secret id=<name>,target=<path> option mounts the secret at the specified path inside the container.
Question #320
How do you create a Podman container with a specific hostname?
- A . podman run –hostname myhost
- B . podman create –name myhost
- C . podman set-hostname myhost
- D . podman run –name myhost
Correct Answer: A
A
Explanation:
The –hostname option sets the container’s hostname, making it easier to identify within the network.
A
Explanation:
The –hostname option sets the container’s hostname, making it easier to identify within the network.