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 #241
What is the best practice for managing container volumes?
- A . Use named volumes for better lifecycle management
- B . Always use host mounts
- C . Avoid using volumes
- D . Rely on temporary filesystems
Correct Answer: A
A
Explanation:
Named volumes are managed by the container runtime, ensuring data persistence and better lifecycle control compared to host mounts.
A
Explanation:
Named volumes are managed by the container runtime, ensuring data persistence and better lifecycle control compared to host mounts.
Question #242
What does the podman volume inspect command display?
- A . Detailed information about a specific volume
- B . All mounted volumes
- C . Volume creation logs
- D . Container logs
Correct Answer: A
A
Explanation:
podman volume inspect provides detailed metadata about a volume, including mount points and labels.
A
Explanation:
podman volume inspect provides detailed metadata about a volume, including mount points and labels.
Question #243
What is the default user for a Podman container if USER is not specified?
- A . root
- B . podman
- C . nobody
- D . system
Correct Answer: A
A
Explanation:
If no USER instruction is specified, the container runs as the root user by default, which poses security risks.
A
Explanation:
If no USER instruction is specified, the container runs as the root user by default, which poses security risks.
Question #244
Which command creates a new container stack using a YAML file?
- A . podman stack create <file>
- B . podman compose up <file>
- C . podman run –file <file>
- D . podman play kube <file>
Correct Answer: D
D
Explanation:
podman play kube <file> creates containers and pods based on Kubernetes YAML definitions.
D
Explanation:
podman play kube <file> creates containers and pods based on Kubernetes YAML definitions.
Question #245
What does podman exec -u root <container> bash do?
- A . Runs a Bash shell as the root user inside the container
- B . Updates the container’s user settings
- C . Stops the container
- D . Restarts the container as root
Correct Answer: A
A
Explanation:
The -u root option runs the bash command inside the container as the root user.
A
Explanation:
The -u root option runs the bash command inside the container as the root user.
Question #246
How do you attach to a running container’s interactive terminal?
- A . podman exec -it <container>
- B . podman attach <container>
- C . podman start -i <container>
- D . podman connect <container>
Correct Answer: B
B
Explanation:
The podman attach command connects your terminal to a running container’s standard input/output.
B
Explanation:
The podman attach command connects your terminal to a running container’s standard input/output.
Question #247
What does the –rm option do when running a container?
- A . Removes the container after it stops
- B . Runs the container in read-only mode
- C . Forces the container to restart
- D . Runs the container with minimal resources
Correct Answer: A
A
Explanation:
The –rm option automatically removes the container after it exits, keeping the system clean.
A
Explanation:
The –rm option automatically removes the container after it exits, keeping the system clean.
Question #248
What is the benefit of using skopeo for image management?
- A . It supports copying images without local storage
- B . It replaces Podman
- C . It compresses images
- D . It lists running containers
Correct Answer: A
A
Explanation:
skopeo can copy images between registries directly without storing them locally, improving efficiency.
A
Explanation:
skopeo can copy images between registries directly without storing them locally, improving efficiency.
Question #249
What does podman save do?
- A . Exports an image to a tar archive
- B . Saves a running container’s state
- C . Commits changes to a container
- D . Creates a new volume
Correct Answer: A
A
Explanation:
The podman save command exports an image as a tar archive, making it portable.
A
Explanation:
The podman save command exports an image as a tar archive, making it portable.
Question #250
Which command removes all stopped pods?
- A . podman pod rm –all
- B . podman pod prune
- C . podman pod stop –all
- D . podman pod clean
Correct Answer: B
B
Explanation:
podman pod prune removes all stopped pods and their containers.
B
Explanation:
podman pod prune removes all stopped pods and their containers.