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 #341
Which instruction is recommended for defining environment variables in a Containerfile?
- A . ENV
- B . VAR
- C . EXPORT
- D . CONFIG
Correct Answer: A
A
Explanation:
The ENV instruction defines environment variables that are used during the build process and runtime, ensuring consistent configurations.
A
Explanation:
The ENV instruction defines environment variables that are used during the build process and runtime, ensuring consistent configurations.
Question #342
Which two options allow you to set read-only permissions on a volume? (Select two)
- A . –volume /host:/container:ro
- B . –mount type=bind,source=/host,target=/container,readonly
- C . –secure /host:/container
- D . –readonly /host:/container
Correct Answer: A, B
A, B
Explanation:
Adding :ro to –volume or specifying readonly in –mount makes the mounted volume read-only.
A, B
Explanation:
Adding :ro to –volume or specifying readonly in –mount makes the mounted volume read-only.
Question #343
Which command would you use to push an image to a registry using a specific tag?
- A . podman push <image>:<tag>
- B . podman deploy <image>:<tag>
- C . podman send <image>:<tag>
- D . podman upload <image>:<tag>
Correct Answer: A
A
Explanation:
podman push <image>:<tag> pushes the specified image with the given tag to the designated registry.
A
Explanation:
podman push <image>:<tag> pushes the specified image with the given tag to the designated registry.
Question #344
Which option enables insecure communication when interacting with a registry?
- A . –no-secure
- B . –insecure
- C . –tls-verify=false
- D . –skip-auth
Correct Answer: C
C
Explanation:
The –tls-verify=false option disables TLS verification, allowing connections to insecure registries.
C
Explanation:
The –tls-verify=false option disables TLS verification, allowing connections to insecure registries.
Question #345
Which two commands remove unused networks in Podman? (Select two)
- A . podman network prune
- B . podman system prune
- C . podman network rm –all
- D . podman stop –networks
Correct Answer: A, B
A, B
Explanation:
podman network prune removes unused networks, while podman system prune cleans up all unused resources, including networks.
A, B
Explanation:
podman network prune removes unused networks, while podman system prune cleans up all unused resources, including networks.
Question #346
How do you forcefully stop a running container?
- A . podman stop <container>
- B . podman kill <container>
- C . podman halt <container>
- D . podman terminate <container>
Correct Answer: B
B
Explanation:
The podman kill command forcefully stops a container by sending a SIGKILL signal.
B
Explanation:
The podman kill command forcefully stops a container by sending a SIGKILL signal.
Question #347
What is the purpose of podman kill?
- A . Gracefully stops a container
- B . Forcefully stops a container using SIGKILL
- C . Deletes a container
- D . Restarts a container
Correct Answer: B
B
Explanation:
podman kill immediately stops a container by sending the SIGKILL signal.
B
Explanation:
podman kill immediately stops a container by sending the SIGKILL signal.
Question #348
What does podman build -t myimage . do?
- A . Builds an image and tags it as myimage
- B . Runs a container named myimage
- C . Removes an image named myimage
- D . Lists all images named myimage
Correct Answer: A
A
Explanation:
The -t option tags the built image as myimage, making it easy to reference later.
A
Explanation:
The -t option tags the built image as myimage, making it easy to reference later.
Question #349
What is the effect of podman run -it?
- A . Runs a container in interactive mode with a pseudo-TTY
- B . Runs a container in the background
- C . Stops a running container
- D . Exports a container’s filesystem
Correct Answer: A
A
Explanation:
The -it option runs a container in interactive mode and allocates a pseudo-TTY for user input.
A
Explanation:
The -it option runs a container in interactive mode and allocates a pseudo-TTY for user input.
Question #350
Which command pulls an image with a specific tag?
- A . podman pull <image> –tag <tag>
- B . podman get <image>:<tag>
- C . podman pull <image>:<tag>
- D . podman download <image>:<tag>
Correct Answer: C
C
Explanation:
podman pull <image>:<tag> fetches a specific version of the image based on the provided tag.
C
Explanation:
podman pull <image>:<tag> fetches a specific version of the image based on the provided tag.