Practice EX188 Networking And Compose questions with full explanations on every answer.
Start practicing
Networking And Compose — choose a session length
Free · No account required
Click any question to see the full explanation and answer options, or start a focused practice session above.
An 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?
2You 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?
3A 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?
4Which Podman network mode completely isolates a container from any network communication, removing all interfaces except the loopback?
5You need to inspect the configuration details, including subnet, gateway, and driver, of a custom Podman network named 'appnet'. Which command should you run?
6You want to remove a custom Podman network named 'testnet', but it currently has active containers attached to it. What happens?
7Two 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?
8How do you list all available Podman networks on your system?
9Which command starts services defined in a Podman Compose file in detached mode?
10How do you stop and remove containers, networks, and volumes created by a Podman Compose file?
11You 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?
12In a Podman Compose file, how do you define a custom network and connect a service to it?
13When inspecting the networking of a container using 'podman inspect', where is the IP address of the container located in the output JSON structure?
14You wish to connect an already running container to an existing custom Podman network named 'mynet'. Which command should you use?
15Which flag allows you to publish a container port to a random ephemeral port on the host interface?
16How do you disconnect a running container from a custom network named 'mynet'?
17You 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?
18You want to create a Podman network with a specific subnet and gateway. Which command correctly specifies these parameters?
19Which command removes all unused Podman networks that are not currently connected to any containers?
20You 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?
21When generating a Kubernetes Pod YAML from a Podman container using 'podman generate kubernetes', how are published ports mapped into the resulting Kubernetes manifest?
22You 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?
23You 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?
24How do you check the logs of all services managed by a Podman Compose file?
25Which environment file option can be used in a Podman Compose file to automatically load environment variables for service configuration?
26You 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?
27When deploying containers using Podman Compose, what is the default network driver assigned to user-defined networks created by compose if no driver is specified?
28Which TWO actions can be performed using the 'podman network' subcommand? (Choose two.)
29Which THREE configuration keys are valid within a service definition block in a Podman Compose file for managing container networking and ports? (Choose three.)
30Which TWO files or backend network management utilities are heavily relied upon by Podman for container networking stack configuration on modern Linux distributions? (Choose two.)
31When generating Kubernetes YAML using 'podman generate kubernetes', which TWO object types can be targeted or generated by the command? (Choose two.)
32Which THREE subcommands are valid under 'podman-compose' (or 'podman compose') for managing container lifecycles and application stacks? (Choose three.)
33Which THREE methods or directives can be used to pass environment variables into containers via Podman Compose? (Choose three.)
34An 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?
35You are troubleshooting a container that should have no network access whatsoever for security isolation. Which networking option should you apply?
36A 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?
37An 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?
38Two 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?
39An administrator needs to inspect the configuration details, including subnet and gateway, of an existing custom network named 'my-net'. Which command should be executed?
40You 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?
41An 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?
42You 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?
43When utilizing Podman Compose, how are service dependencies and container startup orders typically managed within the YAML structure?
44Which configuration block in a Podman Compose YAML file is used to define custom isolated networks for the multi-container application?
45An 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?
46You 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?
47When configuring container networking in Podman, which TWO built-in network modes are available by default without creating custom networks? (Choose two)
48Which TWO statements are true regarding user-defined bridge networks in Podman? (Choose two)
49When 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)
50Which THREE commands are valid Podman subcommands for managing container networks? (Choose three)
51When publishing container ports using the Podman CLI, which THREE methods or syntaxes are valid for the -p / --publish flag? (Choose three)
52Which THREE actions occur when a container is executed with the --network none flag? (Choose three)
The Networking And Compose domain covers the key concepts tested in this area of the EX188 exam blueprint published by Red Hat. Courseiva provides free domain-focused practice, mock exams, missed-question review, and readiness tracking across all EX188 domains — no account required.
The Courseiva EX188 question bank contains 52 questions in the Networking And Compose 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 Networking And Compose 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