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 #81
Which instruction would you use to copy files from a local directory into the container?
- A . ADD
- B . COPY
- C . RUN
- D . INCLUDE
Correct Answer: B
B
Explanation:
The COPY instruction is used to copy files and directories from the build context into the image. It is preferred over ADD for copying local files.
B
Explanation:
The COPY instruction is used to copy files and directories from the build context into the image. It is preferred over ADD for copying local files.
Question #82
Which two commands can be used to remove unused images in Podman? (Select two)
- A . podman image prune
- B . podman rmi <image>
- C . podman clean images
- D . podman stop <image>
Correct Answer: A, B
A, B
Explanation:
podman image prune removes all unused images, and podman rmi deletes a specified image.
A, B
Explanation:
podman image prune removes all unused images, and podman rmi deletes a specified image.
Question #83
Which command creates a new configuration file for a container?
- A . podman config create <name>
- B . podman generate config <name>
- C . podman create –config <file>
- D . podman run –config <file>
Correct Answer: B
B
Explanation:
The podman generate command can generate configuration files for containers or pods based on their current settings.
B
Explanation:
The podman generate command can generate configuration files for containers or pods based on their current settings.
Question #84
Which command displays the network configuration of a running container?
- A . podman network ls
- B . podman inspect <container>
- C . podman logs <container>
- D . podman netstat <container>
Correct Answer: B
B
Explanation:
podman inspect returns the container’s network configuration, including IP address, ports, and network mode.
B
Explanation:
podman inspect returns the container’s network configuration, including IP address, ports, and network mode.
Question #85
Which option enables privileged mode when running a container?
- A . –admin
- B . –privileged
- C . –root
- D . –full-access
Correct Answer: B
B
Explanation:
The –privileged option grants the container full access to the host system’s devices and resources.
B
Explanation:
The –privileged option grants the container full access to the host system’s devices and resources.
Question #86
What is the primary purpose of mounting a host directory as a data volume?
- A . To persist data across container restarts
- B . To increase container performance
- C . To improve security
- D . To reduce build time
Correct Answer: A
A
Explanation:
Mounting a host directory as a data volume allows data persistence even after the container stops or is removed.
A
Explanation:
Mounting a host directory as a data volume allows data persistence even after the container stops or is removed.
Question #87
Which command copies an image between two registries without pulling it locally?
- A . skopeo push
- B . skopeo copy
- C . podman pull
- D . podman transfer
Correct Answer: B
B
Explanation:
skopeo copy allows copying images between registries directly, avoiding the need to store them locally.
B
Explanation:
skopeo copy allows copying images between registries directly, avoiding the need to store them locally.
Question #88
What is the effect of using the –readonly option with podman run?
- A . Makes the container’s filesystem read-only
- B . Disables container logging
- C . Prevents the container from stopping
- D . Grants root access to the container
Correct Answer: A
A
Explanation:
The –readonly option makes the container’s filesystem immutable, improving security by preventing writes.
A
Explanation:
The –readonly option makes the container’s filesystem immutable, improving security by preventing writes.
Question #89
How do you display all tags for a specific image in a registry using Skopeo?
- A . skopeo inspect –tags <image>
- B . skopeo list-tags <registry>/<image>
- C . skopeo tags <image>
- D . skopeo search <image>
Correct Answer: B
B
Explanation:
The skopeo list-tags command lists all available tags for an image in a registry.
B
Explanation:
The skopeo list-tags command lists all available tags for an image in a registry.
Question #90
How can you display the logs of a running Podman container?
- A . podman logs <container>
- B . podman show <container>
- C . podman view <container>
- D . podman inspect <container>
Correct Answer: A
A
Explanation:
The podman logs command shows the logs of a running or stopped container, helping with troubleshooting.
A
Explanation:
The podman logs command shows the logs of a running or stopped container, helping with troubleshooting.