Courseiva

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.

55 questions18 easy19 medium18 hard

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.

1

How do you disconnect a running container from a custom network named 'mynet'?

Easy
2

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

Hard
3

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

Easy
4

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

Hard
5

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?

Easy
6

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

Hard
7

Which environment file option can be used in a Podman Compose file to automatically load environment variables for service configuration?

Easy
8

Which flag allows you to publish a container port to a random ephemeral port on the host interface?

Easy
9

You wish to connect an already running container to an existing custom Podman network named 'mynet'. Which command should you use?

Medium
10

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

Hard
11

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?

Medium
12

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

Easy
13

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?

Hard
14

Which command starts services defined in a Podman Compose file in detached mode?

Easy
15

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

Easy
16

Which configuration block in a Podman Compose YAML file is used to define custom isolated networks for the multi-container application?

Easy
17

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

Hard
18

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

Medium
19

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

Medium
20

When utilizing Podman Compose, how are service dependencies and container startup orders typically managed within the YAML structure?

Hard
21

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

Easy
22

An administrator needs to inspect the configuration details, including subnet and gateway, of an existing custom network named 'my-net'. Which command should be executed?

Medium
23

How do you check the logs of all services managed by a Podman Compose file?

Easy
24

When generating a Kubernetes Pod YAML from a Podman container using 'podman generate kubernetes', how are published ports mapped into the resulting Kubernetes manifest?

Hard
25

You want to create a Podman network with a specific subnet and gateway. Which command correctly specifies these parameters?

Medium
26

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

Medium
27

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

Medium
28

You want to remove a custom Podman network named 'testnet', but it currently has active containers attached to it. What happens?

Medium
29

Which TWO files or backend network management utilities are heavily relied upon by Podman for container networking stack configuration on modern Linux distributions? (Choose two.)

Hard
30

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

Hard
31

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

Hard
32

Which THREE commands are valid Podman subcommands for managing container networks? (Choose three)

Easy
33

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

Medium
34

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

Medium
35

How do you list all available Podman networks on your system?

Easy
36

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

Hard
37

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

Medium
38

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

Hard
39

Which command removes all unused Podman networks that are not currently connected to any containers?

Easy
40

When configuring container networking in Podman, which TWO built-in network modes are available by default without creating custom networks? (Choose two)

Easy
41

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

Hard
42

You are troubleshooting a container that should have no network access whatsoever for security isolation. Which networking option should you apply?

Easy
43

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

Hard
44

Which TWO actions can be performed using the 'podman network' subcommand? (Choose two.)

Easy
45

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

Medium
46

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

Hard
47

In a Podman Compose file, how do you define a custom network and connect a service to it?

Medium
48

When publishing container ports using the Podman CLI, which THREE methods or syntaxes are valid for the -p / --publish flag? (Choose three)

Medium
49

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

Medium
50

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

Hard
51

Which THREE configuration keys are valid within a service definition block in a Podman Compose file for managing container networking and ports? (Choose three.)

Medium
52

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

Easy
53

Which TWO statements are true regarding user-defined bridge networks in Podman? (Choose two)

Medium
54

When deploying containers using Podman Compose, what is the default network driver assigned to user-defined networks created by compose if no driver is specified?

Hard
55

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?

Medium

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.
redhat-ex188 REDHAT-EX188 networking and compose Practice Questions