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 #131
What does podman pull do?
- A . Downloads an image from a registry
- B . Pushes an image to a registry
- C . Removes an image from the registry
- D . Lists images in a registry
Correct Answer: A
A
Explanation:
podman pull downloads an image from a specified registry and stores it locally.
A
Explanation:
podman pull downloads an image from a specified registry and stores it locally.
Question #132
Which two options should you use to enforce container security? (Select two)
- A . –read-only
- B . –cap-drop
- C . –privileged
- D . –restart always
Correct Answer: A, B
A, B
Explanation:
–read-only and –cap-drop enhance security by limiting filesystem changes and capabilities.
A, B
Explanation:
–read-only and –cap-drop enhance security by limiting filesystem changes and capabilities.
Question #133
Which command lists the networks created by Podman?
- A . podman network l
- B . podman networks
- C . podman network show
- D . podman network list
Correct Answer: A
A
Explanation:
The podman network ls command lists all networks managed by Podman, including their names and IDs.
A
Explanation:
The podman network ls command lists all networks managed by Podman, including their names and IDs.
Question #134
How do you view the logs of all containers in a pod?
- A . podman logs –pod <pod>
- B . podman pod logs <pod>
- C . podman logs <pod>
- D . podman logs -a
Correct Answer: B
B
Explanation:
podman pod logs shows the combined logs for all containers in a specified pod.
B
Explanation:
podman pod logs shows the combined logs for all containers in a specified pod.
Question #135
Which option specifies a custom configuration file when running a container?
- A . –config-file
- B . –conf
- C . –custom-config
- D . –use-config
Correct Answer: A
A
Explanation:
The –config-file option allows you to specify a custom configuration file for the container.
A
Explanation:
The –config-file option allows you to specify a custom configuration file for the container.
Question #136
How do you attach to a container’s output streams without an interactive session?
- A . podman exec <container>
- B . podman attach <container>
- C . podman connect <container>
- D . podman start -it <container>
Correct Answer: B
B
Explanation:
podman attach connects to a container’s standard input/output streams, useful for viewing live output.
B
Explanation:
podman attach connects to a container’s standard input/output streams, useful for viewing live output.
Question #137
Which two commands are used to authenticate to a private registry? (Select two)
- A . podman login
- B . podman auth
- C . skopeo login
- D . podman creds
Correct Answer: A, C
A, C
Explanation:
podman login and skopeo login authenticate to a private registry, storing credentials for subsequent operations.
A, C
Explanation:
podman login and skopeo login authenticate to a private registry, storing credentials for subsequent operations.
Question #138
Which command updates a container’s environment variables after creation?
- A . podman update –env <container>
- B . podman commit –env <container>
- C . podman restart –env <container>
- D . podman config –env <container>
Correct Answer: A
A
Explanation:
podman update –env modifies the environment variables of an existing container.
A
Explanation:
podman update –env modifies the environment variables of an existing container.
Question #139
What is the benefit of using podman pull with a specific tag?
- A . Downloads a specific version of the image
- B . Automatically updates the image
- C . Forces image deletion
- D . Lists available image versions
Correct Answer: A
A
Explanation:
Pulling an image with a tag ensures you download a specific version, avoiding unexpected updates.
A
Explanation:
Pulling an image with a tag ensures you download a specific version, avoiding unexpected updates.
Question #140
How do you display all containers, including their IDs and statuses?
- A . podman ps -a
- B . podman list –all
- C . podman status -a
- D . podman inspect –all
Correct Answer: A
A
Explanation:
podman ps -a lists all containers, whether running or stopped, along with their details.
A
Explanation:
podman ps -a lists all containers, whether running or stopped, along with their details.