AZ-800 · Question #44
You have a server named Server1 that hosts Windows containers. You plan to deploy an application that will have multiple containers. Each container will be on the same subnet. Each container…
The correct answer is B. transparent. A 'transparent' Docker network on Windows assigns each container its own unique MAC address and IP address directly from the underlying physical or virtual network - exactly what the scenario requires. Containers can then communicate with each other using their individual IP…
Question
You have a server named Server1 that hosts Windows containers. You plan to deploy an application that will have multiple containers. Each container will be on the same subnet. Each container requires a separate MAC address and IP address. Each container must be able to communicate by using its IP address. You need to create a Docker network that supports the deployment of the application. Which type of network should you create?
Options
- ANAT
- Btransparent
- CI2bridge
- DI2tunnel
How the community answered
(53 responses)- A4% (2)
- B72% (38)
- C15% (8)
- D9% (5)
Explanation
A 'transparent' Docker network on Windows assigns each container its own unique MAC address and IP address directly from the underlying physical or virtual network - exactly what the scenario requires. Containers can then communicate with each other using their individual IP addresses. A NAT network hides containers behind the host's IP, so they don't get routable IP addresses. An l2bridge network gives containers unique IPs but they all share the host's MAC address. An l2tunnel is designed for Azure/cloud-specific overlay networking scenarios, not standard on-premises container deployments.
Topics
Community Discussion
No community discussion yet for this question.