Courseiva

EX188 · domain

Storage And Configuration

This domain covers how Podman containers persist and consume data on a RHEL host: named volumes, bind mounts, container storage, and secrets. You must know the exact podman run flags, volume and secret subcommands, and how lifecycle choices affect data retention, all verified by running commands rather than recalling theory.

47 questions18 easy17 medium12 hard

Focused practice

Practice Storage And Configuration questions

Scored sessions drawing only from this domain — pick a length below.

Start 20-question practice test →

What this domain covers

What to know about Storage And Configuration

Be able to create a Podman-managed named volume, attach it to a container with --volume or --mount, and clean up containers with --rm. The key detail is knowing that --rm removes anonymous volumes but not named volumes, which persist until explicitly deleted.

Using podman volume create, ls, inspect, and rm to manage Podman-owned persistent volumes

Applying --volume and --mount flags for bind mounts and named volumes in podman run

Using --rm to delete a container and its anonymous volumes on exit

Creating and consuming secrets with podman secret create from a file or stdin

Watch out for

Common Storage And Configuration exam traps

  • ▸Assuming --rm also deletes named volumes; it only removes the container and its anonymous volumes
  • ▸Confusing bind mounts, which reference host paths, with named volumes that Podman manages independently
  • ▸Forgetting that podman secret create needs a name and source file, and that secrets mount under /run/secrets

Question index

All Storage And Configuration questions (47)

Click any question to see the full explanation, or start a practice session above.

1

Which THREE commands are valid when inspecting or managing Podman storage volumes? (Choose THREE)

Easy
2

An administrator needs to run a PostgreSQL container that stores its database files in a Podman named volume called pgdata, which was created earlier. The container must also have the volume mounted at /var/lib/postgresql/data inside the container. Which command should the administrator use?

Medium
3

Which subcommand deletes one or more specific named volumes?

Easy
4

You need to pass sensitive database credentials to a Podman container securely without storing them in plaintext environment variables. Which sequence of commands correctly creates and injects the secret?

Hard
5

You are configuring a container to consume a Podman secret named db_password. By default, where within the container's file system will this secret be mounted if no destination path is specified?

Medium
6

An application requires a secret to be exposed as an environment variable inside the container instead of a file mount. Which option achieves this with '--secret'?

Hard
7

An engineer needs to mount a host directory using the advanced '--mount' syntax instead of '-v'. Which syntax correctly specifies a bind mount?

Medium
8

Which TWO options can be specified when mounting a Podman secret into a container? (Choose TWO)

Hard
9

An administrator wants to create a named volume using a specific volume driver instead of the default local driver. Which flag should be used with 'podman volume create'?

Medium
10

Which TWO flags can be used to mount volumes or bind mounts when running a container? (Choose TWO)

Easy
11

An administrator is troubleshooting a rootless Podman container that fails to write to a bind-mounted host directory. The directory is owned by the user on the host, but inside the container, the process runs as UID 1000 and receives permission denied. Which action should the administrator take to resolve the issue?

Hard
12

Which TWO methods can be used to supply environment variables to a Podman container? (Choose TWO)

Hard
13

A developer wants to mount a host directory into a container with read-only permissions to prevent accidental data modification. Which volume option flag achieves this?

Medium
14

An administrator needs to pass a configuration file located at /etc/myapp/config.yml on the host into a container at the same path. The container should read the file but not modify it. Which Podman run option accomplishes this with minimal risk of accidental modification?

Easy
15

What type of storage pattern is used by default when a container writes logs and temporary application state directly to its writable layer without any volumes attached?

Easy
16

Which TWO statements are true regarding Podman bind mounts? (Choose TWO)

Medium
17

Where are Podman named volumes typically stored on the host file system by default for a non-root user?

Easy
18

Which TWO actions occur when a container is run with ephemeral storage (the default behavior without volume mounts)? (Choose TWO)

Medium
19

An administrator wants to create a named volume called appdata and inspect its mount point on the host. Which sequence of commands should the administrator use?

Medium
20

Which TWO actions can be performed using the podman volume management command suite? (Choose two.)

Medium
21

An engineer needs to inspect the low-level configuration details, mount points, and driver options of a named volume named 'app_vol'. Which command provides this information in JSON format?

Hard
22

An application container requires multiple configuration variables defined in a local file named 'app.env'. Which flag loads these variables into the container environment?

Medium
23

Which command displays disk space usage statistics for Podman storage, including volumes and containers?

Easy
24

When configuring container mounts using the --mount flag, which THREE key-value pairs are valid parameters in the option string? (Choose three.)

Hard
25

How can an administrator remove an existing Podman secret named 'old_secret'?

Easy
26

An administrator needs to list all created Podman secrets on the system. Which command should they execute?

Hard
27

An administrator needs to pass a single environment variable directly on the command line when starting a container. Which flag accomplishes this?

Medium
28

Which THREE of the following are valid options or flags when working with Podman secrets? (Choose THREE)

Medium
29

An administrator needs to create a persistent storage volume that Podman can manage independently of any specific container lifecycle. Which command accomplishes this?

Easy
30

When configuring an environment file for use with '--env-file', how are comment lines designated?

Hard
31

An administrator wants to bind mount a host file directly into a container as a configuration file. Is this supported in Podman?

Medium
32

You have a file named config.env containing multiple KEY=VALUE pairs. Which flag allows you to load these configurations into a container as environment variables?

Easy
33

An administrator is preparing a Podman container that requires persistent storage for a web application. The storage must survive container restarts and be easily backed up. Which two types of storage mechanisms should the administrator consider? (Choose two.)

Medium
34

An administrator needs to create a temporary filesystem mount stored purely in host memory for high-performance temporary data inside a container. Which mount type should be used?

Medium
35

Which flag can be passed to 'podman run' to automatically remove the container and its anonymous volumes upon exit?

Easy
36

Which TWO types of storage mechanisms are natively supported by Podman for container data persistence? (Choose two.)

Easy
37

Which THREE inspection or cleanup actions can be performed on Podman secrets? (Choose THREE)

Hard
38

Which TWO commands or flags are valid for managing Podman named volumes? (Choose TWO)

Easy
39

Which THREE storage-related items can be inspected using 'podman system df'? (Choose THREE)

Easy
40

An administrator needs to create a Podman secret from a file on disk named 'secret.txt'. Which command correctly performs this action?

Medium
41

An administrator wants to ensure that a bind-mounted directory allows propagation of mounts from the host into the container. Which mount option configures mount propagation mode?

Hard
42

An administrator needs to create a persistent storage area managed completely by Podman that does not rely on a specific host directory path. Which command should be used?

Easy
43

Which TWO conditions are required for a non-root (rootless) user to successfully bind mount a host directory into a container? (Choose TWO)

Medium
44

A developer needs to pass several environment variables to a container from a file named web.env. The file contains lines such as DB_HOST=localhost and DB_PORT=5432. Which Podman run flag should be used to load these variables into the container?

Easy
45

How can an administrator remove all unused, dangling Podman volumes that are not currently attached to any container?

Easy
46

Which TWO commands are used to manage Podman secrets? (Choose TWO)

Easy
47

An administrator runs a container with a SELinux-relabeled host directory mount using the Z option, but multiple containers need to share write access to this exact same volume. Which option should be used instead?

Hard

Frequently asked questions

What does the Storage And Configuration domain cover on the EX188 exam?
Be able to create a Podman-managed named volume, attach it to a container with --volume or --mount, and clean up containers with --rm. The key detail is knowing that --rm removes anonymous volumes but not named volumes, which persist until explicitly deleted.
How many questions are in this domain?
This page lists all 47 Storage And Configuration questions in the EX188 question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
What is the best way to practise this domain?
Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
Can I practise only Storage And Configuration questions?
Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.
Red Hat Certified Specialist in Containers (EX188, Podman-based) (EX188) Storage And Configuration Practice Questions