EX200 Manage containers Practice Question
Exhibit
Refer to the exhibit.
```json
{
"NetworkSettings": {
"IPAddress": "10.88.0.2",
"Gateway": "10.88.0.1",
"Ports": {
"3306/tcp": [
{
"HostPort": "3306",
"HostIp": "0.0.0.0"
}
]
}
}
}
```Refer to the exhibit. A container named 'db' is running on the host. An administrator runs `podman inspect db` and sees the above output snippet. What can be concluded about the container's network configuration?
⚠ Common exam trap
Red Hat often tests the distinction between host networking mode and bridge networking with port mapping, where candidates mistakenly think that any port binding to 0.0.0.0 implies host networking, but it actually indicates bridge mode with a published port.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The container's port 3306 is bound to all host interfaces.
The output snippet from `podman inspect db` shows `"Ports": {"3306/tcp": [{"HostIp": "0.0.0.0", "HostPort": "3306"}]}`. This indicates that the container's port 3306 is mapped to port 3306 on all host interfaces (0.0.0.0), which is the default bridge networking port binding behavior. Therefore, option C is correct.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The container is using host networking mode.
Why it's wrong here
In host networking mode Docker would not assign a separate 10.88.0.2 IP address; the container instead shares the host's network stack and shows the host's own IP in `docker inspect`. The presence of a distinct bridge-network IP proves the container is not using host mode, because host mode bypasses the Docker bridge entirely and would have no per-container IP entry.
- ✗
The container cannot be reached from other containers.
Why it's wrong here
Other containers attached to the same default bridge network can reach this container at 10.88.0.2, since all bridge-connected containers are placed on a common, isolated Ethernet network. Even without a `PortBindings` entry, inter-container traffic over the bridge is free to use the container's IP address and port 3306. The 0.0.0.0 host binding only affects traffic arriving from outside the bridge, not communication between containers.
- ✓
The container's port 3306 is bound to all host interfaces.
Why this is correct
The `PortBindings` map reveals that TCP port 3306 inside the container is published with `HostIp: 0.0.0.0` and `HostPort: 3306`, which tells Docker to bind the port on every IPv4 interface of the host machine. Consequently, any request sent to the host's IP address on port 3306 — whether on a local loopback, private LAN card, or public NIC — is forwarded through the bridge to the container. This is the opposite of binding to a single specific host interface, such as 127.0.0.1, and it is the standard way to expose a service to all external networks.
- ✗
The container is using bridge networking with a static IP.
Why it's wrong here
A static IP assignment would require a user-defined network with an explicit `--ip` option or the container's `ipam` configuration; the plain 10.88.0.2 shown here is a typical dynamically assigned address from the default bridge's auto-allocation pool. The default bridge network does not support static IPs unless the container is connected to a custom network, and the JSON shows no `NetworkMode` or `IPAM` fields indicating a manual configuration. Thus, the IP is necessarily dynamic.
Go deeper
Related to this question
About these practice questions
Courseiva writes every EX200 question from scratch — 127 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This EX200 practice question is part of Courseiva's free Red Hat certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the EX200 exam.