A+ Virtual Machine Networking and Virtual Switches Quiz

Reviewed by Joshua Gelman
Joshua Gelman, CompTIA Certified |
CompTIA Expert
Review Board Member
Joshua G. is a cybersecurity specialist and instructor with over a decade of hands-on experience in incident response, secure system design, and risk management. He holds CompTIA Security+, CySA+, SecurityX (CASP+), CSAP, and CSAE certifications, as well as the CISSP, and teaches cybersecurity as an adjunct instructor at Texas A&M Engineering Extension Service (TEEX). He earned his MS in Information Science from the University of Pittsburgh.
, CompTIA Certified
By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 16 | Questions: 20 | Updated: Oct 29, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. Which virtual switch feature allows you to monitor and control traffic between VMs?

Explanation

Traffic shaping and QoS policies let administrators limit bandwidth, set priorities, and control how much traffic each VM or port group can send, preventing one VM from overwhelming the network. Adapter bonding combines physical links for capacity and redundancy, host firewall rules alone cannot manage VM traffic flows, and DHCP only assigns IP addresses.

Submit
Please wait...
About This Quiz
A+ Virtual Machine Networking and Virtual Switches Quiz - Quiz

This quiz evaluates your understanding of virtual machine networking, virtual switches, and network configuration in virtualized environments. Learn how VMs communicate through virtual network adapters, bridge modes, and switch architectures. Essential for IT professionals preparing for A+ certification and managing virtualized infrastructure.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. A security analyst wants a monitoring VM to receive a copy of all traffic sent to and from one specific production VM on the same virtual switch, without exposing other VMs' traffic. Which virtual switch feature should be configured?

Explanation

Port mirroring copies traffic from a chosen source port or VM to a destination port where a monitoring tool or intrusion detection system can analyze it. Unlike promiscuous mode, it targets specific traffic instead of exposing everything on the switch. NIC teaming combines adapters, VLAN tagging segments networks, and traffic shaping limits bandwidth.

Submit

3. The process of assigning a virtual machine to a specific VLAN is called VLAN ____.

Explanation

VLAN assignment is the process of placing a virtual machine on a specific VLAN, usually by connecting its virtual network adapter to a port group or virtual switch port configured with that VLAN ID. The virtual switch then tags the VM’s traffic, keeping it logically separated from VMs on other VLANs sharing the same physical network.

Submit

4. A virtual switch that spans multiple physical hosts is called a ____.

Explanation

A distributed virtual switch spans multiple physical hosts and is managed centrally, so network settings such as port groups, VLANs, and security policies are configured once and applied across every connected host. This keeps networking consistent when VMs migrate between hosts. A standard virtual switch, by contrast, exists on a single host and is configured individually.

Submit

5. In virtual networking, what is the purpose of a management network or management VLAN?

Explanation

A management network or management VLAN carries hypervisor and infrastructure traffic, such as host administration, monitoring, and live migration, separately from VM traffic. Isolating it protects critical management interfaces from attackers on production networks and keeps busy VM traffic from disrupting administration. It does not encrypt traffic or assign IP addresses to virtual machines.

Submit

6. What does the term 'uplink' refer to in virtual switching?

Explanation

An uplink is a physical network adapter on the host that is attached to a virtual switch, giving the VMs on that switch a path to the external physical network. A switch can have several uplinks for bandwidth and failover, but redundancy is not their only purpose. Uplinks are not VM-to-VM links or the management network.

Submit

7. Which networking mode isolates a VM completely from external networks?

Explanation

Internal or isolated mode connects VMs only to each other, or to the host in some hypervisors, with no path to any external network. It suits labs, malware analysis, and testing where traffic must stay contained. Bridged and NAT modes both provide external access, and host-only mode with external connectivity would no longer isolate the VM.

Submit

8. What is the primary advantage of using network bonding in virtual environments?

Explanation

Network bonding, also called NIC teaming, combines multiple physical adapters into one logical link for a virtual switch. This increases available bandwidth and provides redundancy, since traffic keeps flowing if one adapter or cable fails. Bonding does not encrypt traffic, remove the need for virtual switches, or give VMs direct access to physical hardware.

Submit

9. In virtual networking, what does 'promiscuous mode' on a virtual switch allow?

Explanation

Promiscuous mode lets a VM’s virtual adapter receive all traffic passing through the virtual switch or port group, not just frames addressed to it. It is used for packet capture and intrusion detection, but it is usually disabled by default because it exposes other VMs’ traffic. It does not bypass policies, add networks, or provide failover.

Submit

10. In a hypervisor such as VMware ESXi, what is the role of a VMkernel network adapter?

Explanation

A VMkernel network adapter gives the hypervisor itself a network interface, used for host management, live migration, storage access, and other infrastructure traffic. It is separate from the virtual NICs assigned to guest VMs. It does not replace the host’s physical NIC, encrypt VM traffic, or manage IP addresses for virtual machines.

Submit

11. What is the primary function of a virtual switch in a hypervisor?

Explanation

A virtual switch is a software switch inside the hypervisor that connects virtual machines to each other and, through the host’s physical network adapters, to external networks. It forwards traffic between VM ports much like a physical switch. It does not encrypt traffic by default, replace physical adapters, or manage CPU resources.

Submit

12. What does MAC address spoofing protection prevent in virtual switches?

Explanation

MAC address spoofing protection stops a VM from sending traffic with a MAC address different from the one the hypervisor assigned to its virtual adapter. This prevents a compromised or misconfigured VM from impersonating another device to intercept traffic or evade controls. It does not block physical switches, host access, or VLAN configuration on the virtual switch.

Submit

13. In virtual networking, what is the purpose of a virtual port group?

Explanation

A virtual port group is a set of virtual switch ports that share the same configuration, such as VLAN ID, security settings, and traffic shaping. Connecting a VM’s network adapter to a port group applies those policies automatically, so administrators do not configure each VM individually. Port groups do not add physical adapters or bypass security.

Submit

14. What is the main difference between a standard switch and a distributed switch?

Explanation

A distributed switch spans multiple hosts and is managed centrally, so one configuration applies to every connected host and stays consistent when VMs migrate. A standard switch exists on a single host and must be configured separately on each one. Neither type is inherently faster, distributed switches are not limited to NAT, and VM capacity is not the defining difference.

Submit

15. Which of the following best describes a standard virtual switch?

Explanation

A standard virtual switch exists on a single host and is configured on that host alone. It connects that host’s VMs to each other and, through uplinks, to external networks. It is software, not a physical switch, it can handle external traffic as well as VM-to-VM traffic, and it relies on physical adapters for outside connectivity.

Submit

16. What is VLAN tagging used for in virtual switching?

Explanation

VLAN tagging adds a VLAN ID to network frames so a virtual switch can keep traffic from different groups of VMs in separate logical networks, even when they share the same physical adapters and switches. This improves security and organization. Tagging does not increase speed, encrypt traffic, or assign IP addresses to virtual machines.

Submit

17. In host-only networking mode, can a virtual machine communicate with external networks?

Explanation

Host-only networking creates a private network shared only by the host and the VMs attached to it, with no route to external networks. It is useful for testing or for running services that should not be exposed outside the host. Connecting the host to a VPN or disabling its firewall does not change this.

Submit

18. What is Network Address Translation (NAT) in the context of virtual networking?

Explanation

In NAT mode, the hypervisor places VMs on a private internal network and translates their traffic to the host’s IP address, so VMs can reach external networks without needing their own addresses on the physical network. External devices cannot easily start connections to the VMs. NAT does not encrypt traffic, duplicate packets, or physically connect networks.

Submit

19. Which virtual switch mode allows a VM to communicate on the same physical network as the host?

Explanation

Bridged mode connects the VM’s virtual adapter directly to the host’s physical network, so the VM gets its own IP address from that network and appears as a separate device to other machines on it. NAT mode shares the host’s IP address, host-only mode limits traffic to the host, and isolated mode blocks external access.

Submit

20. In virtual networking, what does a virtual network adapter (NIC) do?

Explanation

A virtual network adapter emulates a physical NIC so the guest operating system can send and receive network traffic using standard drivers, unaware that the hardware is virtual. It connects the VM to a virtual switch through the hypervisor. It does not bypass the hypervisor, add bandwidth to the host, or buffer traffic for later.

Submit
×
Saved
Thank you for your feedback!
View My Results
Joshua Gelman |CompTIA Certified |
CompTIA Expert
Joshua G. is a cybersecurity specialist and instructor with over a decade of hands-on experience in incident response, secure system design, and risk management. He holds CompTIA Security+, CySA+, SecurityX (CASP+), CSAP, and CSAE certifications, as well as the CISSP, and teaches cybersecurity as an adjunct instructor at Texas A&M Engineering Extension Service (TEEX). He earned his MS in Information Science from the University of Pittsburgh.
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Which virtual switch feature allows you to monitor and control traffic...
A security analyst wants a monitoring VM to receive a copy of all...
The process of assigning a virtual machine to a specific VLAN is...
A virtual switch that spans multiple physical hosts is called a ____.
In virtual networking, what is the purpose of a management network or...
What does the term 'uplink' refer to in virtual switching?
Which networking mode isolates a VM completely from external networks?
What is the primary advantage of using network bonding in virtual...
In virtual networking, what does 'promiscuous mode' on a...
In a hypervisor such as VMware ESXi, what is the role of a VMkernel...
What is the primary function of a virtual switch in a hypervisor?
What does MAC address spoofing protection prevent in virtual switches?
In virtual networking, what is the purpose of a virtual port group?
What is the main difference between a standard switch and a...
Which of the following best describes a standard virtual switch?
What is VLAN tagging used for in virtual switching?
In host-only networking mode, can a virtual machine communicate with...
What is Network Address Translation (NAT) in the context of virtual...
Which virtual switch mode allows a VM to communicate on the same...
In virtual networking, what does a virtual network adapter (NIC) do?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!