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 #161
Which Podman command mounts a host directory into a container?
- A . podman run -v /host:/container
- B . podman copy /host:/container
- C . podman attach /host:/container
- D . podman bind /host:/container
Correct Answer: A
A
Explanation:
The -v option in podman run mounts a host directory into the container, allowing shared data access.
A
Explanation:
The -v option in podman run mounts a host directory into the container, allowing shared data access.
Question #162
What does the podman exec command do?
- A . Runs a command in a running container
- B . Exits the container
- C . Creates a new container
- D . Exports container logs
Correct Answer: A
A
Explanation:
podman exec allows you to run commands inside a running container for troubleshooting or maintenance.
A
Explanation:
podman exec allows you to run commands inside a running container for troubleshooting or maintenance.
Question #163
How do you update a running container’s configuration?
- A . podman update <container>
- B . podman config <container>
- C . podman modify <container>
- D . podman restart –config <container>
Correct Answer: A
A
Explanation:
podman update changes certain configuration parameters of a running container, such as resource limits.
A
Explanation:
podman update changes certain configuration parameters of a running container, such as resource limits.
Question #164
What does podman unshare do?
- A . Runs a command in a new user namespace
- B . Stops all running containers
- C . Deletes all unshared volumes
- D . Lists user namespaces
Correct Answer: A
A
Explanation:
podman unshare allows you to execute commands in a new user namespace, useful for managing container storage as a non-root user.
A
Explanation:
podman unshare allows you to execute commands in a new user namespace, useful for managing container storage as a non-root user.
Question #165
Which option gives a container additional Linux capabilities?
- A . –cap-add
- B . –privileged
- C . –add-permissions
- D . –cap-increase
Correct Answer: A
A
Explanation:
The –cap-add option grants specific Linux capabilities to a container, extending its privileges selectively.
A
Explanation:
The –cap-add option grants specific Linux capabilities to a container, extending its privileges selectively.
Question #166
Which instruction sets the default command for a container while allowing arguments to be passed?
- A . ENTRYPOINT
- B . CMD
- C . RUN
- D . WORKDIR
Correct Answer: A
A
Explanation:
ENTRYPOINT sets the default executable and allows additional arguments to be passed at runtime.
A
Explanation:
ENTRYPOINT sets the default executable and allows additional arguments to be passed at runtime.
Question #167
How do you troubleshoot a container that fails to start?
- A . podman events –all
- B . podman logs <container>
- C . podman restart <container>
- D . podman ps –troubleshoot
Correct Answer: B
B
Explanation:
podman logs provides error messages that can help identify why a container fails to start.
B
Explanation:
podman logs provides error messages that can help identify why a container fails to start.
Question #168
Which option specifies the container’s hostname during podman run?
- A . –host
- B . –hostname
- C . –name
- D . –domain
Correct Answer: B
B
Explanation:
The –hostname option sets the hostname for the container, useful for identification in networks.
B
Explanation:
The –hostname option sets the hostname for the container, useful for identification in networks.
Question #169
What is the function of podman export?
- A . Exports a container’s filesystem as a tar archive
- B . Saves an image with its metadata
- C . Pushes a container to a registry
- D . Commits changes to an image
Correct Answer: A
A
Explanation:
podman export exports the container’s filesystem state, excluding metadata, as a tar archive.
A
Explanation:
podman export exports the container’s filesystem state, excluding metadata, as a tar archive.
Question #170
How do you remove an image from the local system using Podman?
- A . podman delete <image>
- B . podman remove <image>
- C . podman rmi <image>
- D . podman clean <image>
Correct Answer: C
C
Explanation:
The podman rmi command removes a specified image from the local image store.
C
Explanation:
The podman rmi command removes a specified image from the local image store.