A system administrator is working on a container deployment and requires connectivity from the containers to the external network without allocating a public IP address for each container. Which of the following solutions will BEST facilitate this requirement?
Apply VLAN tagging to the container network interfaces.
Use layer 2 bridging in conjunction with network address translation.
Implement network address translation at the host level.
Configure direct bridge networking for each container.
Applying NAT at the host level will allow containers to share the host's IP address to access the external network. The traffic from the containers will appear to originate from the host's IP, thus not requiring a public IP for each container. Direct bridge networking would not solve the problem of public IP allocation for each container, Layer 2 bridging with NAT is not a standard approach for container networking, and VLAN tagging is typically used to separate LAN segments and is not directly related to the NAT process.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.