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 #361
Which instruction copies files from the build context to the image?
- A . COPY
- B . ADD
- C . RUN
- D . WORKDIR
Correct Answer: A
A
Explanation:
The COPY instruction transfers files from the local build context into the image.
A
Explanation:
The COPY instruction transfers files from the local build context into the image.
Question #362
Which option mounts a named volume with read-write access in Podman?
- A . -v myvol:/data:rw
- B . -v myvol:/data:ro
- C . -v myvol:/data –readonly
- D . -m myvol:/data
Correct Answer: A
A
Explanation:
The :rw option mounts the volume with read-write access, allowing data modifications.
A
Explanation:
The :rw option mounts the volume with read-write access, allowing data modifications.
Question #363
How do you list the processes running inside a container?
- A . podman top <container>
- B . podman ps <container>
- C . podman status <container>
- D . podman exec <container>
Correct Answer: A
A
Explanation:
The podman top command lists the processes running within a specified container.
A
Explanation:
The podman top command lists the processes running within a specified container.
Question #364
How do you run a container with read-only access to its filesystem?
- A . podman run –readonly <image>
- B . podman run –rofs <image>
- C . podman run –no-write <image>
- D . podman run –secure <image>
Correct Answer: A
A
Explanation:
The –readonly option makes the container’s filesystem immutable, enhancing security.
A
Explanation:
The –readonly option makes the container’s filesystem immutable, enhancing security.
Question #365
Which two commands help identify resource constraints on a container? (Select two)
- A . podman stats <container>
- B . podman top <container>
- C . podman logs <container>
- D . podman network inspect <container>
Correct Answer: A, B
A, B
Explanation:
podman stats shows resource usage, and podman top lists active processes inside the container.
A, B
Explanation:
podman stats shows resource usage, and podman top lists active processes inside the container.
Question #366
How can you forcefully stop a running container?
- A . podman kill <container>
- B . podman stop –force <container>
- C . podman rm <container>
- D . podman halt <container>
Correct Answer: A
A
Explanation:
The podman kill command immediately stops a running container by sending a SIGKILL signal.
A
Explanation:
The podman kill command immediately stops a running container by sending a SIGKILL signal.
Question #367
Why should you avoid using the root user inside containers?
- A . To reduce security vulnerabilities
- B . To increase build speed
- C . To simplify networking
- D . To ensure data persistence
Correct Answer: A
A
Explanation:
Running as a non-root user reduces the risk of privilege escalation and improves container security.
A
Explanation:
Running as a non-root user reduces the risk of privilege escalation and improves container security.
Question #368
How do you create a named volume in Podman?
- A . podman run –volume <name>
- B . podman volume create <name>
- C . podman create –volume <name>
- D . podman mount –new <name>
Correct Answer: B
B
Explanation:
The podman volume create <name> command creates a named volume for persistent storage.
B
Explanation:
The podman volume create <name> command creates a named volume for persistent storage.
Question #369
How do you authenticate to a private registry using Podman?
- A . podman auth <registry>
- B . podman login <registry>
- C . podman access <registry>
- D . podman creds <registry>
Correct Answer: B
B
Explanation:
podman login authenticates to a specified private registry and stores the credentials for future use.
B
Explanation:
podman login authenticates to a specified private registry and stores the credentials for future use.
Question #370
What is the purpose of image tags in Podman?
- A . To rename images
- B . To version and identify images
- C . To change image metadata
- D . To copy images between registries
Correct Answer: B
B
Explanation:
Image tags help version and identify images, making it easier to manage different builds or deployments.
B
Explanation:
Image tags help version and identify images, making it easier to manage different builds or deployments.