220-1102Chapter 7 of 131Objective 1.7

Virtualization and Client-Side

This chapter covers virtualization and client-side virtualization, a key topic in CompTIA A+ 220-1102 Objective 1.7. Understanding how virtual machines (VMs), hypervisors, and virtualized resources work is essential for supporting modern IT environments, where virtualization is pervasive from data centers to desktop support. Expect approximately 8-10% of exam questions to touch on virtualization concepts, including cloud computing, client-side virtualization, and troubleshooting. This chapter provides the depth needed to answer those questions correctly.

25 min read
Intermediate
Updated May 31, 2026

Virtualization: Apartment Building Analogy

Think of a physical server as a large apartment building. The building has a single foundation, plumbing, electrical system, and address (the physical hardware and network connection). Each apartment unit is a VM—it has its own walls (virtualized hardware), its own door (virtual NIC), and its own tenant (OS and applications). The building's super (hypervisor) manages all units: when a tenant wants to turn on the lights, the super allocates electricity from the building's main supply (CPU scheduling). If a tenant leaves, the super can clean the unit and rent it to a new tenant (provisioning a new VM). The super also enforces rules: no tenant can use more than their share of water (memory limits), and if a tenant causes a flood (crash), it only affects that unit—other apartments remain dry. In contrast, a traditional physical server is a single-family home: one tenant has full control of all resources, but if the furnace breaks (hardware failure), the entire house is affected. Virtualization allows multiple tenants to share the same physical building safely and efficiently, with the super (hypervisor) ensuring isolation and resource fairness.

How It Actually Works

What is Virtualization?

Virtualization is the creation of a virtual (rather than physical) version of something, such as a server, storage device, network resource, or operating system. In the context of CompTIA A+, virtualization typically refers to running multiple operating systems simultaneously on a single physical machine. Each operating system runs in its own isolated environment called a virtual machine (VM). The VM behaves like a real physical computer, with its own virtual CPU, memory, storage, and network interfaces.

Why Virtualization Exists

Virtualization solves several problems: - Resource utilization: Physical servers often run at low utilization (5-15%). Virtualization allows multiple workloads to share hardware, increasing utilization to 80% or higher. - Isolation: Each VM is isolated from others; a crash or security breach in one VM does not affect others. - Snapshots and rollback: VMs can be snapshotted, allowing quick recovery from changes or failures. - Hardware independence: VMs can be migrated between physical hosts with minimal downtime (live migration). - Legacy OS support: Older operating systems can run on modern hardware via virtualization.

How It Works Internally

At the core of virtualization is the hypervisor (also called Virtual Machine Monitor, VMM). The hypervisor is software that creates, runs, and manages VMs. There are two types: - Type 1 (bare-metal): Runs directly on physical hardware. Examples: VMware ESXi, Microsoft Hyper-V, Citrix XenServer, KVM. Used in data centers. - Type 2 (hosted): Runs as an application on top of an existing operating system (host OS). Examples: VMware Workstation, Oracle VirtualBox, Parallels Desktop. Used for client-side virtualization.

#### Hypervisor Responsibilities

The hypervisor abstracts the physical hardware and presents each VM with a set of virtual hardware components. It intercepts and emulates privileged instructions from the guest OS. Key functions: - CPU scheduling: The hypervisor schedules virtual CPUs (vCPUs) on physical cores. It uses a time-slicing mechanism, similar to how an OS schedules threads. Each vCPU appears as a real CPU to the guest. - Memory management: The hypervisor manages guest physical memory, mapping it to actual physical memory. It may use shadow page tables or hardware-assisted virtualization (Intel EPT, AMD NPT) to translate guest virtual addresses to physical addresses efficiently. - I/O virtualization: For storage and networking, the hypervisor provides emulated devices (e.g., Intel E1000 NIC, LSI Logic SCSI controller) or paravirtualized drivers (e.g., VMware Tools, VirtIO) that offer better performance by bypassing emulation. - Interrupt handling: The hypervisor virtualizes interrupts, delivering them to the appropriate VM.

Key Components, Values, Defaults, and Timers

#### Hypervisor Memory Overhead - Each VM consumes additional memory for the hypervisor's management structures. For example, VMware ESXi reserves about 100-200 MB per VM plus 5% of guest memory. - Default memory overhead for a VM with 4 GB RAM on ESXi is roughly 300 MB.

#### Virtual CPU (vCPU) - A vCPU is a thread of execution on a physical core. Overcommitting vCPUs (more vCPUs than physical cores) is common but can cause performance degradation if total demand exceeds capacity. - Default: Most hypervisors allow up to 8 vCPUs per VM for client-side, but enterprise VMs can have 64+ vCPUs.

#### Virtual Disk Types - Thick provisioning: All space allocated at creation. Faster performance but uses full capacity immediately. - Thin provisioning: Space allocated on demand as data is written. Slower initial writes but saves storage. - Snapshot: A point-in-time copy of the VM's disk and memory state. Snapshots are stored as delta files (e.g., .vmdk in VMware, .avhdx in Hyper-V). Excessive snapshots degrade performance because writes must update the delta file.

#### Virtual Networking - Virtual Switch (vSwitch): A software switch inside the hypervisor that connects VMs to each other and to the physical network. It can have multiple VLANs, port groups, and traffic shaping rules. - NAT: Network Address Translation allows VMs to share the host's IP address. Common in client-side virtualization (e.g., VirtualBox NAT mode). - Bridged: VM is directly connected to the physical network, obtaining its own IP from the LAN. - Host-only: VM can communicate only with the host and other VMs on the same host-only network.

Configuration and Verification Commands

#### Client-Side Hypervisor Commands (Windows - Hyper-V)

# List all VMs
Get-VM

# Start a VM
Start-VM -Name "Windows10-Dev"

# Stop a VM
Stop-VM -Name "Windows10-Dev" -Force

# Create a new VM
New-VM -Name "Ubuntu-VM" -MemoryStartupBytes 2GB -BootDevice VHD -VHDPath "C:\VMs\Ubuntu\disk.vhdx" -Generation 2

# Check VM status
Get-VM -Name "Ubuntu-VM" | Format-List

#### Linux (KVM/libvirt)

# List all VMs
virsh list --all

# Start a VM
virsh start ubuntu-vm

# Shutdown a VM
virsh shutdown ubuntu-vm

# View VM information
virsh dominfo ubuntu-vm

#### VMware Workstation (command-line)

# List VMs
vmrun list

# Start a VM
vmrun start "C:\VMs\Windows10.vmx"

# Stop a VM
vmrun stop "C:\VMs\Windows10.vmx" soft

How It Interacts with Related Technologies

Cloud computing: Virtualization is the foundation of IaaS (Infrastructure as a Service). Providers like AWS, Azure, and Google Cloud use hypervisors (e.g., Xen, KVM) to offer VMs to customers.

Containers: Unlike VMs, containers share the host OS kernel. Virtualization provides stronger isolation but higher overhead. Docker uses namespaces and cgroups, not a hypervisor.

Snapshots and backups: Many backup solutions use VM snapshots to create consistent backups without downtime.

Virtual Desktop Infrastructure (VDI): Uses client-side virtualization to deliver desktop OS to thin clients. Citrix, VMware Horizon, and Microsoft Remote Desktop Services rely on virtualization.

Resource Allocation Best Practices

Do not assign more vCPUs than needed; extra vCPUs can cause scheduling overhead.

For production VMs, use thick provisioning for performance; thin provisioning for cost savings in dev/test.

Always install hypervisor guest additions (VMware Tools, Hyper-V Integration Services) for better performance and features like time sync, graceful shutdown, and clipboard sharing.

Limit snapshots to short-term use; delete old snapshots to prevent disk performance degradation.

Troubleshooting Common Issues

VM won't start: Check if the hypervisor service is running (e.g., service sshd status on Hyper-V). Verify that the VM's configuration file is not corrupted.

Blue screen in guest: Often due to incompatible or missing hypervisor drivers. Boot the VM in safe mode and reinstall guest additions.

Network connectivity: Ensure the virtual switch is configured correctly. Check if the VM's network adapter is set to the correct mode (NAT, Bridged, Host-only).

Performance slow: Overcommitted resources. Check CPU and memory usage on the host. Reduce number of running VMs or increase host resources.

Virtualization Security Considerations

VM escape: An attack where code within a VM breaks out to the hypervisor. Keep hypervisor patched.

Snapshot security: Snapshots may contain sensitive data; secure snapshot files.

Isolation: Ensure that VMs from different security zones are on separate virtual networks or VLANs.

Patching: The hypervisor itself must be patched, as well as each guest OS.

Summary of Exam-Relevant Numbers

Type 1 hypervisor: Directly on hardware (ESXi, Hyper-V, XenServer).

Type 2 hypervisor: Runs on host OS (Workstation, VirtualBox, Parallels).

Default VM memory overhead: ~100-200 MB + 5% of guest memory.

Snapshot delta files: .vmdk (VMware), .avhdx (Hyper-V).

Maximum vCPUs per VM: depends on hypervisor; common limit 8 for client, 64+ for server.

Virtual switch: software switch inside hypervisor.

NAT mode: VM shares host IP.

Bridged mode: VM has own IP on physical network.

Host-only mode: VM communicates only with host and other host-only VMs.

Walk-Through

1

Install Hypervisor on Host

The first step is to install the hypervisor software on the physical machine. For client-side virtualization, this is typically a Type 2 hypervisor like VMware Workstation or Oracle VirtualBox. Install it as you would any application. The hypervisor will create a management layer that can create and run VMs. During installation, ensure that hardware virtualization features (Intel VT-x or AMD-V) are enabled in the BIOS/UEFI. Without these, performance will be poor or VMs may not run. After installation, the hypervisor will provide a GUI console and command-line tools.

2

Create Virtual Machine

Using the hypervisor console, create a new VM. You will specify the VM name, guest OS type, amount of RAM (e.g., 2048 MB for Windows 10), number of virtual CPUs (e.g., 2 vCPUs), and virtual disk size (e.g., 60 GB). You can also choose the network type (NAT, Bridged, Host-only). The hypervisor creates a configuration file (e.g., .vmx for VMware, .vbox for VirtualBox) and a virtual disk file (e.g., .vmdk, .vdi). At this point, the VM has no operating system installed.

3

Install Guest Operating System

Mount an installation ISO file to the VM's virtual optical drive. Start the VM; it will boot from the ISO. Proceed with the OS installation as if on physical hardware. The guest OS will detect virtual hardware (e.g., Intel E1000 NIC, standard VGA adapter). After installation, install the hypervisor's guest additions (e.g., VMware Tools, VirtualBox Guest Additions). These provide optimized drivers, better performance, and features like mouse integration, clipboard sharing, and time synchronization.

4

Configure Networking

After the guest OS is installed, configure its network settings. In NAT mode, the VM gets an IP from a private subnet (e.g., 192.168.56.0/24) and uses the host as a gateway for internet access. In bridged mode, the VM obtains an IP from the physical LAN via DHCP. In host-only mode, the VM can only communicate with the host and other VMs on the same host-only network. You can also configure port forwarding to allow external access to services running in the VM (e.g., RDP on port 3389).

5

Take Snapshot and Test

Once the VM is configured and working, take a snapshot. A snapshot preserves the current state of the VM (disk and memory). This is useful for testing software updates or configuration changes. If something goes wrong, you can revert to the snapshot. Snapshots create delta files that store changes since the snapshot was taken. Be aware that having many snapshots can degrade performance. After taking a snapshot, perform a test (e.g., install an application, change a setting). Then revert to the snapshot to restore the original state.

What This Looks Like on the Job

In enterprise environments, virtualization is the backbone of server consolidation and disaster recovery. For example, a company running 50 physical servers might consolidate them onto 3 physical hosts using VMware vSphere (Type 1 hypervisor). Each host runs 15-20 VMs. The hypervisor is installed directly on the server hardware, and VMs are managed via a central vCenter Server. This setup reduces hardware costs, power consumption, and cooling. The company can also use live migration (vMotion) to move VMs between hosts without downtime during maintenance.

Another common scenario is a software developer using client-side virtualization on a laptop. The developer runs a Linux VM via VMware Workstation to test code, while the host OS is Windows. The VM uses NAT networking to access the internet for package downloads. The developer takes snapshots before risky experiments, allowing quick rollback. This isolation prevents the host from being affected by guest OS crashes or malware.

A third scenario is a help desk technician using a VM to run legacy software that only works on Windows XP. The technician creates a Windows XP VM with host-only networking to keep it isolated from the main network, reducing security risk. The VM is stored on an external SSD for portability. Performance is adequate because the XP VM requires minimal resources (512 MB RAM, 1 vCPU). The technician can also revert to a clean snapshot after each use.

Common pitfalls: Overcommitting memory (e.g., running 4 VMs each with 4 GB RAM on a host with 8 GB RAM) causes swapping and poor performance. Not installing guest additions leads to sluggish graphics and lack of integration features. Leaving snapshots for weeks consumes disk space and slows down I/O. Forgetting to enable Intel VT-x in BIOS results in VMs that cannot run 64-bit guests or have severe performance degradation.

How 220-1102 Actually Tests This

For the 220-1102 exam, Objective 1.7 focuses on comparing and contrasting the features and requirements of client-side virtualization. The exam expects you to know:

The difference between Type 1 and Type 2 hypervisors.

The purpose of hypervisors in creating and managing VMs.

Resource requirements for VMs (RAM, CPU, storage).

Common configuration settings: network modes (NAT, bridged, host-only), virtual disk types, snapshots.

The role of guest additions/tools.

Common wrong answers: 1. Choosing Type 2 as the hypervisor for a data center: Many candidates think Type 2 is more common because they use VirtualBox at home. But data centers almost exclusively use Type 1 (bare-metal) for performance and scalability. 2. Confusing NAT and Bridged modes: Candidates often think NAT gives the VM its own IP on the LAN. In reality, NAT hides the VM behind the host's IP; Bridged gives the VM its own IP. 3. Thinking snapshots are backups: Snapshots are not backups; they are point-in-time states that depend on the parent disk. Deleting the parent disk destroys all snapshots. 4. Assuming all VMs need equal vCPUs: Overallocating vCPUs can degrade performance due to scheduling overhead.

Specific numbers and terms that appear on the exam:

Type 1 hypervisor examples: VMware ESXi, Microsoft Hyper-V, Citrix XenServer.

Type 2 hypervisor examples: VMware Workstation, Oracle VirtualBox, Parallels Desktop.

Minimum RAM for Windows 10 VM: 2 GB (recommended 4 GB).

Virtual disk formats: .vmdk, .vhdx, .vhd, .vdi.

Snapshot file: .avhdx for Hyper-V.

Guest additions: VMware Tools, Hyper-V Integration Services, VirtualBox Guest Additions.

Edge cases the exam loves:

A VM that cannot start 64-bit guest: BIOS virtualization support disabled.

A VM with poor graphics performance: guest additions not installed.

A VM that loses network connectivity after host network change: network mode set to Bridged and host changed networks.

Elimination strategy: When you see a question about which hypervisor is best for a scenario, ask: "Is this a client or server environment?" Client = Type 2. Server = Type 1. For network mode questions, ask: "Does the VM need its own IP on the LAN?" Yes = Bridged. No = NAT.

Key Takeaways

Virtualization allows multiple OS instances to run on a single physical machine, each in its own isolated VM.

Type 1 hypervisors (bare-metal) run directly on hardware and are used in data centers; Type 2 hypervisors (hosted) run on an OS and are used on client machines.

Common hypervisor examples: Type 1 = ESXi, Hyper-V, XenServer; Type 2 = Workstation, VirtualBox, Parallels.

Virtual network modes: NAT (VM shares host IP), Bridged (VM gets its own IP on LAN), Host-only (VM only talks to host and other host-only VMs).

Snapshots capture VM state at a point in time; they are not backups and degrade performance if left too long.

Guest additions (e.g., VMware Tools) improve performance, enable clipboard sharing, and provide better driver support.

Minimum RAM for a Windows 10 VM is 2 GB, but 4 GB is recommended for smooth performance.

Virtualization requires hardware support (Intel VT-x or AMD-V) to be enabled in BIOS for 64-bit guests and good performance.

Overcommitting resources (e.g., too many vCPUs) can degrade performance due to scheduling overhead.

VM isolation means a crash in one VM does not affect others, but security patches are still needed for each guest and the hypervisor.

Easy to Mix Up

These come up on the exam all the time. Here's how to tell them apart.

Type 1 Hypervisor (Bare-Metal)

Runs directly on physical hardware without an underlying OS.

Typically used in data centers and server environments.

Examples: VMware ESXi, Microsoft Hyper-V, Citrix XenServer.

Lower overhead, higher performance, better scalability.

Requires dedicated hardware; no host OS to manage separately.

Type 2 Hypervisor (Hosted)

Runs as an application on top of an existing OS (host OS).

Commonly used on client machines for development or testing.

Examples: VMware Workstation, Oracle VirtualBox, Parallels Desktop.

Higher overhead due to host OS layer; suitable for fewer VMs.

Easier to set up on existing hardware; shares resources with host OS.

Watch Out for These

Mistake

A VM running on a Type 2 hypervisor has direct access to hardware.

Correct

No. In Type 2, the hypervisor runs as an application on the host OS. The VM's hardware access is mediated by both the hypervisor and the host OS, adding overhead. Only Type 1 hypervisors have direct hardware access.

Mistake

Snapshots are a reliable backup solution.

Correct

Snapshots are not backups. They depend on the original disk file. If the original disk is corrupted or deleted, all snapshots are lost. Backups should be independent copies of the VM.

Mistake

You can assign as many vCPUs as you want to a VM without performance impact.

Correct

Overallocating vCPUs can cause CPU scheduling overhead and degrade performance. It is recommended to assign only the number of vCPUs needed. For a single-threaded application, one vCPU is optimal.

Mistake

Virtual machines are completely immune to malware.

Correct

VMs are isolated but not immune. Malware can still infect the guest OS. Additionally, VM escape vulnerabilities exist where malware can break out to the hypervisor or host. Patching and security practices still apply.

Mistake

Bridged mode and NAT mode are functionally identical.

Correct

Bridged mode gives the VM its own IP address on the physical network, making it appear as a separate device. NAT mode hides the VM behind the host's IP, using port forwarding for inbound connections. They behave very differently.

Do You Actually Know This?

Reveal each answer, then mark whether you got it right. Score 60%+ to unlock the next chapter.

Frequently Asked Questions

What is the difference between Type 1 and Type 2 hypervisors?

Type 1 hypervisors run directly on physical hardware without an underlying OS (bare-metal). They are used in data centers for server virtualization. Examples: VMware ESXi, Microsoft Hyper-V. Type 2 hypervisors run as an application on top of an existing OS (hosted). They are used on client machines for development or testing. Examples: VMware Workstation, Oracle VirtualBox. Type 1 offers better performance and scalability; Type 2 is easier to set up on existing hardware.

What is the minimum RAM required to run a Windows 10 virtual machine?

Microsoft officially recommends 2 GB of RAM for 64-bit Windows 10, but for a reasonable experience, 4 GB is recommended. On the exam, you may see 2 GB as the minimum. The hypervisor also requires additional memory overhead, typically 100-200 MB plus 5% of guest RAM. So a VM with 2 GB guest RAM might consume about 2.3 GB on the host.

What is the purpose of guest additions in a virtual machine?

Guest additions (e.g., VMware Tools, VirtualBox Guest Additions) are software packages installed inside the VM that provide optimized drivers for virtual hardware, improved performance, and integration features like mouse pointer integration, clipboard sharing, drag-and-drop, and time synchronization. Without them, the VM may have poor graphics, limited resolution, and no seamless mouse movement between host and guest.

What is the difference between NAT and bridged networking in virtualization?

NAT (Network Address Translation) mode makes the VM share the host's IP address. The VM is on a private subnet (e.g., 192.168.56.0/24) and uses the host as a gateway. Inbound connections require port forwarding. Bridged mode gives the VM its own IP address on the physical LAN, as if it were a separate physical machine. Bridged mode is useful when the VM needs to be directly accessible from other devices on the network.

Can I run a 64-bit guest OS in a VM on a 32-bit host?

No. To run a 64-bit guest OS, the host CPU must support 64-bit extensions (x86-64) and hardware virtualization (Intel VT-x or AMD-V) must be enabled. The hypervisor itself can be 32-bit, but it must run on a 64-bit capable CPU. Additionally, the host OS must be 64-bit if using a Type 2 hypervisor, because the hypervisor relies on the host OS. Type 1 hypervisors are typically 64-bit.

What happens if I take too many snapshots of a VM?

Each snapshot creates a delta file that stores changes since the previous snapshot. Over time, these delta files grow and the chain becomes deep. Read and write operations become slower because the hypervisor must traverse the chain to read data. Performance degradation can become severe. It is best to keep snapshots for a short time (e.g., during testing) and delete them after use. Never use snapshots as long-term backups.

What is a virtual switch?

A virtual switch (vSwitch) is a software-based switch inside the hypervisor that connects VMs to each other and to the physical network. It can be configured with VLANs, port groups, and traffic shaping rules. Each VM's virtual NIC connects to a port on the vSwitch. The vSwitch can operate in different modes: external (connected to physical NIC), internal (only between VMs and host), or private (only between VMs).

Terms Worth Knowing

Ready to put this to the test?

You've just covered Virtualization and Client-Side — now see how well it sticks with free 220-1102 practice questions. Full explanations included, no account needed.

Done with this chapter?