Courseiva

EX188 · topic practice

Networking And Compose practice questions

This domain covers Podman container networking and Compose-based multi-container deployment on Red Hat Enterprise Linux. You must configure bridge and custom networks, attach containers and pods to shared network namespaces, inspect and remove networks, and translate Compose files into running Podman workloads using podman-compose or podman kube play.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Networking And Compose

What the exam tests

What to know about Networking And Compose

Be able to create a custom Podman network, run containers or pods attached to it, verify connectivity and DNS resolution, remove unused networks, and bring up a Compose file. The key is matching each container's network attachment to the intended shared namespace.

Creating and inspecting Podman bridge networks with podman network create, ls, inspect, and rm

Sharing a network namespace by placing containers in the same Podman pod

Using CNI or Netavark with aardvark-dns as the backend networking stack

Deploying multi-container applications from Compose files with podman-compose

Watch out for

Common Networking And Compose exam traps

  • ▸Assuming containers in the same pod need explicit port mappings to reach each other; they share localhost inside the pod network namespace.
  • ▸Forgetting that podman network rm fails while containers or pods are still attached to the custom network.
  • ▸Mixing up pod-level and container-level port publishing, causing duplicate or unreachable published ports.

Practice set

Networking And Compose questions

20 questions · select your answer, then reveal the explanation

How do you stop and remove containers, networks, and volumes created by a Podman Compose file?

You are using Podman Compose and need to generate Kubernetes YAML manifests from your compose file. Which command achieves this?

When inspecting the networking of a container using 'podman inspect', where is the IP address of the container located in the output JSON structure?

You 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?

Which TWO commands or flags can be used to publish a container port to the host in Podman? (Choose two.)

Which THREE networking modes are natively supported out-of-the-box by Podman container execution? (Choose three.)

When 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.)

Which TWO options are valid when specifying protocol restrictions on a port mapping in Podman (e.g., -p)? (Choose two.)

Which TWO states or details does 'podman network inspect' provide about a network? (Choose two.)

When generating Kubernetes YAML using 'podman generate kubernetes', which TWO object types can be targeted or generated by the command? (Choose two.)

Which THREE subcommands are valid under 'podman-compose' (or 'podman compose') for managing container lifecycles and application stacks? (Choose three.)

Which THREE methods or directives can be used to pass environment variables into containers via Podman Compose? (Choose three.)

Which TWO networking configurations are mandatory or automatically handled when creating a user-defined bridge network in Podman? (Choose two.)

A developer writes a Podman Compose file and needs to generate corresponding Kubernetes YAML manifests to prepare for an OpenShift deployment. Which Podman Compose command performs this generation?

Which THREE actions occur when a container is executed with the --network none flag? (Choose three)

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?

You 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?

Question 18easymultiple choice
Read the full NAT/PAT explanation →

A 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?

Which Podman network mode completely isolates a container from any network communication, removing all interfaces except the loopback?

Question 20hardmultiple choice
Review the full subnetting walkthrough →

You need to inspect the configuration details, including subnet, gateway, and driver, of a custom Podman network named 'appnet'. Which command should you run?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Networking And Compose sessions

Start a Networking And Compose only practice session

Every question in these sessions is drawn from the Networking And Compose domain — nothing else.

Related practice questions

Related EX188 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the EX188 exam test about Networking And Compose?
Be able to create a custom Podman network, run containers or pods attached to it, verify connectivity and DNS resolution, remove unused networks, and bring up a Compose file. The key is matching each container's network attachment to the intended shared namespace.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Networking And Compose questions in a focused session?
Yes — the session launcher on this page draws every question from the Networking And Compose domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other EX188 topics?
Use the topic links above to move to related areas, or go back to the EX188 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the EX188 exam covers. They are not copied from any real exam or dump site.