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 #201
Which two commands can you use to manage container images? (Select two)
- A . podman images
- B . podman rmi
- C . podman logs
- D . podman exec
Correct Answer: A, B
A, B
Explanation:
podman images lists images, and podman rmi removes images.
A, B
Explanation:
podman images lists images, and podman rmi removes images.
Question #202
When would you use the ENTRYPOINT instruction with parameters?
- A . When you need fixed executable behavior with variable arguments
- B . When you need to install software packages
- C . When setting environment variables
- D . When copying files into the container
Correct Answer: A
A
Explanation:
ENTRYPOINT with parameters allows you to define a fixed command while permitting flexible arguments at runtime.
A
Explanation:
ENTRYPOINT with parameters allows you to define a fixed command while permitting flexible arguments at runtime.
Question #203
Which option provides TLS verification when interacting with a private registry?
- A . –tls
- B . –secure
- C . –tls-verify
- D . –ssl
Correct Answer: C
C
Explanation:
The –tls-verify option ensures that Podman verifies the SSL/TLS certificates of the registry for secure communication.
C
Explanation:
The –tls-verify option ensures that Podman verifies the SSL/TLS certificates of the registry for secure communication.
Question #204
Which two commands display real-time events of all containers? (Select two)
- A . podman events
- B . podman monitor
- C . podman logs –events
- D . podman watch
Correct Answer: A, B
A, B
Explanation:
podman events and podman monitor both show real-time container events.
A, B
Explanation:
podman events and podman monitor both show real-time container events.
Question #205
Which two instructions help optimize container image size? (Select two)
- A . Use multi-stage builds
- B . Combine commands in RUN statements
- C . Use ENTRYPOINT
- D . Expose all ports
Correct Answer: A, B
A, B
Explanation:
Multi-stage builds and combining commands in RUN statements reduce image layers and optimize size.
A, B
Explanation:
Multi-stage builds and combining commands in RUN statements reduce image layers and optimize size.
Question #206
What happens if you do not clean up volumes after a container is removed?
- A . The container image becomes corrupted
- B . The volumes persist and consume disk space
- C . The container cannot be restarted
- D . The container loses data integrity
Correct Answer: B
B
Explanation:
If volumes are not cleaned up, they remain on the host, consuming unnecessary disk space and cluttering storage.
B
Explanation:
If volumes are not cleaned up, they remain on the host, consuming unnecessary disk space and cluttering storage.
Question #207
Which command shows detailed information about an image?
- A . podman inspect <image>
- B . podman info <image>
- C . podman show <image>
- D . podman history <image>
Correct Answer: A
A
Explanation:
podman inspect provides detailed configuration and metadata for an image.
A
Explanation:
podman inspect provides detailed configuration and metadata for an image.
Question #208
Which command removes all stopped containers?
- A . podman rm -a
- B . podman prune containers
- C . podman clean –all
- D . podman rm –stopped
Correct Answer: A
A
Explanation:
The podman rm -a command removes all stopped containers, freeing up system resources.
A
Explanation:
The podman rm -a command removes all stopped containers, freeing up system resources.
Question #209
How do you list all containers, including stopped ones?
- A . podman ps –all
- B . podman list –stopped
- C . podman status –all
- D . podman show –all
Correct Answer: A
A
Explanation:
podman ps –all lists both running and stopped containers with their statuses.
A
Explanation:
podman ps –all lists both running and stopped containers with their statuses.
Question #210
Which option enables user namespaces when running a container?
- A . –userns=auto
- B . –namespace=user
- C . –uidmap
- D . –user-mapping
Correct Answer: A
A
Explanation:
The –userns=auto option enables automatic user namespace mapping, enhancing container security by isolating users.
A
Explanation:
The –userns=auto option enables automatic user namespace mapping, enhancing container security by isolating users.