RedHat EX188 Practice Exams
Last updated on Oct 23,2026- Exam Code: EX188
- Exam Name: Red Hat Certified Specialist in Containers
- Certification Provider: RedHat
- Latest update: Oct 23,2026
Question #351
How do you run a container interactively with a terminal session?
- A . podman run -it <image>
- B . podman exec -t <image>
- C . podman attach -i <image>
- D . podman start -t <image>
Correct Answer: A
A
Explanation:
The -it option in podman run creates an interactive session with a terminal, allowing user input.
A
Explanation:
The -it option in podman run creates an interactive session with a terminal, allowing user input.
Question #352
Which two commands display detailed metadata about an image? (Select two)
- A . podman inspect <image>
- B . podman info <image>
- C . podman history <image>
- D . podman view <image>
Correct Answer: A, C
A, C
Explanation:
podman inspect shows detailed metadata, while podman history displays the image’s layer history and commands used.
A, C
Explanation:
podman inspect shows detailed metadata, while podman history displays the image’s layer history and commands used.
Question #353
Which Podman command displays the status of a running container?
- A . podman ps
- B . podman status
- C . podman show
- D . podman check
Correct Answer: A
A
Explanation:
podman ps lists all running containers and provides their current status, such as uptime and state.
A
Explanation:
podman ps lists all running containers and provides their current status, such as uptime and state.
Question #354
What does the podman rm command do?
- A . Removes a stopped container
- B . Removes all images
- C . Removes running containers
- D . Removes container volumes
Correct Answer: A
A
Explanation:
The podman rm command removes stopped containers. To remove running containers, you must stop them first.
A
Explanation:
The podman rm command removes stopped containers. To remove running containers, you must stop them first.
Question #355
Why should ENTRYPOINT be preferred over CMD for executable containers?
- A . It ensures the container always runs as intended
- B . It allows overriding the entry point easily
- C . It supports multiple commands at runtime
- D . It has no security implications
Correct Answer: A
A
Explanation:
ENTRYPOINT makes containers more predictable by ensuring the defined executable runs regardless of runtime arguments.
A
Explanation:
ENTRYPOINT makes containers more predictable by ensuring the defined executable runs regardless of runtime arguments.
Question #356
Which instruction should be used to download and unpack a .tar.gz file into the container?
- A . ADD
- B . COPY
- C . RUN
- D . CMD
Correct Answer: A
A
Explanation:
The ADD instruction can copy and automatically extract .tar.gz files into the container filesystem.
A
Explanation:
The ADD instruction can copy and automatically extract .tar.gz files into the container filesystem.
Question #357
Which command updates an existing Podman image?
- A . podman pull <image>
- B . podman update <image>
- C . podman refresh <image>
- D . podman sync <image>
Correct Answer: A
A
Explanation:
podman pull fetches the latest version of an image from the registry, updating it locally if changes are found.
A
Explanation:
podman pull fetches the latest version of an image from the registry, updating it locally if changes are found.
Question #358
How do you get the IP address of a running container?
- A . podman network <container>
- B . podman inspect -f ‘{{.NetworkSettings.IPAddress}}’ <container>
- C . podman ip <container>
- D . podman status <container>
Correct Answer: B
B
Explanation:
podman inspect with a Go template extracts the container’s IP address from the network settings.
B
Explanation:
podman inspect with a Go template extracts the container’s IP address from the network settings.
Question #359
Which instruction allows you to add compressed archives directly into an image?
- A . ADD
- B . COPY
- C . RUN
- D . EXTRACT
Correct Answer: A
A
Explanation:
The ADD instruction can decompress archives like .tar.gz into the container filesystem, offering additional functionality over COPY.
A
Explanation:
The ADD instruction can decompress archives like .tar.gz into the container filesystem, offering additional functionality over COPY.
Question #360
Which instruction allows you to pass parameters to a container’s entry point?
- A . ENTRYPOINT
- B . CMD
- C . RUN
- D . CONFIG
Correct Answer: A
A
Explanation:
The ENTRYPOINT instruction is used to define the main executable and allows passing parameters, providing flexibility for container behavior.
A
Explanation:
The ENTRYPOINT instruction is used to define the main executable and allows passing parameters, providing flexibility for container behavior.