EX188 · domain
troubleshooting
Practise Red Hat Certified Specialist in Containers (EX188, Podman-based) (EX188) troubleshooting practice questions — original exam-style scenarios with answer choices, explanations, and analysis of common mistakes.
Focused practice
Practice troubleshooting 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 troubleshooting
troubleshooting questions test whether you can apply the concept in context, not just recognise a definition.
How the topic appears in realistic exam-style scenarios.
Which detail in the question changes the correct answer.
How to eliminate plausible but wrong options.
How to connect the question back to the wider exam objective.
Watch out for
Common troubleshooting exam traps
- ▸Answering from memory before reading the full scenario.
- ▸Missing a constraint such as cost, availability, security, scope or command context.
- ▸Choosing a broad answer when the question asks for the most specific fix.
- ▸Ignoring why the wrong options are tempting.
Question index
All troubleshooting questions (296)
Click any question to see the full explanation, or start a practice session above.
Which THREE commands are valid when inspecting or managing Podman storage volumes? (Choose THREE)
Easy2An administrator needs to execute multiple commands in a single RUN instruction to minimize image layers. Which syntax is standard in a Containerfile?
Medium3An administrator needs to copy a configuration file named /tmp/nginx.conf from the host into a running container named web_server at path /etc/nginx/nginx.conf. Which command should be used?
Medium4Which THREE configuration directives or files are associated with customizing container storage backends and root directory locations in Podman? (Choose three.)
Hard5How do you disconnect a running container from a custom network named 'mynet'?
Easy6An administrator is troubleshooting a misbehaving container and needs to examine its output logs and event history. Which TWO commands are appropriate for this task? (Choose TWO)
Medium7A container administrator needs to download an image named rhel9/httpd-24 from the Red Hat Ecosystem Catalog using Podman, but requires local authorization without interactive password prompts. Which file should the administrator configure to store these registry credentials in base64-encoded format?
Easy8An administrator is troubleshooting process execution and live configuration updates on a running container. Which TWO commands allow interacting with processes or updating resource limits on the fly? (Choose TWO)
Hard9Which TWO commands can be used with Podman to build a container image from a Containerfile? (Choose two.)
Easy10You need to set a persistent environment variable named 'APP_PORT' with the value '8080' inside a container image via the Containerfile. Which instruction should you use?
Easy11An administrator wants to monitor real-time Podman system events, such as when containers are created, started, stopped, or removed, for auditing purposes. Which command should be executed?
Medium12Which subcommand deletes one or more specific named volumes?
Easy13A container needs read-only access to a host configuration directory located at /etc/appconfig. Which Podman volume flag configuration correctly achieves this?
Easy14A 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?
Easy15You need to inspect the configuration details, including subnet, gateway, and driver, of a custom Podman network named 'appnet'. Which command should you run?
Hard16You are building an image behind a corporate firewall that requires a custom Certificate Authority (CA) certificate to trust internal registries and repositories. How can you add this CA certificate to the build container?
Medium17Which THREE formatting options or commands can be used with 'podman volume ls' to customize or filter output? (Choose THREE)
Hard18You 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?
Hard19A 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?
Hard20Which THREE mechanisms are valid ways to pass build arguments into a Containerfile during a 'podman build' invocation? (Choose three.)
Medium21You are building a minimal container image from scratch using 'FROM scratch'. Your statically compiled Go binary fails to execute when the container starts, with a 'file not found' error, even though it was successfully copied into the image. What is the most likely cause?
Hard22You 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?
Medium23What is the primary benefit of utilizing multi-stage builds in Containerfiles?
Medium24A 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?
Medium25An 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'?
Hard26An administrator is managing rootless Podman containers as a non-root user and wants to ensure that these containers automatically start upon system boot and persist across reboots using systemd. Which TWO steps or commands are required to accomplish this? (Choose TWO)
Medium27An engineer needs to mount a host directory using the advanced '--mount' syntax instead of '-v'. Which syntax correctly specifies a bind mount?
Medium28An 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?
Hard29An 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?
Medium30An administrator needs to connect an already running container named 'web1' to an existing user-defined network named 'backend-net' without restarting the container. Which command accomplishes this?
Hard31Which TWO instructions can be used to copy files or directories from a build context into a container image?
Medium32A container needs to be created that shares the host's network stack entirely, bypassing any NAT or virtual interface overhead. Which Podman flag achieves this?
Easy33A container named db_master was previously paused using podman pause. Which command should the administrator use to resume its execution?
Medium34When inspecting the networking of a container using 'podman inspect', where is the IP address of the container located in the output JSON structure?
Hard35Which TWO settings or files are critical when configuring rootless Podman environments on RHEL 9? (Choose two.)
Medium36An organization enforces that all container images must be signed using a local GPG key before they can be deployed in production. Which command generates a signature for an image stored in local storage using a specific signing key?
Hard37A 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?
Medium38Which TWO options can be specified when mounting a Podman secret into a container? (Choose TWO)
Hard39An administrator wants to view real-time container lifecycle events across the entire Podman system, such as container creation, starting, and stopping. Which command should be executed?
Hard40Which environment file option can be used in a Podman Compose file to automatically load environment variables for service configuration?
Easy41An administrator needs to view the processes running inside a specific container named worker_node, along with custom ps options like -ef to see full command arguments. Which command accomplishes this?
Hard42An auditor notices that a container image runs its main application process as the 'root' user by default. Which Containerfile instruction can be added to ensure the container runs as a non-privileged user named 'appuser'?
Medium43Which THREE statements correctly describe the differences between CMD and ENTRYPOINT in a Containerfile?
Hard44A 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?
Hard45You want to create a rigid container image where the container always executes a specific binary (/usr/bin/redis-server) and any arguments passed to 'podman run' are appended as arguments to that binary. Which instruction combination is best?
Medium46Which flag allows you to publish a container port to a random ephemeral port on the host interface?
Easy47Which TWO of the following instructions in a Containerfile can be written using either the shell form or the exec form?
Medium48You need to inspect the disk space usage and detailed metadata of all managed volumes currently configured in Podman. Which command provides this information?
Medium49An administrator needs to start a container named webapp from the image docker.io/library/httpd in the background. Which podman command should be used?
Easy50Which instruction documents the network ports on which a container listens at runtime?
Easy51Which TWO actions can an administrator take to manage container image tags in local Podman storage? (Choose two.)
Easy52An administrator is troubleshooting container startup failures and wants to inspect the exact entrypoint and command arguments configured for a container named app_run before it starts. Which inspect format expression retrieves this?
Hard53An administrator is troubleshooting an issue where a rootless container cannot access a host file because of SELinux denials. Which THREE statements accurately describe how SELinux interacts with rootless Podman containers on RHEL 9? (Choose three.)
Hard54You wish to connect an already running container to an existing custom Podman network named 'mynet'. Which command should you use?
Medium55An administrator wants to generate a systemd unit file for an existing Podman container named 'app_server' so that it can be managed as a system service. Which command should be used to generate this unit file and write it directly to the user systemd directory?
Hard56Which TWO commands allow a user to remove unwanted items from local Podman storage? (Choose two.)
Easy57An 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'?
Medium58When working with Podman Compose files, which TWO options are valid keys that can be specified under a service definition for port and networking configuration? (Choose two)
Hard59Which TWO flags can be used to mount volumes or bind mounts when running a container? (Choose TWO)
Easy60An administrator is configuring container health checks and wants to review health status or force immediate actions. Which TWO of the following statements or commands are accurate regarding Podman health checks? (Choose TWO)
Hard61You are writing a Podman Compose file and want to ensure a service depends on another service being fully started before it initializes. Which directive should you use?
Medium62A containerized web service must be accessible from the host system on TCP port 8080, while the application inside the container listens on port 80. Which flag correctly configures this port mapping?
Easy63An administrator creates a custom CNI network using 'podman network create mynet' and wants to assign a static IP address to a container upon creation. Which option achieves this?
Hard64Which command starts services defined in a Podman Compose file in detached mode?
Easy65Which TWO methods can be used to supply environment variables to a Podman container? (Choose TWO)
Hard66Which THREE practices should be observed when managing environment variables (ENV vs ARG) in Containerfiles for secure and efficient builds? (Choose three.)
Hard67A user needs to download an image from Docker Hub named 'library/alpine' using its explicit transport prefix. Which command demonstrates the correct transport syntax?
Easy68An administrator has a container that failed to start correctly. They want to inspect the exit code and finished timestamp. Which inspect format string provides the finished time?
Medium69A 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?
Medium70An administrator is using Podman Quadlets to manage containers via systemd. Where must the Quadlet .container configuration file be placed for system-wide root containers?
Hard71An administrator is working with Podman Quadlets to manage container lifecycles via systemd. Which TWO statements regarding Quadlet file naming conventions and directory locations are correct? (Choose TWO)
Hard72A practitioner wants to view all container images currently stored in local storage, including their size, tag, and image ID. Which command should they execute?
Easy73An administrator needs to export container contents or create new images from containers. Which TWO commands accomplish these actions? (Choose TWO)
Medium74An administrator is managing rootless containers and needs to understand how user namespaces and security isolation function. Which TWO of the following configuration files or tools are directly relevant to rootless user mapping and systemd user persistence? (Choose TWO)
Hard75An administrator wants to examine the internal state, environment variables, or port mappings of a running container. Which TWO commands or techniques are appropriate? (Choose TWO)
Medium76Which THREE directives or practices are associated with implementing secure container builds and adhering to least-privilege principles? (Choose three.)
Medium77An 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.)
Hard78An administrator wants to immediately stop and remove a running container named temp_test in a single command. Which command should be used?
Easy79An administrator wants to run a container with a custom health check command that disables health checking entirely for a container that inherited one from its base image. Which flag achieves this?
Hard80You are optimizing a Containerfile using multi-stage builds to minimize image size. What is the key advantage of a multi-stage build in Podman?
Hard81When using the ADD instruction with a remote URL source, what is a recommended best practice regarding security and layer efficiency?
Hard82A 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?
Hard83You are writing a Containerfile and need to ensure that the default command executed when the container starts can be easily overridden by passing arguments on the podman run command line. Which instruction should you use?
Medium84You want to set the working directory for any subsequent RUN, CMD, ENTRYPOINT, COPY, and ADD instructions that follow it in the Containerfile. Which instruction achieves this?
Easy85When configuring a secure private registry that uses a self-signed TLS certificate, a user receives an x509 certificate signed by an unknown authority error when pulling images. Where should the CA certificate file be placed on a RHEL system for system-wide trust?
Hard86What 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?
Easy87An administrator wants to modify container settings or state. Which TWO of the following commands are valid Podman subcommands for container management? (Choose TWO)
Medium88When using the '--mount' flag, what parameter specifies the type of mount being performed (e.g., bind, volume, tmpfs)?
Hard89Which TWO statements are true regarding Podman bind mounts? (Choose TWO)
Medium90An administrator needs to run a container that shares the host's network namespace directly so it can listen on privileged ports without port forwarding. Which Podman command flag achieves this network mode?
Easy91You want to ensure that if any command in a multi-command RUN instruction fails, the entire container build process fails immediately. What shell option should be set or is default in Containerfiles?
Medium92Which configuration block in a Podman Compose YAML file is used to define custom isolated networks for the multi-container application?
Easy93An 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?
Hard94You need to ensure that a container image built with Podman includes reproducible timestamps for files to improve security and supply chain verification. Which flag or environment variable controls this?
Hard95An administrator is working with a rootless Podman setup and needs to ensure that container user namespaces map UIDs correctly such that container root (UID 0) maps to the unprivileged user's UID on the host. Which file configures subordinate UID mappings for rootless users on RHEL?
Hard96Which THREE behaviors occur when utilizing multi-stage builds in a Containerfile? (Choose three.)
Hard97An administrator wants to view the last 50 lines of logs for a running container named log_test and keep the log stream open for new entries. Which command should be used?
Easy98Which TWO instructions are used to define variables or set environment values within a Containerfile? (Choose two.)
Easy99An 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?
Medium100A container named api_gw is configured with a health check. An administrator needs to check the current health status (e.g., healthy, unhealthy, starting) using the command line without reading the full inspect JSON. Which command string achieves this?
Hard101Which THREE actions occur when a container is executed with the --network none flag? (Choose three)
Hard102You are writing a Containerfile to build a custom application image using podman build. Which instruction should you use as the mandatory first non-comment instruction to define the base image?
Easy103Two containers running on the same custom user-defined bridge network need to communicate with each other. What built-in mechanism allows them to resolve each other by container name?
Medium104An administrator needs to update the CPU shares (cpu-shares) of a running container named compute_job on the fly without stopping it. Which command should be used?
Hard105A rootless user runs a container that needs to write data to a host directory using podman run -v /home/user/data:/data:Z. When the container starts, permission denied errors occur when writing to /data. What is the cause of this SELinux issue in rootless mode?
Medium106Which THREE methods or options can be used to authenticate or supply credentials when pulling images from a private registry that requires authentication? (Choose three.)
Hard107Which THREE conditions or practices can cause layer cache invalidation during a 'podman build' operation? (Choose three.)
Hard108Two containers running on the same custom user-defined bridge network need to communicate using container names as hostnames. What is required for this to work natively in Podman?
Medium109You need to define a persistent environment variable named 'PORT' with the value '8080' that is available during both the build process and when running containers from the resulting image. Which instruction should you use?
Easy110Where are Podman named volumes typically stored on the host file system by default for a non-root user?
Easy111A container named 'worker' was configured with a health check command during build time, but an administrator needs to temporarily override or define a new health check command while running the container. Which flag should be passed to 'podman run' to achieve this?
Hard112An 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?
Hard113Which TWO actions occur when a container is run with ephemeral storage (the default behavior without volume mounts)? (Choose TWO)
Medium114An administrator wants to pass custom options to a volume driver when creating a volume. Which flag should be used?
Medium115Which instruction should be used in a Containerfile to copy local files from the host machine into the container filesystem?
Easy116An operator needs to troubleshoot a failing service inside a container named 'auth_api'. Which command should the operator run to view the standard output log stream generated by this container?
Easy117Which THREE advanced configuration steps or flags are available when performing rootless builds or utilizing buildah/podman build advanced features? (Choose three.)
Hard118A running Podman container named 'dbapp' is unresponsive, and a technician needs to immediately and forcefully terminate it without waiting for a graceful shutdown timeout. Which Podman command should be executed?
Easy119An administrator wants to retrieve only the IP address of a running container named web_svc by querying podman inspect with a specific format template. Which command is correct?
Hard120Which THREE mechanisms are part of Podman's image signature verification framework on RHEL 9? (Choose three.)
Hard121An 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?
Hard122Which THREE actions occur when an administrator runs a container with an SELinux volume mount suffix ':Z'? (Choose three.)
Hard123An administrator wants to monitor resource usage (CPU, memory, block I/O, network I/O) of all running containers in real-time. Which command provides this functionality?
Medium124An administrator needs to manage container lifecycles in Podman. Which TWO of the following commands can be used to start an existing, stopped container? (Choose TWO)
Easy125When utilizing Podman Compose, how are service dependencies and container startup orders typically managed within the YAML structure?
Hard126Which TWO actions can be performed using the podman volume management command suite? (Choose two.)
Medium127An 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?
Hard128An application container requires multiple configuration variables defined in a local file named 'app.env'. Which flag loads these variables into the container environment?
Medium129Which THREE practices should be followed to optimize container image size and build caching when writing Containerfiles? (Choose three.)
Medium130Which THREE tasks can be performed using the 'podman system' command set? (Choose three.)
Hard131Which THREE characteristics describe Podman named volumes compared to bind mounts? (Choose THREE)
Medium132Which TWO configuration files or directories are routinely modified when establishing secure private container registry trust and signature policies on RHEL 9? (Choose two.)
Medium133A system administrator is auditing containers and notices one running with the option '--security-opt label=disable'. What does this flag do?
Medium134How do you stop and remove containers, networks, and volumes created by a Podman Compose file?
Easy135Which command displays disk space usage statistics for Podman storage, including volumes and containers?
Easy136When configuring container mounts using the --mount flag, which THREE key-value pairs are valid parameters in the option string? (Choose three.)
Hard137An administrator needs to run a container named 'web01' using Podman in the background using the image registry.access.redhat.com/ubi8/httpd-24:latest. Which command correctly starts this container in detached mode and maps port 8080 on the host to port 80 in the container?
Medium138Which THREE statements accurately describe the differences between shell form and exec form for CMD and ENTRYPOINT instructions? (Choose three.)
Hard139An administrator needs to inspect the configuration details, including subnet and gateway, of an existing custom network named 'my-net'. Which command should be executed?
Medium140You are using a multi-stage build in your Containerfile. How do you copy a compiled binary named 'app' from a build stage named 'builder' into your final production runtime stage?
Medium141An administrator wants to check container port mappings and process listings inside containers. Which TWO commands provide these insights? (Choose TWO)
Easy142An administrator needs to view all network ports exposed or mapped by a container named web_prod using a simplified summary command. Which command can be used?
Easy143How do you check the logs of all services managed by a Podman Compose file?
Easy144Which command lists all named volumes currently managed by Podman?
Easy145How can an administrator remove an existing Podman secret named 'old_secret'?
Easy146An 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?
Hard147A 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?
Medium148When generating a Kubernetes Pod YAML from a Podman container using 'podman generate kubernetes', how are published ports mapped into the resulting Kubernetes manifest?
Hard149Which THREE advanced features or driver options can be utilized when creating Podman named volumes with plugins or specialized drivers? (Choose THREE)
Hard150An administrator needs to pause all processes inside a running container named db_master without stopping it. Which command accomplishes this?
Easy151You want to create a Podman network with a specific subnet and gateway. Which command correctly specifies these parameters?
Medium152A 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?
Easy153An operator runs a Podman container and needs to inspect its assigned IP address directly from the container's runtime inspection output. Which command filters the JSON output to show only the IP address?
Medium154Which TWO Containerfile instructions are used to bring files or data from outside the container into the build context or image? (Choose two.)
Easy155After 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?
Medium156An administrator needs to check the disk space consumption of all containers, images, and volumes managed by Podman. Which command should be run?
Easy157You are designing a container image that runs an executable web server. You want to provide default arguments to the executable that can be easily overridden by a user passing arguments directly to 'podman run'. Which instruction combination is best?
Hard158You need to inspect the network traffic of a container by capturing packets on its virtual interface. Where can you find the host-side veth interface name associated with a running container?
Medium159An administrator needs to list all created Podman secrets on the system. Which command should they execute?
Hard160Which Containerfile instruction sets the working directory for any subsequent RUN, CMD, ENTRYPOINT, COPY, and ADD instructions?
Easy161You want to remove a custom Podman network named 'testnet', but it currently has active containers attached to it. What happens?
Medium162An administrator needs to pass a single environment variable directly on the command line when starting a container. Which flag accomplishes this?
Medium163Which THREE of the following are valid options or flags when working with Podman secrets? (Choose THREE)
Medium164Which TWO files or backend network management utilities are heavily relied upon by Podman for container networking stack configuration on modern Linux distributions? (Choose two.)
Hard165An administrator wants to temporarily pause a running container's processes and later resume them. Which TWO commands should be used? (Choose TWO)
Medium166Which user instruction changes the user name or UID and group name or GID to use when running subsequent instructions in the Containerfile?
Easy167An administrator needs to create a persistent storage volume that Podman can manage independently of any specific container lifecycle. Which command accomplishes this?
Easy168An administrator wants to rename an existing stopped container from old_name to new_name. Which command should be used?
Medium169An administrator wants to export the filesystem of a container named golden_image into a tar archive file named container_fs.tar. Which command should be used?
Medium170An administrator needs to inspect running containers and their resource consumption. Which TWO commands provide information about running container state or resource usage? (Choose TWO)
Easy171A 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?
Easy172An administrator needs to remove all stopped containers from the system to free up disk space in a single command. Which command should be used?
Easy173You are troubleshooting a build where a RUN instruction fails because it cannot reach a remote URL to download a file. The local network uses an HTTP proxy. How should you pass the proxy settings to the build command without hardcoding them into the image?
Medium174Which THREE commands are valid Podman subcommands for managing container networks? (Choose three)
Easy175You need to configure container DNS servers explicitly when running a container, overriding the host's /etc/resolv.conf settings. Which Podman flag do you use?
Medium176An administrator needs to inspect low-level configuration, network settings, and state details of a running container named redis_cache in JSON format. Which command provides this?
Medium177An operator wants to create a custom user-defined bridge network named 'app-net' with a specific subnet of '192.168.100.0/24' using Podman. Which command is correct?
Medium178By default, podman build executes build instructions using the root user. You want to switch the execution context to a non-privileged user named 'appuser' for all subsequent RUN, CMD, and ENTRYPOINT instructions. Which instruction should you use?
Medium179How do you list all available Podman networks on your system?
Easy180A container named 'app_prod' is currently running, and an operator needs to troubleshoot its current configuration, network settings, and mounted volumes in detail. Which THREE commands or approaches can retrieve this information? (Choose THREE)
Hard181When configuring an environment file for use with '--env-file', how are comment lines designated?
Hard182Which THREE features or characteristics distinguish the ADD instruction from the COPY instruction in a Containerfile? (Choose three.)
Medium183A 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?
Easy184A security administrator is implementing image signature verification on RHEL 9. Where is the default system-wide signature policy file located?
Hard185You need to configure a container port mapping in Podman Compose so that host port 80 forwards to container port 8080. Which YAML syntax is correct under the service definition?
Hard186A container named app_server is running and consuming excessive CPU. An administrator needs to gracefully stop this container with a 30-second timeout before forcing termination. Which command accomplishes this?
Medium187An administrator needs to restart a running container named app_v1 so that configuration changes take effect. Which command performs a container restart?
Medium188Which TWO conditions are typically required for rootless container users to successfully map UIDs and GIDs from host accounts to container accounts? (Choose two.)
Medium189Which TWO commands help clean up unused or dangling Podman storage resources? (Choose TWO)
Easy190You are deploying a container and want to bind its published port exclusively to the loopback interface (127.0.0.1) on the host to prevent external network access. Which syntax is correct?
Medium191An administrator wants to bind mount a host file directly into a container as a configuration file. Is this supported in Podman?
Medium192You 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?
Easy193An administrator is troubleshooting container exit codes. A container exited with code 137. What does this specific exit code typically signify in container engines?
Hard194A Podman secret named 'db_password' has been created. How is this secret made accessible inside a running container?
Medium195An administrator is troubleshooting container exit codes and low-level state details. Which TWO of the following inspect format expressions correctly extract container state attributes? (Choose TWO)
Hard196An administrator wants to run a one-off command (/bin/sh) interactively inside an existing running container named legacy_app. Which command should be used?
Medium197You need to completely remove a custom user-defined bridge network named 'test-net' that has no active containers attached to it. Which command performs this action?
Hard198An administrator needs to commit the changes made to a running container named test_lab into a new image named my_custom_img:latest. Which command should be used?
Easy199Which command removes all unused Podman networks that are not currently connected to any containers?
Easy200When configuring container networking in Podman, which TWO built-in network modes are available by default without creating custom networks? (Choose two)
Easy201An administrator has created a systemd service file named container-web.service using podman generate systemd. Where should this file be placed for a rootless user to manage it as a user-level service?
Medium202A container image needs to automatically extract a local tar archive file named 'app.tar.gz' into the destination directory '/opt/app' during the build process. Which instruction should be used?
Medium203Which TWO statements are true regarding the EXPOSE instruction in a Containerfile? (Choose two.)
Easy204An 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'?
Medium205An administrator needs to clean up stopped containers and unused data to reclaim disk space. Which TWO commands can be used to remove containers? (Choose TWO)
Easy206A developer needs to pull an image from a private registry that requires credentials without running an interactive shell session. Where are the authentication credentials stored after a successful 'podman login' command?
Easy207How does Podman's rootless build architecture handle volume mounts or privileged operations specified within a RUN instruction in a Containerfile?
Hard208An 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?
Medium209When generating Kubernetes YAML using 'podman generate kubernetes', which TWO object types can be targeted or generated by the command? (Choose two.)
Hard210You need to label your container image with maintainer details and version metadata according to OCI annotation standards. Which instruction should you use?
Medium211Which THREE statements are true concerning how Podman builds container images and utilizes the build context? (Choose three.)
Medium212Which flag can be passed to 'podman run' to automatically remove the container and its anonymous volumes upon exit?
Easy213You are troubleshooting a container that should have no network access whatsoever for security isolation. Which networking option should you apply?
Easy214Which TWO instructions in a Containerfile can be used to set metadata or default execution parameters that influence how a container runs? (Choose two.)
Easy215An administrator needs to attach to the terminal of a currently running container named backend_app to view its active console output interactively. Which command should be used?
Easy216Which TWO types of storage mechanisms are natively supported by Podman for container data persistence? (Choose two.)
Easy217Which THREE inspection or cleanup actions can be performed on Podman secrets? (Choose THREE)
Hard218Which TWO SELinux relabeling suffixes can be appended to a Podman volume or bind mount? (Choose TWO)
Medium219When writing a Containerfile, which instruction specifies the base image to be used for the subsequent build steps?
Easy220An administrator needs to configure a local container registry mirror that redirects all requests for 'registry.redhat.io' to an internal caching proxy 'mirror.corp.local'. Which section of /etc/containers/registries.conf must be modified?
Hard221An administrator is configuring a systemd service using podman generate systemd and wants the generated service to stop and remove the container automatically when the service stops, and create a fresh container when it starts. Which flag should be added?
Hard222A developer wants to build a container image using podman build, but the Containerfile is named 'Customfile' and located in a subdirectory named 'dockerfiles'. Which command accomplishes this?
Easy223You are optimizing image build times and notice that a specific RUN instruction fetching dependencies is re-running on every build, even though the requirements.txt file has not changed. What is causing this behavior?
Hard224An administrator wants to view a list of all running containers in a clean, tabular format without stopping containers or showing extra metadata. Which command should be used?
Easy225Which TWO commands or flags are valid for managing Podman named volumes? (Choose TWO)
Easy226An administrator needs to execute a package update and install dependencies during the podman build process, ensuring these commands are committed as a new layer in the final image. Which instruction accomplishes this?
Medium227You want to build an image that has a build-time argument named 'VERSION'. How do you declare this variable inside the Containerfile so it can be used during the build steps?
Medium228You have created a Podman pod and want to launch two containers inside this pod so they share the same network namespace. How do you specify this during container creation?
Hard229When writing a Containerfile, what is the difference between shell form and exec form for the CMD instruction?
Medium230An administrator is managing rootless containers and wants to enable systemd linger for their user account so that user-level container services continue running after the user logs out. Which command should be run?
Hard231Which TWO scenarios correctly describe when an administrator should use the ':z' SELinux mount option instead of ':Z'? (Choose two.)
Medium232An administrator needs to manage multiple containers simultaneously using Podman. Which THREE actions can be performed directly using Podman commands? (Choose THREE)
Easy233An administrator needs to copy files between the host system and a running container. Which TWO syntax forms or commands are correct when using podman cp? (Choose TWO)
Medium234An administrator wants to forcefully kill a running container named runaway_job immediately by sending the SIGKILL signal. Which command should be used?
Medium235A developer needs to optimize image size by removing build caches and temporary package manager cache files within the same RUN instruction. Why must this be done in a single RUN instruction?
Medium236Which TWO actions can be performed using the 'podman network' subcommand? (Choose two.)
Easy237An administrator needs to inspect container health check logs to determine why recent health checks failed for a container named app_prod. Which command displays the container's health check log history?
Medium238A user needs to log out from a private container registry to remove stored credentials from their local machine. Which command accomplishes this?
Easy239A container named 'metrics' has been running for several hours, and an engineer needs to inspect its current resource consumption (CPU, memory, and network I/O usage). Which Podman command provides a live-updating stream of resource usage statistics for running containers?
Medium240Which THREE subcommands are valid under 'podman-compose' (or 'podman compose') for managing container lifecycles and application stacks? (Choose three.)
Medium241You need to troubleshoot name resolution between containers on a custom network. Which backend service does Podman utilize by default for container DNS resolution in modern rootless setups?
Hard242When interacting with container registries using Podman, which THREE commands or tasks are valid operations supported natively by the Podman CLI? (Choose three.)
Easy243Which THREE storage-related items can be inspected using 'podman system df'? (Choose THREE)
Easy244Which THREE statements are correct regarding the behavior and usage of the WORKDIR instruction? (Choose three.)
Medium245Which THREE practices are recommended when optimizing cache utilization during image builds with podman build?
Hard246An administrator needs to set up a local directory to act as an OCI-compliant layout image store, and then push an image into it using Podman. Which transport prefix is used for local OCI layout directories?
Hard247A 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?
Easy248An administrator needs to create a Podman secret from a file on disk named 'secret.txt'. Which command correctly performs this action?
Medium249An 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?
Hard250An 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?
Easy251A developer wants to search for all available container images matching the term 'rhel9' across configured registries using Podman. Which command should they run?
Medium252Which TWO conditions are required for a non-root (rootless) user to successfully bind mount a host directory into a container? (Choose TWO)
Medium253An 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?
Easy254An administrator needs to stop and remove a running container in a single workflow. Which TWO of the following approaches accomplish this? (Choose TWO)
Easy255In a Podman Compose file, how do you define a custom network and connect a service to it?
Medium256You need to ensure that a file copied into your image via the COPY instruction is owned by a specific user 'developer' and group 'devgroup'. How can this be achieved efficiently?
Medium257A 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'?
Medium258How can an administrator remove all unused, dangling Podman volumes that are not currently attached to any container?
Easy259An administrator needs to configure a custom search domain for short-name image pulls across all users on a RHEL 9 system. Which configuration file must be edited?
Hard260Which TWO actions are required when configuring a secure container workflow to push a signed image to a registry using Podman? (Choose two.)
Medium261Which TWO commands are used to manage Podman secrets? (Choose TWO)
Easy262When publishing container ports using the Podman CLI, which THREE methods or syntaxes are valid for the -p / --publish flag? (Choose three)
Medium263An administrator wants to prevent users from pulling images from any registry except 'registry.access.redhat.com'. Where should this restriction be configured?
Medium264When creating multi-architecture container images using podman build, how can you ensure that architecture-specific binaries are correctly handled when using instructions like COPY?
Hard265Which TWO commands are used to transfer container images via archive files without interacting with a network registry? (Choose two.)
Easy266A 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?
Medium267A user needs to remove a local container image that is no longer needed. Which command should be used?
Easy268An 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?
Hard269Which THREE methods or directives can be used to pass environment variables into containers via Podman Compose? (Choose three.)
Medium270A developer has written a Containerfile with multiple COPY instructions for static configuration files that change frequently, placed near the top of the Containerfile before the application code installation. Why is this considered a bad practice for build caching?
Medium271Which flag is used with 'podman run' to create an ephemeral, writable container layer scratchpad that is automatically destroyed when the container stops?
Easy272An 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?
Hard273You have a Kubernetes YAML manifest file named 'app.yaml' that defines a Pod with network settings. You want to deploy this directly as a Podman container/pod on your local system. Which command should you use?
Hard274Which TWO parameters or directives can be configured inside '/etc/containers/registries.conf' to control how Podman interacts with container registries? (Choose two.)
Medium275Which THREE configuration keys are valid within a service definition block in a Podman Compose file for managing container networking and ports? (Choose three.)
Medium276Which Podman network mode completely isolates a container from any network communication, removing all interfaces except the loopback?
Easy277An administrator needs to copy a directory named /app/logs from a running container named prod_app to the local host directory /var/backups/. Which command accomplishes this?
Medium278A 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?
Medium279Which TWO statements are true regarding user-defined bridge networks in Podman? (Choose two)
Medium280You need to copy local application source code from your build context into the /app directory inside the container image, automatically unpacking it if it is a local tar archive. Which instruction should you select?
Hard281An administrator needs to list all containers, including both running and stopped ones, on the system. Which command should be used?
Easy282A container named db_cache has stopped unexpectedly. An administrator wants to see the standard output logs generated by this container prior to its exit. Which command should be used?
Easy283An administrator is integrating Podman containers with systemd using generated unit files. Which TWO statements are correct regarding podman generate systemd and its usage? (Choose TWO)
Hard284Which TWO methods can a user employ to verify that an image has been successfully downloaded to their local machine? (Choose two.)
Easy285A user wants to remove all unused container images that are not currently associated with an existing container from local storage. Which command should they execute?
Easy286Which TWO options are valid flags for the 'podman build' command to specify build arguments and tags? (Choose two.)
Easy287An auditor reviewing your Containerfile notices an EXPOSE instruction for port 80. What is the primary function of the EXPOSE instruction?
Medium288When deploying containers using Podman Compose, what is the default network driver assigned to user-defined networks created by compose if no driver is specified?
Hard289Which TWO commands display information about container images present in local Podman storage? (Choose two.)
Easy290A user wants to inspect the metadata and layers of an image stored locally without running it. Which Podman command should be used?
Easy291An administrator wants to find out which host port is mapped to port 80/tcp inside a running container named proxy_svr, using format templating with podman inspect. Which command accomplishes this?
Hard292An administrator is troubleshooting a container that fails its health check repeatedly. The container definition needs a health check that runs curl -f http://localhost/ || exit 1 every 30s, with a 5s timeout and 3 retries, starting after a 10s grace period. Which flag combination implements this correctly in podman run?
Hard293A developer wants to pass a secret API key during the container build process without leaving the secret exposed in image layers or history. Which Podman feature should be used?
Hard294An administrator wants to generate a systemd unit file for an existing container named web_frontend so it can be managed by systemd. Which command should be run?
Easy295An administrator needs to view logs or attach to a running container to troubleshoot an issue. Which TWO commands can be used to interact with container output streams? (Choose TWO)
Easy296You need to configure a container so that its port 8080 maps to port 80 on the host's loopback interface only (127.0.0.1). Which syntax is correct?
MediumOther domains
All EX188 exam domains
Frequently asked questions
- What does the troubleshooting domain cover on the EX188 exam?
- troubleshooting questions test whether you can apply the concept in context, not just recognise a definition.
- How many questions are in this domain?
- This page lists all 296 troubleshooting 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 troubleshooting questions?
- Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.