CompTIA A+ Core 1 (220-1201)Virtualization and Cloud ComputingEasy
A network administrator is setting up a new virtualization host and needs to ensure that the virtual machines can communicate with each other and with the external network. The administrator configures a virtual switch on the hypervisor. What is the primary function of this virtual switch?
- ATo manage storage access for virtual disks
- BTo allocate CPU resources to VMs
- CTo enable network connectivity and traffic routing for VMs
- DTo provide power management for virtual machines
Show answer & explanationAnswer & explanation
Correct answer: C. To enable network connectivity and traffic routing for VMs
A virtual switch, like its physical counterpart, is designed to manage network traffic. Its primary function in a virtualized environment is to enable communication between virtual machines on the same host, and often between VMs and the external physical network, by forwarding network packets.
Why the other options are wrong
- A. Storage access is managed by the hypervisor's storage virtualization layer, not the virtual switch.
- B. CPU allocation is managed by the hypervisor scheduler, not the virtual switch.
- D. Power management for VMs is handled by the hypervisor and host operating system.
Virtual Switch
A software-based network switch that operates within a hypervisor to enable communication between virtual machines on the same host and connect them to physical networks.
- Functions like a physical network switch.
- Connects VMs to each other.
- Connects VMs to the external physical network.
Memory trick: The 'V-Switch' connects 'V-Machines' like a real switch.