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 #301
What does podman generate systemd do?
- A . Generates a Podman configuration file
- B . Generates systemd service units for containers
- C . Exports container logs in systemd format
- D . Converts containers to systemd services
Correct Answer: B
B
Explanation:
podman generate systemd creates systemd service files to manage container lifecycles using systemd.
B
Explanation:
podman generate systemd creates systemd service files to manage container lifecycles using systemd.
Question #302
What does podman inspect provide about a container?
- A . Detailed configuration and state information
- B . Basic container status
- C . Network statistics
- D . Log output
Correct Answer: A
A
Explanation:
The podman inspect command gives detailed information, including configuration, state, and network settings.
A
Explanation:
The podman inspect command gives detailed information, including configuration, state, and network settings.
Question #303
Which option with podman run sets a container’s restart policy?
- A . –policy
- B . –restart
- C . –auto-restart
- D . –restart-policy
Correct Answer: B
B
Explanation:
The –restart option specifies the container’s restart policy, such as always or on-failure.
B
Explanation:
The –restart option specifies the container’s restart policy, such as always or on-failure.
Question #304
Which instruction sets a persistent environment variable during the build process?
- A . ENV
- B . EXPORT
- C . SET
- D . CMD
Correct Answer: A
A
Explanation:
The ENV instruction sets environment variables during the build, making them persistent for runtime use.
A
Explanation:
The ENV instruction sets environment variables during the build, making them persistent for runtime use.
Question #305
Which command runs a container and removes it automatically after it exits?
- A . podman run –remove <image>
- B . podman run –auto-remove <image>
- C . podman run –rm <image>
- D . podman create –delete <image>
Correct Answer: C
C
Explanation:
The –rm option in podman run ensures the container is removed automatically once it exits.
C
Explanation:
The –rm option in podman run ensures the container is removed automatically once it exits.
Question #306
Which command verifies an image’s signature?
- A . podman verify
- B . skopeo verify
- C . skopeo inspect –verify-signature
- D . podman inspect –verify
Correct Answer: C
C
Explanation:
skopeo inspect –verify-signature checks the integrity and authenticity of an image’s signature.
C
Explanation:
skopeo inspect –verify-signature checks the integrity and authenticity of an image’s signature.
Question #307
What does podman logout <registry> do?
- A . Lists current authentication status
- B . Removes stored credentials for the registry
- C . Updates registry credentials
- D . Pushes images to the registry
Correct Answer: B
B
Explanation:
podman logout removes the stored credentials for a specified registry, enhancing security by preventing unauthorized access.
B
Explanation:
podman logout removes the stored credentials for a specified registry, enhancing security by preventing unauthorized access.
Question #308
How do you mount a host directory as a volume in a container?
- A . podman run –volume /host:/container
- B . podman run –bind /host:/container
- C . podman mount –volume /host:/container
- D . podman create –map /host:/container
Correct Answer: A
A
Explanation:
The –volume or -v option mounts a host directory to a container directory.
A
Explanation:
The –volume or -v option mounts a host directory to a container directory.
Question #309
Which command creates an image from a container’s state?
- A . podman commit <container> <image>
- B . podman save <container>
- C . podman export <container>
- D . podman copy <container>
Correct Answer: A
A
Explanation:
podman commit captures the state of a container and saves it as a new image.
A
Explanation:
podman commit captures the state of a container and saves it as a new image.
Question #310
How do you forcefully stop a running pod and its containers?
- A . podman pod kill <pod>
- B . podman stop –pod <pod>
- C . podman delete <pod>
- D . podman pod pause <pod>
Correct Answer: A
A
Explanation:
The podman pod kill command sends a SIGKILL signal to forcefully stop all containers in a pod.
A
Explanation:
The podman pod kill command sends a SIGKILL signal to forcefully stop all containers in a pod.