EX188 Registry And Security Practice Question
A rootless user wants to run a container and mount a host directory into it. The container process reports permission denied errors when trying to write to the mounted volume. Which SELinux-related flag is typically appended to the volume mount option to resolve container volume permission issues in rootful mode, or handled via user namespaces in rootless mode?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
:z
The ':z' or ':Z' suffix handles SELinux relabeling for volume mounts.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
:ro
Why it's wrong here
The :ro option makes the mount read-only.
- ✗
:shared
Why it's wrong here
The :shared mount propagation option is for kernel mount namespaces, not SELinux context labeling.
- ✓
:z
Why this is correct
The :z option tells Podman to share the volume content among multiple containers using a shared SELinux content volume label.
- ✗
:exec
Why it's wrong here
The :exec option allows binary execution from within the mount.
Visual reference
About these practice questions
Courseiva writes every EX188 question from scratch — 301 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Red Hat exam blueprint
This EX188 practice question is part of Courseiva's free Red Hat certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the EX188 exam.