nerdexam
CompTIA

XK0-004 · Question #361

A Linux administrator needs to run a few virtual machines and containers on the physical machines with a single network interface. Which of the following networking would allow the administrator to co

The correct answer is A. Bridging. Network bridging connects virtual machines and containers to a physical NIC so they appear as independent hosts on the external network, enabling outside connectivity.

Server Side & Network Concepts

Question

A Linux administrator needs to run a few virtual machines and containers on the physical machines with a single network interface. Which of the following networking would allow the administrator to connect with the outside world?

Options

  • ABridging
  • BVLAN
  • CBonding/teaming
  • DVPN

How the community answered

(42 responses)
  • A
    95% (40)
  • B
    2% (1)
  • D
    2% (1)

Why each option

Network bridging connects virtual machines and containers to a physical NIC so they appear as independent hosts on the external network, enabling outside connectivity.

ABridgingCorrect

A network bridge creates a Layer 2 virtual switch that transparently forwards frames between the physical interface and virtual interfaces assigned to VMs or containers, giving each guest its own presence on the external network segment. This allows all VMs and containers to send and receive traffic to and from the outside world through a single physical NIC without requiring NAT or additional hardware.

BVLAN

VLANs logically segment network traffic using 802.1Q tagging but do not by themselves provide external IP connectivity for guests - a bridge or router is still needed to forward traffic outbound.

CBonding/teaming

Bonding and teaming aggregate multiple physical NICs into one logical interface for redundancy or increased throughput, but the scenario specifies a single NIC, making this inapplicable.

DVPN

A VPN creates an encrypted tunnel to a remote network endpoint and is designed for secure remote access, not for providing general external network connectivity to locally hosted VMs and containers.

Concept tested: Network bridging for VM and container external connectivity

Source: https://www.kernel.org/doc/html/latest/networking/bridge.html

Topics

#network bridging#virtual machines#containers#single NIC networking

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice