EX188 · domain
Registry And Security
This domain covers Podman's registry and security plumbing: authenticating to private registries, configuring mirrors and signature policy in /etc/containers, and applying SELinux and capability controls to containers. Questions are task-shaped — pick the right command, TOML key, or security option and predict its effect on pulls and running containers.
Focused practice
Practice Registry And Security 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 Registry And Security
Be able to authenticate and de-authenticate registries, write valid registries.conf mirror and policy.json signature stanzas, and explain what each security option changes at runtime. The critical point is matching the exact config file, TOML/JSON key, or CLI flag to the behavior asked about.
Using podman login and podman logout to store and remove registry credentials in auth.json
Editing /etc/containers/registries.conf TOML blocks to define registry mirrors and unqualified-search registries
Reading /etc/containers/policy.json signedBy rules and verifying image signatures with GPG keys
Applying --security-opt label=disable and related SELinux, capability, and user namespace options
Watch out for
Common Registry And Security exam traps
- ▸Assuming podman logout removes credentials globally — it only clears the entry for that registry from the local auth file.
- ▸Writing registries.conf mirror entries as plain key/value instead of the required TOML table array with location and prefix fields.
- ▸Believing label=disable turns off all container isolation, when it only disables SELinux label separation for that container.
Question index
All Registry And Security questions (47)
Click any question to see the full explanation, or start a practice session above.
A system administrator logs into a RHEL 9 server as a regular non-root user and executes 'podman ps'. The command succeeds, but no containers are displayed. What architecture feature enables this user to run containers without root privileges?
Easy2A container running in rootless mode needs to map a user account on the host to a different user inside the container namespace. Which options configure UID and GID mapping?
Medium3An administrator needs to configure system-wide registry search shortcuts so that developers can run 'podman pull rhel9' and Podman automatically expands it to 'registry.access.redhat.com/rhel9'. Which configuration file and parameter accomplish this?
Hard4A user is running rootless Podman and needs to verify why a container cannot bind to TCP port 80. By default, unprivileged users cannot bind to ports below 1024. Which parameter controls the minimum unprivileged port that can be bound?
Medium5Which TWO actions can an administrator take to manage container image tags in local Podman storage? (Choose two.)
Easy6A security-conscious administrator runs a rootless Podman container that must bind-mount a directory from the host. The container process is denied access to the files even though the directory has world-readable permissions, and SELinux is enforcing. Which TWO steps will resolve the denial while keeping SELinux enforcing? (Choose two.)
Hard7A developer needs to push a locally built image to a private registry that requires authentication. The registry uses a self-signed certificate, and the developer wants Podman to trust that certificate for this registry only. Which action should be taken?
Medium8Which TWO commands allow a user to remove unwanted items from local Podman storage? (Choose two.)
Easy9A user wants to inspect the effective signature verification policy that Podman will apply when pulling images, without modifying any files. Which command displays the current policy configuration?
Easy10A user needs to download an image from Docker Hub named 'library/alpine' using its explicit transport prefix. Which command demonstrates the correct transport syntax?
Easy11A practitioner wants to view all container images currently stored in local storage, including their size, tag, and image ID. Which command should they execute?
Easy12A security engineer is troubleshooting why signature verification fails when pulling an image from a trusted registry. The policy file (/etc/containers/policy.json) specifies 'signedBy' using a GPG key, but the transport uses 'dir://'. Where must the public GPG key be imported for Podman to successfully verify the signature?
Hard13A rootless Podman user must run a container that needs to write to a bind-mounted host directory. The container consistently fails with permission denied. The host directory is owned by the user and has mode 0775. SELinux is enforcing. Which action will allow the container to write to the directory without disabling SELinux?
Hard14An administrator wants to inspect the container storage configuration settings, such as graph root and storage driver, on a RHEL system. Which configuration file should they examine?
Medium15Which THREE methods or options can be used to authenticate or supply credentials when pulling images from a private registry that requires authentication? (Choose three.)
Hard16An organization mandates that all container images produced internally must be signed using local GPG keys before being pushed to the production registry. Which tool and configuration file must be used to enforce that Podman rejects unsigned images during a pull operation?
Hard17Which THREE mechanisms are part of Podman's image signature verification framework on RHEL 9? (Choose three.)
Hard18An administrator wants to configure Podman to pull images using a specific TLS client certificate for mutual TLS authentication against a secure private registry. Where should the client certificate and private key be placed?
Hard19Which THREE actions occur when an administrator runs a container with an SELinux volume mount suffix ':Z'? (Choose three.)
Hard20Which THREE tasks can be performed using the 'podman system' command set? (Choose three.)
Hard21Which TWO configuration files or directories are routinely modified when establishing secure private container registry trust and signature policies on RHEL 9? (Choose two.)
Medium22A system administrator is auditing containers and notices one running with the option '--security-opt label=disable'. What does this flag do?
Medium23An auditor notices that a container running with SELinux enforcement needs to access a specific host directory with a private read-write security context. Which SELinux suffix should be applied to the volume mount if the content is exclusive to that single container and should not be shared?
Hard24A developer wants to push a locally built container image named webapp:v1 to a private container registry located at registry.local:5000/myteam/. Which sequence of commands correctly tags and pushes the image?
Medium25A user running a rootless container needs to inspect which subordinate UID and GID ranges have been allocated to their user account on the RHEL 9 host. Which files define these mappings?
Easy26After pushing an image to a registry, a developer wants to tag the local image 'myapp:v1' as 'registry.example.com/myteam/myapp:latest'. Which command accomplishes this?
Medium27A 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?
Easy28An administrator configures rootless Podman on RHEL 9. For container user namespace mapping to function correctly for a specific user account, entries must be present in which two system files?
Hard29A user wants to save a locally stored container image to a tar archive file to transfer it across systems without a registry. Which command should they use?
Easy30A security administrator is implementing image signature verification on RHEL 9. Where is the default system-wide signature policy file located?
Hard31Which TWO conditions are typically required for rootless container users to successfully map UIDs and GIDs from host accounts to container accounts? (Choose two.)
Medium32An administrator needs to run a container that requires access to the host's network stack directly, bypassing network isolation. Which flag should be passed to 'podman run'?
Medium33A user needs to log out from a private container registry to remove stored credentials from their local machine. Which command accomplishes this?
Easy34When interacting with container registries using Podman, which THREE commands or tasks are valid operations supported natively by the Podman CLI? (Choose three.)
Easy35A user running rootless Podman wants to check the disk space consumed by images and containers in local storage. Which command provides this storage usage summary?
Easy36A developer wants to search for all available container images matching the term 'rhel9' across configured registries using Podman. Which command should they run?
Medium37An administrator needs to push a locally built Podman image named 'app:latest' to a remote container registry at 'registry.example.com/team'. Which command must be executed first to authenticate with the registry before pushing?
Easy38A security team requires that all container processes run with a specific SELinux type instead of the default container_t. How can an administrator specify a custom SELinux type when launching a container with 'podman run'?
Medium39Which TWO actions are required when configuring a secure container workflow to push a signed image to a registry using Podman? (Choose two.)
Medium40Which TWO commands are used to transfer container images via archive files without interacting with a network registry? (Choose two.)
Easy41A system administrator needs to load a container image from a previously generated tar archive named 'app.tar' into local Podman storage. Which command should be executed?
Medium42A user needs to remove a local container image that is no longer needed. Which command should be used?
Easy43An administrator configures a mirror for a primary registry in /etc/containers/registries.conf. What is the correct TOML syntax format to define a registry block with a mirror?
Hard44A user running rootless Podman wants to pull an image from an insecure registry running over HTTP on port 5000. When running 'podman pull', the command fails with a connection error. Where must the administrator define this registry as insecure for the user?
Medium45A developer needs to pull a private image from quay.io. The registry requires authentication. Which command should the developer use to store credentials for quay.io so that subsequent `podman pull` operations succeed without prompting?
Easy46Which TWO methods can a user employ to verify that an image has been successfully downloaded to their local machine? (Choose two.)
Easy47A user wants to inspect the metadata and layers of an image stored locally without running it. Which Podman command should be used?
EasyOther domains
All EX188 exam domains
Frequently asked questions
- What does the Registry And Security domain cover on the EX188 exam?
- Be able to authenticate and de-authenticate registries, write valid registries.conf mirror and policy.json signature stanzas, and explain what each security option changes at runtime. The critical point is matching the exact config file, TOML/JSON key, or CLI flag to the behavior asked about.
- How many questions are in this domain?
- This page lists all 47 Registry And Security 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 Registry And Security questions?
- Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.