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 #21
What does the podman search command do?
- A . Searches for images in local storage
- B . Searches for images in a registry
- C . Lists container processes
- D . Displays image tags
Correct Answer: B
B
Explanation:
podman search queries a registry for images matching the specified term, returning a list of results.
B
Explanation:
podman search queries a registry for images matching the specified term, returning a list of results.
Question #22
What best practice reduces the attack surface of a container image?
- A . Use minimal base images
- B . Always run as root
- C . Expose all ports
- D . Avoid environment variables
Correct Answer: A
A
Explanation:
Minimal base images reduce the attack surface by including only essential components, enhancing security.
A
Explanation:
Minimal base images reduce the attack surface by including only essential components, enhancing security.
Question #23
What does podman save -o image.tar <image> do?
- A . Saves an image to a tar archive named image.tar
- B . Exports a container’s state to image.tar
- C . Pushes an image to a registry
- D . Removes an image from the system
Correct Answer: A
A
Explanation:
podman save -o image.tar <image> saves the image and its metadata to a tar archive.
A
Explanation:
podman save -o image.tar <image> saves the image and its metadata to a tar archive.
Question #24
What is the purpose of the –filter option in podman ps?
- A . Filters containers based on specific criteria
- B . Limits the number of displayed containers
- C . Sorts containers alphabetically
- D . Displays detailed container information
Correct Answer: A
A
Explanation:
The –filter option in podman ps allows you to display containers matching specific criteria, such as status or name.
A
Explanation:
The –filter option in podman ps allows you to display containers matching specific criteria, such as status or name.
Question #25
Which two commands help diagnose container performance issues? (Select two)
- A . podman stats <container>
- B . podman top <container>
- C . podman inspect <container>
- D . podman logs <container>
Correct Answer: A, B
A, B
Explanation:
podman stats shows real-time resource usage, and podman top displays running processes inside the container.
A, B
Explanation:
podman stats shows real-time resource usage, and podman top displays running processes inside the container.
Question #26
How can you force Podman to pull an image without using cache?
- A . podman pull –latest
- B . podman pull –refresh
- C . podman pull –no-cache
- D . podman pull –force
Correct Answer: C
C
Explanation:
The –no-cache option forces Podman to bypass the local cache and fetch the latest image from the registry.
C
Explanation:
The –no-cache option forces Podman to bypass the local cache and fetch the latest image from the registry.
Question #27
Which instruction should you use to install packages during the image build process?
- A . RUN
- B . CMD
- C . ENTRYPOINT
- D . COPY
Correct Answer: A
A
Explanation:
The RUN instruction executes commands like package installations during the build process.
A
Explanation:
The RUN instruction executes commands like package installations during the build process.
Question #28
How do you forcefully stop a container that is unresponsive?
- A . podman stop <container>
- B . podman kill <container>
- C . podman restart <container>
- D . podman halt <container>
Correct Answer: B
B
Explanation:
podman kill forcefully stops a container by sending a SIGKILL signal, useful for unresponsive containers.
B
Explanation:
podman kill forcefully stops a container by sending a SIGKILL signal, useful for unresponsive containers.
Question #29
How do you expose a container’s port without binding it to a host port?
- A . podman run –publish
- B . podman run –expose
- C . podman run –bind
- D . podman run –map
Correct Answer: B
B
Explanation:
The –expose option exposes the container’s port without binding it to a host port, useful for internal communication.
B
Explanation:
The –expose option exposes the container’s port without binding it to a host port, useful for internal communication.
Question #30
What does podman exec -it <container> bash do?
- A . Opens an interactive Bash shell inside the container
- B . Stops the container
- C . Starts the container in detached mode
- D . Attaches to the container’s output
Correct Answer: A
A
Explanation:
The -it option allows interactive input/output, and bash starts a shell session inside the container.
A
Explanation:
The -it option allows interactive input/output, and bash starts a shell session inside the container.