Be able to start, pause, resume, attach to, inspect, and monitor named Podman containers from the command line. The single most important thing is choosing the exact subcommand that matches the requested action without stopping or altering the container's state.
Start practicing
Container Operations And Lifecycle — choose a session length
Free · No account required
Domain overview
This domain covers managing containers with Podman across their full lifecycle: starting, stopping, pausing, inspecting, attaching, and monitoring. EX188 tests these skills through hands-on tasks on a live system, where you must run the correct podman subcommand and interpret its output. Expect practical scenarios involving named containers and real resource or console inspection, not multiple-choice recall.
Exam objectives
Using podman pause and unpause to freeze and resume all processes in a running container.
Running podman stats for a live-updating stream of CPU, memory, and network I/O.
Attaching to a running container's console interactively with podman attach.
Listing running containers in a clean table using podman ps.
Confusing podman pause with podman stop: pause freezes processes without terminating the container, while stop ends it.
Using podman logs instead of podman attach when the task requires interactive console access to a running container.
Forgetting that podman ps hides stopped containers by default, so adding -a is needed to see them.
Click any question to see the full explanation and answer options, or start a focused practice session above.
An 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?
2An administrator needs to start a container named webapp from the image docker.io/library/httpd in the background. Which podman command should be used?
3A 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?
4An 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?
5A 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?
6An 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?
7An 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?
8An administrator needs to list all containers, including both running and stopped ones, on the system. Which command should be used?
9An 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?
10An administrator wants to immediately stop and remove a running container named temp_test in a single command. Which command should be used?
11An 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?
12An administrator is using Podman Quadlets to manage containers via systemd. Where must the Quadlet .container configuration file be placed for system-wide root containers?
13An administrator needs to restart a running container named app_v1 so that configuration changes take effect. Which command performs a container restart?
14An 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?
15An administrator needs to pause all processes inside a running container named db_master without stopping it. Which command accomplishes this?
16An administrator wants to run a one-off command (/bin/sh) interactively inside an existing running container named legacy_app. Which command should be used?
17An administrator is troubleshooting container exit codes. A container exited with code 137. What does this specific exit code typically signify in container engines?
18A container named db_master was previously paused using podman pause. Which command should the administrator use to resume its execution?
19An 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?
20An 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?
21An 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?
22An administrator wants to rename an existing stopped container from old_name to new_name. Which command should be used?
23An administrator needs to remove all stopped containers from the system to free up disk space in a single command. Which command should be used?
24An 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?
25An 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?
26An 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?
27An 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?
28An 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?
29An 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?
30An 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?
31An 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?
32An administrator needs to check the disk space consumption of all containers, images, and volumes managed by Podman. Which command should be run?
33An 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?
34An 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?
35An 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?
36An 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?
37An 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)
38An 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)
39An administrator wants to temporarily pause a running container's processes and later resume them. Which TWO commands should be used? (Choose TWO)
40An administrator needs to inspect running containers and their resource consumption. Which TWO commands provide information about running container state or resource usage? (Choose TWO)
41An 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)
42An 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)
43An 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)
44An 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)
45An 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)
46An 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)
47An administrator wants to modify container settings or state. Which TWO of the following commands are valid Podman subcommands for container management? (Choose TWO)
48An 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)
49An administrator wants to check container port mappings and process listings inside containers. Which TWO commands provide these insights? (Choose TWO)
50An administrator needs to export container contents or create new images from containers. Which TWO commands accomplish these actions? (Choose TWO)
51An 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?
52A 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?
53A 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?
54An 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?
55A 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?
56An 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?
57An 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)
58An administrator needs to manage multiple containers simultaneously using Podman. Which THREE actions can be performed directly using Podman commands? (Choose THREE)
59An administrator needs to inspect the low-level configuration of a running container named net_tool, including its network settings, mounted volumes, and environment variables, in a JSON format for automation. Which command should the administrator use?
60An administrator has a running container named web_front that was started with podman run -d --name web_front nginx. The administrator needs to execute the command 'nginx -T' inside this already-running container to dump the full configuration. Which command accomplishes this?
61An administrator wants to create a new container named app_test from the image registry.example.com/apps/web:v2, but the container should not start immediately so that environment variables can be adjusted first. Which command creates the container without starting it?
62An administrator has a container named legacy_api that has been stopped for several weeks. A teammate reports that the container's filesystem still contains an outdated configuration file at /etc/app/config.yml. The administrator wants to replace that file inside the stopped container's filesystem without starting it. Which command should the administrator use?
63An administrator is troubleshooting a rootless Podman container named payment_svc that fails to start with a permission-related error. The administrator wants to inspect the container's low-level configuration, including its mount points, namespace settings, and the exact command that was configured, without starting the container. Which command provides this information?
64An administrator needs to clean up a host running rootless Podman. Several containers have exited and are consuming disk space, and the administrator wants to remove only the stopped containers while preserving running containers and all images. Which TWO commands accomplish this? (Choose two.)
Be able to start, pause, resume, attach to, inspect, and monitor named Podman containers from the command line. The single most important thing is choosing the exact subcommand that matches the requested action without stopping or altering the container's state.
The Courseiva EX188 question bank contains 64 questions in the Container Operations And Lifecycle domain. Click any question to see the full explanation and answer breakdown.
Start with a 10-question focused session to identify your baseline accuracy in this domain. Read every explanation — even for questions you answer correctly — to understand the reasoning. Once you score consistently above 80%, move to a 20–30 question session to confirm depth before moving to the next domain.
Yes — the session launcher on this page draws questions exclusively from the Container Operations And Lifecycle domain. Choose 10, 20, 30, or 50 questions for a focused session, or click individual questions to review them one by one.
Save your results, see per-domain analytics, and get readiness scores — free, for every certification.
Sign Up FreeFree forever · Every certification included