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 #111
Which two security measures should you take when running containers? (Select two)
- A . Run containers as non-root users
- B . Avoid exposing unnecessary ports
- C . Always use –privileged mode
- D . Disable SELinux
Correct Answer: A, B
A, B
Explanation:
Running as non-root and limiting exposed ports reduce the attack surface, improving container security.
A, B
Explanation:
Running as non-root and limiting exposed ports reduce the attack surface, improving container security.
Question #112
Which command generates Kubernetes YAML from an existing Podman pod?
- A . podman generate kube <pod>
- B . podman play kube <pod>
- C . podman export kube <pod>
- D . podman kube generate <pod>
Correct Answer: A
A
Explanation:
podman generate kube creates Kubernetes-compatible YAML from a Podman pod, simplifying migration to Kubernetes.
A
Explanation:
podman generate kube creates Kubernetes-compatible YAML from a Podman pod, simplifying migration to Kubernetes.
Question #113
Which command creates a new network in Podman?
- A . podman network create <name>
- B . podman new network <name>
- C . podman create –network <name>
- D . podman network add <name>
Correct Answer: A
A
Explanation:
podman network create creates a new user-defined network that containers can join for custom networking.
A
Explanation:
podman network create creates a new user-defined network that containers can join for custom networking.
Question #114
What is the purpose of the –env-file option in podman run?
- A . To create a new environment file
- B . To specify a file containing environment variables
- C . To export container environment variables
- D . To list all environment variables
Correct Answer: B
B
Explanation:
The –env-file option loads environment variables from a specified file, simplifying configuration management.
B
Explanation:
The –env-file option loads environment variables from a specified file, simplifying configuration management.
Question #115
What does the podman tag command do?
- A . Assigns a new tag to an existing image
- B . Creates a new container with a tag
- C . Deletes an image tag
- D . Lists all tags for an image
Correct Answer: A
A
Explanation:
podman tag assigns a new name or tag to an existing image, making it easier to reference or push to a registry.
A
Explanation:
podman tag assigns a new name or tag to an existing image, making it easier to reference or push to a registry.
Question #116
What is the benefit of using named volumes over anonymous volumes?
- A . Easier lifecycle management
- B . Improved performance
- C . Increased security
- D . Reduced disk usage
Correct Answer: A
A
Explanation:
Named volumes simplify lifecycle management by allowing you to reference and manage volumes easily.
A
Explanation:
Named volumes simplify lifecycle management by allowing you to reference and manage volumes easily.
Question #117
Which option defines a dependency when creating a container?
- A . –link
- B . –depends-on
- C . –dependency
- D . –after
Correct Answer: B
B
Explanation:
The –depends-on option specifies a dependency on another container.
B
Explanation:
The –depends-on option specifies a dependency on another container.
Question #118
How can you skip TLS verification when pulling from a private registry?
- A . –no-tls
- B . –tls-skip
- C . –tls-verify=false
- D . –skip-ssl
Correct Answer: C
C
Explanation:
The –tls-verify=false option disables TLS verification, useful when working with self-signed certificates.
C
Explanation:
The –tls-verify=false option disables TLS verification, useful when working with self-signed certificates.
Question #119
How do you run a container and attach it to an existing network?
- A . podman run –network <network> <image>
- B . podman create –net <network> <image>
- C . podman exec –attach <network> <image>
- D . podman link <network> <image>
Correct Answer: A
A
Explanation:
The –network option attaches the container to the specified network.
A
Explanation:
The –network option attaches the container to the specified network.
Question #120
Which command allows you to listen to real-time container events?
- A . podman logs
- B . podman events
- C . podman monitor
- D . podman watch
Correct Answer: B
B
Explanation:
The podman events command listens to and displays real-time container events such as start, stop, and remove actions.
B
Explanation:
The podman events command listens to and displays real-time container events such as start, stop, and remove actions.