Courseiva

CCNA Storage And Configuration Questions

58 questions · Storage And Configuration topic · All types, answers revealed

1
Multi-Selecteasy

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

Select 3 answers
A.podman volume modify
B.podman volume inspect
C.podman volume rm
D.podman volume create
E.podman volume edit
AnswersB, C, D

Inspects volume details.

Why this answer

'podman volume create', 'podman volume inspect', and 'podman volume rm' are valid volume commands.

2
MCQeasy

Which subcommand deletes one or more specific named volumes?

A.podman volume drop
B.podman volume rm
C.podman volume delete
D.podman rm volume
AnswerB

'rm' is the subcommand for removing volumes.

Why this answer

'podman volume rm' removes specified named volumes.

3
MCQeasy

A container needs read-only access to a host configuration directory located at /etc/appconfig. Which Podman volume flag configuration correctly achieves this?

A.--volume /etc/appconfig:/app/config:readonly=true
B.--mount type=bind,src=/etc/appconfig,dst=/app/config,mode=ro
C.--volume /etc/appconfig:/app/config:readonly
D.--volume /etc/appconfig:/app/config:ro
AnswerD

Correct. The :ro suffix applies read-only permissions.

Why this answer

Appending :ro to a volume mount specifier ensures the mount is read-only inside the container.

4
Multi-Selecthard

Which THREE formatting options or commands can be used with 'podman volume ls' to customize or filter output? (Choose THREE)

Select 3 answers
A.--filter
B.--format
C.--sort
D.--no-trunc
E.--json-pretty
AnswersA, B, D

Filters output based on conditions (e.g., driver, name).

Why this answer

'podman volume ls' supports flags such as --filter, --format, and --no-trunc.

5
MCQhard

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?

A.podman volume create db_pass && podman run --volume db_pass:/run/secrets/pass myapp
B.podman secret create db_pass secret.txt && podman run --env-file secret.txt myapp
C.podman secret create db_pass secret.txt && podman run --secret db_pass,type=mount,target=/run/secrets/pass myapp
D.podman secret add db_pass secret.txt && podman run -e SECRET=db_pass myapp
AnswerC

Correct. The secret is created and then mounted using the appropriate options.

Why this answer

Secrets must first be created via 'podman secret create' and then injected using the '--secret' flag during container creation.

6
MCQhard

A container using a named volume needs to be deleted, but you want to ensure the persistent volume data is preserved for future containers. Which command should you execute?

A.podman rm -v my_container
B.podman rm --volumes my_container
C.podman rm my_container
D.podman volume prune --associated my_container
AnswerC

Correct. Running podman rm without volume removal flags leaves named volumes intact.

Why this answer

The standard podman rm command deletes the container, but volume data persists unless the -v or --rm --volumes flags are specified.

7
MCQmedium

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?

A./secrets/db_password
B./etc/secrets/db_password
C./run/secrets/db_password
D./var/run/secrets/db_password
AnswerC

Correct. Podman mounts secrets in /run/secrets/ by default.

Why this answer

Podman secrets are mounted into the container under /run/secrets/ by default if an explicit target is not provided.

8
MCQhard

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'?

A.podman run --secret db_pwd,type=env myapp
B.podman run --secret db_pwd,destination=env myapp
C.podman run --secret db_pwd,target=variable myapp
D.podman run --secret db_pwd,mode=environment myapp
AnswerA

type=env configures the secret to be loaded as an environment variable.

Why this answer

Using the 'type=env' option with '--secret' injects the secret value directly into an environment variable.

9
MCQmedium

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

A.podman run --mount /host/path:/container/path:bind myapp
B.podman run --mount source=/host/path,target=/container/path myapp
C.podman run --mount bind:/host/path:/container/path myapp
D.podman run --mount type=bind,source=/host/path,destination=/container/path myapp
AnswerD

This is the correct key-value syntax for the --mount flag.

Why this answer

The '--mount' flag uses comma-separated key-value pairs like type=bind,source=...,destination=...

10
MCQmedium

An administrator runs a container with an SELinux-enforced host bind mount, but the container processes fail to write to the directory due to permission errors. Which volume option resolves this by sharing the SELinux content label?

A.--volume /host/data:/container/data:rprivate
B.--volume /host/data:/container/data:shared
C.--volume /host/data:/container/data:z
D.--volume /host/data:/container/data:private
AnswerC

Correct. The :z option shares the SELinux label among multiple containers.

Why this answer

The :Z option instructs Podman to relabel the host path specifically for the container, while :z shares it across multiple containers.

11
Multi-Selecthard

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

Select 2 answers
A.type=env
B.type=volume
C.type=tmpfs
D.type=mount
E.type=bind
AnswersA, D

Injects the secret into an environment variable.

Why this answer

Secrets can be mounted as files or injected as environment variables using options like type=mount or type=env.

12
MCQhard

A container needs to read a secret named 'api_key' injected as a file at '/run/secrets/api_key'. What is the default destination path inside the container when mounting a secret without specifying a target?

A./var/run/secrets/
B./app/secrets/
C./etc/secrets/
D./run/secrets/
AnswerD

Secrets are mounted under /run/secrets/ by default.

Why this answer

By default, Podman mounts secrets into /run/secrets/ inside the container using the secret's name as the filename.

13
MCQmedium

You need to inspect the disk space usage and detailed metadata of all managed volumes currently configured in Podman. Which command provides this information?

A.podman volume inspect
B.podman storage inspect volumes
C.podman volume ls --details
D.podman system df
AnswerA

Correct. podman volume inspect provides detailed volume configuration and metadata.

Why this answer

The podman volume inspect command displays detailed metadata for one or more volumes.

14
MCQmedium

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'?

A.podman volume create --driver nfs my_vol
B.podman volume create --storage-driver nfs my_vol
C.podman volume create --plugin nfs my_vol
D.podman volume create -t nfs my_vol
AnswerA

The --driver flag specifies non-default volume drivers.

Why this answer

The --driver (or -d) flag specifies the volume driver to use for managing the volume.

15
Multi-Selecteasy

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

Select 2 answers
A.--mount
B.-v or --volume
C.--store-path
D.--attach-storage
E.--link-volume
AnswersA, B

The advanced key-value mount attachment flag.

Why this answer

The '-v' / '--volume' and '--mount' flags are used to attach storage to containers.

16
Multi-Selecthard

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

Select 2 answers
A.Using the --environment-map flag
B.Using the --var-file flag
C.Using the -e or --env flag
D.Using the --inject-env flag
E.Using the --env-file flag
AnswersC, E

Passes individual environment variables.

Why this answer

Environment variables can be supplied individually via '-e' / '--env' or in batch via '--env-file'.

17
MCQmedium

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?

A.podman run --read-only-mount=/host/data
B.podman run -v /host/data:/container/data:ro
C.podman run -v /host/data:/container/data:rw
D.podman run --mount type=bind,source=/host/data,destination=/container/data,readonly=false
AnswerB

The ':ro' suffix configures the mount as read-only.

Why this answer

Appending ':ro' to a volume or bind mount specification tells Podman to mount the source path in read-only mode inside the container.

18
Multi-Selecthard

An administrator is managing Podman secrets and needs to interact with the secret store. Which THREE commands or operations are valid when working with podman secret? (Choose three.)

Select 3 answers
A.podman secret ls
B.podman secret export
C.podman secret inspect
D.podman secret rm
E.podman secret modify
AnswersA, C, D

Correct. Lists all available secrets.

Why this answer

Podman secrets support creation, listing, inspection, and removal.

19
MCQeasy

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?

A.Persistent named storage
B.Ephemeral container storage
C.Bind mount storage
D.Block storage replication
AnswerB

Ephemeral storage is temporary and tied to the container lifecycle.

Why this answer

Ephemeral storage refers to temporary storage bound to the container's lifecycle and destroyed when the container is removed.

20
MCQhard

When using the '--mount' flag, what parameter specifies the type of mount being performed (e.g., bind, volume, tmpfs)?

A.kind=
B.type=
C.method=
D.mount-type=
AnswerB

'type=' defines the mount type.

Why this answer

The 'type=' key specifies whether the mount is a bind, volume, or tmpfs mount.

21
Multi-Selectmedium

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

Select 2 answers
A.They are automatically deleted when the container is removed
B.They cannot be mounted in read-only mode
C.They are managed entirely inside Podman's internal volume database without host paths
D.They link a specific host path directly into the container filesystem
E.Host file permissions and SELinux contexts directly impact container access
AnswersD, E

Bind mounts map host paths to container paths.

Why this answer

Bind mounts map a host directory or file into a container and depend on host path availability and permissions.

22
MCQhard

An engineer needs to inspect the content and metadata of an existing Podman secret named 'my_secret' without outputting the raw secret value in plain text if masked, or viewing its metadata. Which command inspects the secret?

A.podman secret cat my_secret
B.podman secret show my_secret
C.podman secret inspect my_secret
D.podman secret view my_secret
AnswerC

'inspect' outputs secret metadata in JSON format.

Why this answer

'podman secret inspect' displays detailed metadata about the secret object.

23
MCQeasy

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

A./var/lib/containers/storage/volumes/
B./etc/containers/volumes/
C./var/run/containers/storage/
D.~/.local/share/containers/storage/volumes/
AnswerD

This is the standard location for rootless user managed volumes.

Why this answer

For non-root users, Podman stores managed volume data inside their home directory under ~/.local/share/containers/storage/volumes/.

24
Multi-Selectmedium

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

Select 2 answers
A.All container changes are written directly back to the read-only image layer
B.The container has its own writable scratchpad layer separate from the image
C.Data persists automatically across host reboots and container deletions
D.Data written to the container layer is lost when the container is removed
E.Host files are automatically synchronized into the container storage
AnswersB, D

An overlay writable layer is provisioned for the running container instance.

Why this answer

Ephemeral storage means data written inside the container layer is temporary and discarded when the container is removed.

25
MCQmedium

An administrator wants to pass custom options to a volume driver when creating a volume. Which flag should be used?

A.podman volume create --options ...
B.podman volume create --opt type=nfs ...
C.podman volume create -o-drv ...
D.podman volume create --driver-opt ...
AnswerB

'--opt' supplies driver-specific options.

Why this answer

The --opt flag passes driver-specific options when creating a named volume.

26
Multi-Selectmedium

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

Select 2 answers
A.Modify the size limit of an existing volume using podman volume resize
B.Display detailed low-level configuration of a volume using podman volume inspect
C.Encrypt a managed volume at rest using podman volume encrypt
D.Convert a bind mount to a named volume using podman volume convert
E.Remove all unused volumes using podman volume prune
AnswersB, E

Correct. 'podman volume inspect' outputs configuration details.

Why this answer

Podman volumes can be inspected and pruned using the volume subcommand suite.

27
MCQhard

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?

A.podman volume inspect app_vol
B.podman volume show app_vol
C.podman volume status app_vol
D.podman inspect volume app_vol
AnswerA

Inspect provides the detailed JSON metadata for the volume.

Why this answer

'podman volume inspect' retrieves detailed configuration and metadata for specified volumes.

28
MCQmedium

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

A.podman run --env-file app.env myapp
B.podman run --config-file app.env myapp
C.podman run -e @app.env myapp
D.podman run --load-env app.env myapp
AnswerA

--env-file correctly parses key-value pairs from the file.

Why this answer

The --env-file flag reads environment variables line by line from the specified file and passes them into the container.

29
Multi-Selectmedium

Which THREE characteristics describe Podman named volumes compared to bind mounts? (Choose THREE)

Select 3 answers
A.Must always point to pre-existing host directories
B.Require absolute paths on the host system during creation
C.Stored within Podman's designated storage directory on the host
D.Managed completely by Podman engine
E.Easier to migrate or back up using volume management commands
AnswersC, D, E

Volume data resides in paths like /var/lib/... or ~/.local/share/...

Why this answer

Named volumes are managed by Podman, stored in container storage areas, and persist independently of host path structures.

30
MCQeasy

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

A.podman system df
B.podman disk status
C.podman volume df
D.podman storage usage
AnswerA

'system df' shows disk usage summary similar to filesystem df.

Why this answer

'podman system df' reports storage consumption for containers, images, and volumes.

31
Multi-Selecthard

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

Select 3 answers
A.destination
B.source
C.permission
D.owner
E.type
AnswersA, B, E

Correct. 'destination' specifies the mount path inside the container.

Why this answer

The --mount flag accepts options such as type, source (or src), and destination (or dst/target).

32
MCQeasy

Which command lists all named volumes currently managed by Podman?

A.podman volume list
B.podman volume ls
C.podman ls volumes
D.podman volume show
AnswerB

'ls' outputs the list of volumes.

Why this answer

'podman volume ls' displays a list of all named volumes.

33
MCQeasy

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

A.podman rm secret old_secret
B.podman secret rm old_secret
C.podman secret delete old_secret
D.podman secret remove old_secret
AnswerB

'rm' is the correct subcommand to remove a secret.

Why this answer

'podman secret rm' deletes the specified secret from storage.

34
Multi-Selecthard

Which THREE advanced features or driver options can be utilized when creating Podman named volumes with plugins or specialized drivers? (Choose THREE)

Select 3 answers
A.Custom volume drivers via the --driver flag
B.Driver-specific options using the --opt flag
C.Direct block device partitioning via --partition
D.Automatic kernel kernel-space memory locking via --mlock
E.Metadata tagging using the --label flag
AnswersA, B, E

Allows integration with external storage drivers.

Why this answer

Named volumes support custom drivers, driver options via '--opt', and labels via '--label'.

35
MCQhard

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

A.podman secret list
B.podman secret ls
C.podman secrets ls
D.podman system secrets
AnswerB

'ls' is the correct subcommand to display stored secrets.

Why this answer

'podman secret ls' lists all available secrets managed by Podman.

36
MCQmedium

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

A.podman run -e DB_HOST=localhost myapp
B.podman run --set-env DB_HOST=localhost myapp
C.podman run -v DB_HOST=localhost myapp
D.podman run --variable DB_HOST=localhost myapp
AnswerA

The -e flag sets individual environment variables.

Why this answer

The --env or -e flag defines environment variables for the container.

37
Multi-Selectmedium

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

Select 3 answers
A.podman secret extract
B.podman secret rm
C.podman secret ls
D.podman secret compile
E.podman secret create
AnswersB, C, E

Removes a secret.

Why this answer

'podman secret create', 'podman secret ls', and 'podman secret rm' are valid commands for secret management.

38
MCQeasy

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

A.podman volume init mydata
B.podman storage volume-add mydata
C.podman create volume --name mydata
D.podman volume create mydata
AnswerD

Correct. This provisions a named managed volume.

Why this answer

The command podman volume create is used to provision a new managed volume in Podman's storage backend.

39
MCQhard

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

A.Using '//' at the beginning of the line
B.Using '#' at the beginning of the line
C.Using ';' at the beginning of the line
D.Using '/* ... */' block syntax
AnswerB

The hash sign (#) designates comments in env files.

Why this answer

Lines beginning with the hash character (#) are treated as comments in Podman environment files.

40
Multi-Selecteasy

Which TWO commands help clean up unused or dangling Podman storage resources? (Choose TWO)

Select 2 answers
A.podman storage wipe
B.podman system clean
C.podman system prune
D.podman volume clean
E.podman volume prune
AnswersC, E

Removes unused containers, networks, and images.

Why this answer

'podman volume prune' and 'podman system prune' are used to clean up unused resources.

41
MCQmedium

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

A.Yes, Podman supports bind mounting individual files from the host.
B.No, bind mounts are restricted to named volumes only.
C.No, Podman only supports bind mounting entire directories.
D.Yes, but only if the file is located inside /var/lib/containers.
AnswerA

Bind mounts can target individual files as well as directories.

Why this answer

Podman supports bind mounting both directories and individual files from the host into a container.

42
MCQeasy

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?

A.--config-file config.env
B.--volume config.env:/etc/env
C.--secret file=config.env
D.--env-file config.env
AnswerD

Correct. --env-file reads environment variables from a file.

Why this answer

The --env-file flag parses a file line by line and passes the key-value pairs into the container as environment variables.

43
MCQmedium

A Podman secret named 'db_password' has been created. How is this secret made accessible inside a running container?

A.podman run --secret db_password,type=mount myapp
B.podman run --env SECRET=db_password myapp
C.podman run --inject-secret db_password myapp
D.podman run --use-secret db_password myapp
AnswerA

The --secret flag mounts or injects the secret into the container.

Why this answer

The --secret flag allows mounting or injecting a secret into the container filesystem or environment.

44
MCQmedium

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?

A.podman run --ramdisk /app/cache myapp
B.podman run --mount type=memory,destination=/app/cache myapp
C.podman run --memory-mount /app/cache myapp
D.podman run --tmpfs /app/cache myapp
AnswerD

The --tmpfs flag mounts an ephemeral memory-backed filesystem.

Why this answer

A tmpfs mount stores data in host system memory (RAM), providing high-speed temporary storage.

45
MCQeasy

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

A.podman run --delete-on-exit
B.podman run --clean
C.podman run --rm
D.podman run --purge
AnswerC

'--rm' automatically deletes the container upon exit.

Why this answer

The --rm flag removes the container and any associated anonymous volumes when the container stops.

46
Multi-Selecteasy

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

Select 2 answers
A.Shared memory block devices via NFS exports
B.Host bind mounts referencing directories on the host filesystem
C.Direct Fibre Channel LUN mapping inside containers
D.Managed volumes stored in Podman's storage graph
E.Distributed HDFS cluster mounts
AnswersB, D

Correct. Bind mounts map host paths directly into containers.

Why this answer

Podman natively supports named managed volumes and host bind mounts.

47
Multi-Selecthard

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

Select 3 answers
A.List existing secrets with 'podman secret ls'
B.Inspect secret metadata with 'podman secret inspect'
C.Compile secrets into binary format with 'podman secret compile'
D.Edit secret values in-place with 'podman secret edit'
E.Remove secrets with 'podman secret rm'
AnswersA, B, E

Lists stored secrets.

Why this answer

Secrets can be listed, inspected for metadata, and removed.

48
Multi-Selectmedium

Which TWO SELinux relabeling suffixes can be appended to a Podman volume or bind mount? (Choose TWO)

Select 2 answers
A.:s
B.:shared
C.:private
D.:Z
E.:z
AnswersD, E

Makes content private to a single container.

Why this answer

The 'z' and 'Z' suffixes control SELinux shared and private relabeling on host mounts.

49
Multi-Selecteasy

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

Select 2 answers
A.podman volume make
B.podman volume compile
C.podman volume build
D.podman volume create
E.podman volume ls
AnswersD, E

Creates a named volume.

Why this answer

'podman volume create' and 'podman volume ls' are standard and correct subcommands for managing named volumes.

50
Multi-Selecteasy

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

Select 3 answers
A.Networks
B.Images
C.Containers
D.Volumes
E.Secrets
AnswersB, C, D

Image disk usage is reported.

Why this answer

'podman system df' reports disk usage for containers, images, and volumes.

51
MCQmedium

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

A.podman secret import db_secret secret.txt
B.podman create secret db_secret secret.txt
C.podman secret add db_secret --file secret.txt
D.podman secret create db_secret secret.txt
AnswerD

This syntax creates a secret named 'db_secret' populated from 'secret.txt'.

Why this answer

'podman secret create' takes a secret name and a file path containing the secret data.

52
MCQhard

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?

A.podman run -v /host/dir:/container/dir:mtype=shared myapp
B.podman run -v /host/dir:/container/dir:shared myapp
C.podman run -v /host/dir:/container/dir:sync myapp
D.podman run -v /host/dir:/container/dir:propagate myapp
AnswerB

The ':shared' suffix configures mount propagation.

Why this answer

Mount propagation (shared, slave, private) can be configured using propagation options like 'shared' or 'slave'.

53
MCQeasy

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?

A.podman volume bind my_data
B.podman run -v /my_data
C.podman volume create my_data
D.podman create volume my_data
AnswerC

This command creates a managed named volume that Podman controls.

Why this answer

Podman named volumes are managed by the container engine and stored in a host directory managed by Podman, unlike bind mounts which bind to a specific user-defined host path.

54
Multi-Selectmedium

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

Select 2 answers
A.Direct modification of the host kernel mount tables
B.The user must have read/write access to the host directory on the host file system
C.Disabling user namespaces across the system
D.Root privileges on the host operating system
E.Proper SELinux labeling (such as :z or :Z) if SELinux is enforcing
AnswersB, E

Host filesystem permissions apply to rootless users.

Why this answer

Rootless users must have read/write permissions to the host path on the host filesystem and proper permissions/SELinux context.

55
MCQeasy

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

A.podman rm --volumes
B.podman volume rm --all
C.podman volume clean
D.podman volume prune
AnswerD

Prune specifically deletes unused and dangling volumes.

Why this answer

'podman volume prune' removes all volumes that are not actively used by any container.

56
Multi-Selecteasy

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

Select 2 answers
A.podman secret create
B.podman secret compile
C.podman secret update
D.podman secret ls
E.podman secret modify
AnswersA, D

Creates a secret.

Why this answer

'podman secret create' and 'podman secret ls' are valid secret management commands.

57
MCQeasy

Which flag is used with 'podman run' to create an ephemeral, writable container layer scratchpad that is automatically destroyed when the container stops?

A.podman run (no special volume flags)
B.podman run --rm-storage
C.podman run --volatile
D.podman run --ephemeral
AnswerA

Default container storage is temporary and discarded upon removal unless committed or mounted.

Why this answer

Standard containers created with 'podman run' are ephemeral by default unless volumes or mounts are attached.

58
MCQhard

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?

A.podman run -v /host/data:/data:O
B.podman run -v /host/data:/data:Z
C.podman run -v /host/data:/data:z
D.podman run -v /host/data:/data:shared
AnswerC

Lowercase z relabels content so multiple containers can share the volume.

Why this answer

The z option (lowercase z) shares SELinux content among multiple containers, whereas Z (uppercase Z) treats the content as private and unshared.

Ready to test yourself?

Try a timed practice session using only Storage And Configuration questions.