A software developer configures a virtual machine (VM) on a local workstation to run software integration tests. The VM requires outbound access to the internet to download update packages, but it must not be directly accessible as an independent device on the physical corporate network to prevent exposing the local subnet to test traffic. Which virtual network interface configuration should be applied to meet these requirements?
- Network Address Translation (NAT) modeAnswer
- BBridged mode
- CHost-only mode
- DInternal mode using HTTPS port forwarding
Answer
Network Address Translation (NAT) mode is the correct configuration because it enables the virtual machine to access external internet resources by utilizing the host computer's IP address while remaining unreachable from direct inbound network traffic originating on the physical local area network.
Network Address Translation (NAT) mode provides outbound internet connectivity by translating the virtual machine's private virtual IP address into the host system's IP address. This allows the guest VM to initiate outbound web connections while protecting the physical network from direct incoming connections initiated toward the VM.
Step-by-Step Solution
Key Concept
Virtual Machine Network Interface Modes (NAT vs. Bridged vs. Host-Only)
Estimated Time:1m 15s