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 #371
Which option mounts a host directory as a read-only volume in a container?
- A . -v /host:/container:ro
- B . –mount /host:/container:ro
- C . -v /host:/container:rw
- D . –read-only
Correct Answer: A
A
Explanation:
The :ro option mounts the directory in read-only mode, preventing modifications.
A
Explanation:
The :ro option mounts the directory in read-only mode, preventing modifications.
Question #372
What does podman volume prune do?
- A . Lists all unused volumes
- B . Deletes all unused volumes
- C . Inspects all volumes
- D . Exports all volumes
Correct Answer: B
B
Explanation:
podman volume prune removes all unused volumes to free up storage space.
B
Explanation:
podman volume prune removes all unused volumes to free up storage space.
Question #373
Which Podman command updates the configuration of a running container?
- A . podman update <container>
- B . podman config <container>
- C . podman modify <container>
- D . podman restart <container>
Correct Answer: A
A
Explanation:
The podman update command allows changes to the resource limits of a running container, such as CPU or memory limits.
A
Explanation:
The podman update command allows changes to the resource limits of a running container, such as CPU or memory limits.
Question #374
Which two commands display network information for a container? (Select two)
- A . podman inspect
- B . podman network ls
- C . podman logs
- D . podman network inspect
Correct Answer: A, D
A, D
Explanation:
podman inspect shows network details for a specific container, while podman network inspect gives information about networks.
A, D
Explanation:
podman inspect shows network details for a specific container, while podman network inspect gives information about networks.
Question #375
What is a key security benefit of using the USER instruction in a Containerfile?
- A . It prevents the container from running as root
- B . It encrypts container data
- C . It improves image build speed
- D . It ensures image immutability
Correct Answer: A
A
Explanation:
Using the USER instruction prevents the container from running with root privileges, reducing security risks.
A
Explanation:
Using the USER instruction prevents the container from running with root privileges, reducing security risks.
Question #376
What is the effect of the –privileged option in Podman?
- A . Grants the container full access to the host system
- B . Restricts container capabilities
- C . Runs the container in read-only mode
- D . Prevents privilege escalation
Correct Answer: A
A
Explanation:
The –privileged option gives the container full access to the host’s devices and capabilities, which can be a security risk.
A
Explanation:
The –privileged option gives the container full access to the host’s devices and capabilities, which can be a security risk.
Question #377
Which command lists all containers using a specific network?
- A . podman network ls –containers
- B . podman ps –network <network>
- C . podman network inspect <network>
- D . podman inspect –net <network>
Correct Answer: C
C
Explanation:
podman network inspect <network> shows details, including which containers are using the network.
C
Explanation:
podman network inspect <network> shows details, including which containers are using the network.
Question #378
Which instruction is used to define the base image in a Containerfile?
- A . FROM
- B . BASE
- C . INIT
- D . IMAGE
Correct Answer: A
A
Explanation:
The FROM instruction sets the base image for the build process. It is mandatory in every Containerfile to establish the starting point for subsequent instructions.
A
Explanation:
The FROM instruction sets the base image for the build process. It is mandatory in every Containerfile to establish the starting point for subsequent instructions.
Question #379
Which option mounts a directory read-only when using Podman?
- A . -v /host:/container:ro
- B . -v /host:/container:rw
- C . -m /host:/container
- D . –readonly
Correct Answer: A
A
Explanation:
The :ro option in -v mounts the directory read-only, preventing write access from the container.
A
Explanation:
The :ro option in -v mounts the directory read-only, preventing write access from the container.
Question #380
How do you view the standard output of a running container?
- A . podman stdout <container>
- B . podman output <container>
- C . podman logs <container>
- D . podman show <container>
Correct Answer: C
C
Explanation:
podman logs displays the standard output and error streams of a container.
C
Explanation:
podman logs displays the standard output and error streams of a container.