EX188 · domain
Networking And Compose
Practise Red Hat Certified Specialist in Containers (EX188, Podman-based) (EX188) Networking And Compose practice questions — original exam-style scenarios with answer choices, explanations, and analysis of common mistakes.
Focused practice
Practice Networking And Compose 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 Networking And Compose
Networking And Compose 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 Networking And Compose 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 Networking And Compose questions (55)
Click any question to see the full explanation, or start a practice session above.
How do you disconnect a running container from a custom network named 'mynet'?
Easy2You need to inspect the configuration details, including subnet, gateway, and driver, of a custom Podman network named 'appnet'. Which command should you run?
Hard3Which TWO commands or flags can be used to publish a container port to the host in Podman? (Choose two.)
Easy4An 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?
Hard5A 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?
Easy6When inspecting the networking of a container using 'podman inspect', where is the IP address of the container located in the output JSON structure?
Hard7Which environment file option can be used in a Podman Compose file to automatically load environment variables for service configuration?
Easy8Which flag allows you to publish a container port to a random ephemeral port on the host interface?
Easy9You wish to connect an already running container to an existing custom Podman network named 'mynet'. Which command should you use?
Medium10When 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)
Hard11You 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?
Medium12A 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?
Easy13An 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?
Hard14Which command starts services defined in a Podman Compose file in detached mode?
Easy15An 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?
Easy16Which configuration block in a Podman Compose YAML file is used to define custom isolated networks for the multi-container application?
Easy17Which THREE actions occur when a container is executed with the --network none flag? (Choose three)
Hard18Two 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?
Medium19Two 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?
Medium20When utilizing Podman Compose, how are service dependencies and container startup orders typically managed within the YAML structure?
Hard21How do you stop and remove containers, networks, and volumes created by a Podman Compose file?
Easy22An administrator needs to inspect the configuration details, including subnet and gateway, of an existing custom network named 'my-net'. Which command should be executed?
Medium23How do you check the logs of all services managed by a Podman Compose file?
Easy24When generating a Kubernetes Pod YAML from a Podman container using 'podman generate kubernetes', how are published ports mapped into the resulting Kubernetes manifest?
Hard25You want to create a Podman network with a specific subnet and gateway. Which command correctly specifies these parameters?
Medium26An 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?
Medium27You 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?
Medium28You want to remove a custom Podman network named 'testnet', but it currently has active containers attached to it. What happens?
Medium29Which TWO files or backend network management utilities are heavily relied upon by Podman for container networking stack configuration on modern Linux distributions? (Choose two.)
Hard30Which TWO networking configurations are mandatory or automatically handled when creating a user-defined bridge network in Podman? (Choose two.)
Hard31When configuring a custom CNI network in Podman using 'podman network create', which TWO parameters can be explicitly defined via command-line flags during creation? (Choose two.)
Hard32Which THREE commands are valid Podman subcommands for managing container networks? (Choose three)
Easy33You 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?
Medium34An 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?
Medium35How do you list all available Podman networks on your system?
Easy36You 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?
Hard37You 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?
Medium38You 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?
Hard39Which command removes all unused Podman networks that are not currently connected to any containers?
Easy40When configuring container networking in Podman, which TWO built-in network modes are available by default without creating custom networks? (Choose two)
Easy41When generating Kubernetes YAML using 'podman generate kubernetes', which TWO object types can be targeted or generated by the command? (Choose two.)
Hard42You are troubleshooting a container that should have no network access whatsoever for security isolation. Which networking option should you apply?
Easy43You 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?
Hard44Which TWO actions can be performed using the 'podman network' subcommand? (Choose two.)
Easy45Which THREE subcommands are valid under 'podman-compose' (or 'podman compose') for managing container lifecycles and application stacks? (Choose three.)
Medium46You 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?
Hard47In a Podman Compose file, how do you define a custom network and connect a service to it?
Medium48When publishing container ports using the Podman CLI, which THREE methods or syntaxes are valid for the -p / --publish flag? (Choose three)
Medium49Which THREE methods or directives can be used to pass environment variables into containers via Podman Compose? (Choose three.)
Medium50You 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?
Hard51Which THREE configuration keys are valid within a service definition block in a Podman Compose file for managing container networking and ports? (Choose three.)
Medium52Which Podman network mode completely isolates a container from any network communication, removing all interfaces except the loopback?
Easy53Which TWO statements are true regarding user-defined bridge networks in Podman? (Choose two)
Medium54When deploying containers using Podman Compose, what is the default network driver assigned to user-defined networks created by compose if no driver is specified?
Hard55You 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 Networking And Compose domain cover on the EX188 exam?
- Networking And Compose 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 55 Networking And Compose 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 Networking And Compose questions?
- Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.