220-1101Chapter 89 of 123Objective 4.1

Type 1 vs Type 2 Hypervisors

This chapter covers the critical distinction between Type 1 (bare-metal) and Type 2 (hosted) hypervisors, a core topic under Domain 4.1 (Virtualization Cloud) of the CompTIA A+ 220-1101 exam. Understanding these two architectures is essential because the exam tests your ability to identify which hypervisor type is appropriate for a given scenario—enterprise data centers versus client-side testing. Approximately 5–10% of the exam questions touch on virtualization concepts, and hypervisor type questions appear regularly. By mastering this chapter, you will be able to distinguish the two types, explain their resource management mechanisms, and apply the right choice in real-world deployments.

25 min read
Intermediate
Updated May 31, 2026

Apartment Building vs. Dormitory Manager

Think of a Type 1 hypervisor as the building manager of an apartment complex (the physical server). The manager (hypervisor) owns the entire building and directly handles all maintenance, security, and utilities. Each apartment (VM) is completely independent—tenants have their own locks, thermostats, and appliances. The manager ensures no tenant can interfere with another's space or access the building's core systems (HVAC, electrical panels). Now consider a Type 2 hypervisor as a dormitory where a resident assistant (host OS) lives in the building and also manages a few dorm rooms (VMs). The RA must ask the building's actual manager (physical hardware) for permission to fix a leak or change a lock—every request goes through the RA. If the RA's own room has a party that crashes the building's Wi-Fi, all dorm rooms lose connectivity. The RA cannot prevent tenants from accidentally interfering because they share the same hallway (kernel) and the RA's own activities consume resources. In the apartment building, the manager never lives in any unit—it runs the building from its own office (hypervisor kernel) with zero overhead from tenant activities. This direct control is why Type 1 hypervisors are used in data centers where performance and isolation are critical, while Type 2 hypervisors are fine for a student's laptop to run a test VM.

How It Actually Works

What is a Hypervisor?

A hypervisor, also known as a Virtual Machine Monitor (VMM), is software that creates and runs virtual machines (VMs) by abstracting the underlying physical hardware. It allocates CPU, memory, storage, and networking resources to each VM, ensuring isolation and fair sharing. The 220-1101 exam expects you to know two fundamental types: Type 1 (bare-metal) and Type 2 (hosted).

Type 1 Hypervisor (Bare-Metal)

A Type 1 hypervisor runs directly on the physical hardware of the host machine, without an underlying operating system. It acts as a lightweight, specialized kernel that manages hardware resources and VMs. Because there is no intermediate OS, Type 1 hypervisors offer near-native performance, high stability, and strong security isolation.

Key Characteristics: - Direct hardware access: The hypervisor includes its own drivers for CPU, memory, I/O, and network devices. It does not rely on a host OS for driver support. - Resource management: The hypervisor's scheduler directly allocates physical cores, memory pages, and I/O bandwidth to VMs. Overcommitment is possible but must be carefully managed. - Security isolation: Each VM runs in its own protected memory space. A compromise in one VM cannot affect the hypervisor or other VMs (assuming no hypervisor-level vulnerabilities). - Performance: Near-native performance because there is no OS overhead. Typically within 1–5% of bare-metal performance for CPU and memory-intensive workloads.

Common Type 1 Hypervisors: - VMware vSphere/ESXi - Microsoft Hyper-V (when installed as the 'Hyper-V role' on Windows Server, it becomes Type 1; the parent partition is a management OS, not a full host OS) - Citrix XenServer (based on Xen) - KVM (Kernel-based Virtual Machine) – technically a Type 1 when the Linux kernel acts as the hypervisor - Oracle VM Server for x86 (based on Xen)

Use Cases: - Enterprise data centers - Cloud providers (AWS, Azure, Google Cloud) - Server consolidation - High-availability clusters - Production environments requiring maximum performance and isolation

Type 2 Hypervisor (Hosted)

A Type 2 hypervisor runs as an application on top of a host operating system. The host OS manages the physical hardware, while the hypervisor provides virtualization capabilities to guest VMs. This adds a layer of abstraction, resulting in higher overhead and less direct hardware control.

Key Characteristics: - Host OS dependency: The hypervisor relies on the host OS for device drivers, memory management, and CPU scheduling. This means the host OS must be stable and properly configured. - Resource contention: The host OS and its applications compete with VMs for CPU, memory, and I/O. Overcommitment can lead to significant performance degradation. - Additional overhead: Every hardware access from a VM must traverse the hypervisor, then the host OS, then the physical hardware. This adds latency. - Ease of use: Type 2 hypervisors are easier to install and manage on a desktop or laptop, as they run like any other application.

Common Type 2 Hypervisors: - VMware Workstation Pro/Player - Oracle VirtualBox - Parallels Desktop (for macOS) - Microsoft Virtual PC (legacy)

Use Cases: - Desktop virtualization for testing and development - Running legacy applications in isolated environments - Training and education - Personal use on laptops

Internal Mechanism: How a Hypervisor Manages Resources

CPU Virtualization:

Both hypervisor types use hardware-assisted virtualization (Intel VT-x or AMD-V) to handle privileged instructions. The hypervisor sets up a VMCS (Virtual Machine Control Structure) for each vCPU. When a VM executes a privileged instruction, the CPU automatically traps to the hypervisor, which handles the instruction and resumes the VM. Type 1 hypervisors manage VMCS directly, while Type 2 hypervisors must go through the host OS's kernel to access VMCS.

Memory Virtualization:

Memory is virtualized using Extended Page Tables (EPT) on Intel or Nested Page Tables (NPT) on AMD. The hypervisor maintains a shadow page table or uses hardware two-level paging. Type 1 hypervisors directly control the memory management unit (MMU) of the CPU. Type 2 hypervisors rely on the host OS's memory manager, which adds translation overhead.

I/O Virtualization:

I/O can be virtualized in several ways:

Emulation: The hypervisor emulates a legacy device (e.g., Intel E1000 NIC). This is slow but compatible.

Paravirtualization: The guest uses a special driver (e.g., VirtIO) that communicates directly with the hypervisor for better performance.

Passthrough (SR-IOV): The hypervisor assigns a physical device directly to a VM, bypassing the hypervisor's I/O stack. This offers near-native performance but reduces flexibility.

Type 1 hypervisors can implement all three methods efficiently. Type 2 hypervisors often rely on emulation or paravirtualization, as passthrough is more complex to manage with a host OS in the middle.

Resource Limits and Overcommitment

CPU overcommitment: Ratio of virtual CPUs to physical cores. Type 1 hypervisors can handle ratios up to 8:1 or higher for general workloads, but performance degrades if VMs are CPU-bound. Type 2 hypervisors typically recommend 2:1 or less.

Memory overcommitment: Using techniques like memory ballooning (VMware) or dynamic memory (Hyper-V). Type 1 hypervisors can overcommit memory by 1.5–2x, but high overcommitment leads to swapping. Type 2 hypervisors should avoid overcommitment because the host OS also needs memory.

Storage: Both types support virtual disks (VMDK, VHDX, VDI). Performance depends on the underlying storage system.

Configuration and Verification Commands

For Type 1 (ESXi):

# List VMs and their status
esxcli vm process list

# View resource allocation for a VM
esxcli vm process list --vmname=<VM_NAME> | grep -i "memSize"

# Check CPU and memory usage
esxtop

For Type 2 (VirtualBox):

# List VMs
VBoxManage list vms

# Show VM details
VBoxManage showvminfo <VM_NAME>

# Modify VM resources
VBoxManage modifyvm <VM_NAME> --memory 2048 --cpus 2

Interaction with Related Technologies

Snapshots: Both types support snapshots, but Type 1 snapshots are more efficient because they use copy-on-write at the block level. Type 2 snapshots often require quiescing the guest OS through the host OS.

Live Migration: Type 1 hypervisors support live migration (vMotion, XenMotion) with near-zero downtime. Type 2 hypervisors generally do not support live migration; VMs must be powered off.

High Availability: Type 1 hypervisors can be clustered (e.g., VMware HA, Hyper-V Failover Cluster) to restart VMs on another host if a host fails. Type 2 hypervisors lack this capability.

GPU Passthrough: Both types can pass through a GPU, but Type 1 hypervisors (e.g., ESXi with NVIDIA GRID) are preferred for VDI workloads. Type 2 hypervisors (e.g., VirtualBox) support GPU passthrough but with limitations.

Summary of Key Differences

| Feature | Type 1 (Bare-Metal) | Type 2 (Hosted) | |---------|---------------------|-----------------| | Installation | Directly on hardware | On top of host OS | | Performance | Near-native | 10-20% overhead | | Security | Strong isolation | Weaker (host OS as attack surface) | | Resource management | Direct control | Through host OS | | Use case | Production servers | Desktop testing | | Examples | ESXi, Hyper-V, KVM | VirtualBox, VMware Workstation |

Walk-Through

1

Identify the Use Case

The first step in choosing between Type 1 and Type 2 hypervisors is to identify the use case. For production servers in a data center, Type 1 is required for performance, security, and manageability. For a developer's laptop running a test VM, Type 2 is sufficient. The exam will present scenarios such as 'a company wants to consolidate five physical servers into one' (Type 1) or 'a user needs to run a Linux VM on Windows to test software' (Type 2).

2

Check the Host Operating System

Determine whether a host OS is present. If the hypervisor is installed directly on the hardware without an underlying OS, it is Type 1. If it runs as an application on top of an existing OS (e.g., Windows, macOS, Linux), it is Type 2. This is the most reliable way to distinguish them. For example, VMware ESXi boots from a custom kernel that includes its own drivers—no Windows or Linux underneath. In contrast, VMware Workstation requires Windows or Linux to be installed first.

3

Evaluate Resource Overhead

Type 1 hypervisors have minimal overhead because they control hardware directly. Type 2 hypervisors have additional overhead from the host OS. On the exam, you might be asked to compare performance: a Type 1 hypervisor can achieve 95-99% of bare-metal performance, while a Type 2 hypervisor typically achieves 80-90%. Memory and CPU contention are higher with Type 2 because the host OS consumes resources.

4

Assess Security and Isolation

Type 1 hypervisors provide stronger isolation because each VM is separated from the hypervisor and other VMs by hardware-enforced boundaries. The host OS in Type 2 is a vulnerable attack surface—if the host OS is compromised, all VMs are at risk. The exam may ask which hypervisor type is more secure for hosting multi-tenant workloads. The answer is always Type 1.

5

Determine Management Features

Type 1 hypervisors support enterprise features like live migration, high availability, and dynamic resource scheduling. Type 2 hypervisors lack these features or implement them poorly. If the scenario requires moving a running VM between hosts without downtime, Type 1 is mandatory. The exam may ask you to select the hypervisor that supports vMotion or similar technology—only Type 1 hypervisors do.

What This Looks Like on the Job

Scenario 1: Server Consolidation in a Mid-Sized Company

A company with 20 physical servers running various applications (web server, database, file server, etc.) wants to reduce hardware costs and improve utilization. The IT team deploys VMware vSphere (Type 1) on four powerful servers. Each host has dual 16-core CPUs, 512 GB RAM, and 10 GbE networking. They create VMs for each application, carefully sizing vCPUs and memory to avoid overcommitment. They also configure vMotion for maintenance and DRS (Distributed Resource Scheduler) to balance load. The result: 80% reduction in power and cooling costs, and 90% reduction in physical footprint. The most common mistake is overcommitting memory beyond a 2:1 ratio, causing swapping and performance complaints.

Scenario 2: Developer Testing Environment

A software developer needs to test a web application on multiple OS versions (Windows 10, Windows 11, Ubuntu 22.04). They install Oracle VirtualBox (Type 2) on a Windows 11 laptop with 32 GB RAM and an 8-core CPU. They allocate 4 GB RAM and 2 vCPUs to each VM, leaving enough for the host OS. They use NAT networking for internet access and shared folders for code. The developer can easily take snapshots before risky changes and revert if needed. The limitation is that running all three VMs simultaneously causes the laptop to slow down due to host OS overhead. This is acceptable for testing but would never be used in production.

Scenario 3: Cloud Provider Infrastructure

A cloud provider like AWS uses a custom Type 1 hypervisor (based on Xen) on millions of servers. Each physical server hosts dozens of customer VMs. The hypervisor enforces strict resource limits and isolation using hardware virtualization extensions. The provider uses live migration to move VMs off a server before maintenance. Misconfiguration of CPU shares can lead to noisy neighbor problems, where one VM consumes excessive I/O and degrades performance for others. The solution is to set proper IOPS limits and use Quality of Service (QoS) policies.

Common Pitfalls: - Using Type 2 in a production environment: Leads to instability and security risks. - Overcommitting resources on Type 1 without monitoring: Causes VM performance degradation. - Assuming all Type 1 hypervisors are free: Some require licensing (e.g., VMware vSphere). - Forgetting that Hyper-V can be Type 1 only when the Hyper-V role is installed on Windows Server with the parent partition as a management OS; running Hyper-V on Windows 10/11 as a client hypervisor is still Type 1 but limited.

How 220-1101 Actually Tests This

Objective 4.1 (Virtualization Cloud): Compare and contrast cloud computing concepts and set up a client-side virtualization. The exam specifically tests your ability to differentiate Type 1 and Type 2 hypervisors. Look for questions that ask: 'Which hypervisor type is installed directly on hardware?' or 'Which hypervisor type is best for a data center?'

Common Wrong Answers: 1. 'Hyper-V is Type 2 because it runs on Windows.' Many candidates think Hyper-V is Type 2 because it requires Windows. However, Hyper-V is Type 1 because the hypervisor runs directly on hardware; the Windows parent partition is a management OS, not a host OS. The exam may present Hyper-V as an example, and you must know it is Type 1. 2. 'VMware Workstation is Type 1 because it is widely used in enterprises.' VMware Workstation is Type 2; it runs on a host OS. The enterprise product is vSphere/ESXi (Type 1). Candidates confuse the brand. 3. 'Type 2 hypervisors have better performance because they use the host OS drivers.' Actually, Type 1 has better performance because there is no OS overhead. The host OS adds latency.

Specific Numbers and Terms: - Know that Type 1 is also called 'bare-metal' or 'native' hypervisor. - Type 2 is called 'hosted' hypervisor. - Examples of Type 1: ESXi, Hyper-V, Xen, KVM. - Examples of Type 2: VirtualBox, VMware Workstation, Parallels Desktop. - The exam will not ask for obscure hypervisors; stick to these.

Edge Cases: - KVM is technically a Type 1 hypervisor because it turns the Linux kernel into a hypervisor. However, some older materials considered it Type 2 because it requires a Linux host OS. The CompTIA exam treats KVM as Type 1. - Microsoft Hyper-V on Windows 10/11 (Client Hyper-V) is still Type 1; the hypervisor runs at boot time, and the host OS is a VM in the parent partition.

How to Eliminate Wrong Answers: - If the question says 'runs as an application on top of an OS', it is Type 2. - If the question says 'installed directly on hardware without an OS', it is Type 1. - If the scenario is a data center or production server, choose Type 1. - If the scenario is a desktop/laptop for testing, choose Type 2.

Key Takeaways

Type 1 hypervisors are installed directly on hardware; Type 2 hypervisors run on a host OS.

Type 1 hypervisors provide near-native performance; Type 2 hypervisors have 10-20% overhead.

Type 1 hypervisors are used in data centers and production environments; Type 2 hypervisors are for desktop testing and development.

Common Type 1 examples: ESXi, Hyper-V, Xen, KVM. Common Type 2 examples: VirtualBox, VMware Workstation, Parallels.

Hyper-V is Type 1 even though it requires Windows; the hypervisor runs at boot time.

Type 1 hypervisors support live migration (vMotion) and high availability; Type 2 hypervisors do not.

Security is stronger with Type 1 because there is no host OS to compromise.

Resource overcommitment is safer on Type 1 due to direct hardware control.

The exam may ask you to identify the hypervisor type from a description of its installation method.

For client-side virtualization (Objective 4.1), Type 2 is typically used on laptops/desktops.

Easy to Mix Up

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

Type 1 (Bare-Metal) Hypervisor

Runs directly on physical hardware without a host OS.

Near-native performance (95-99% of bare-metal).

Higher security with smaller attack surface.

Supports enterprise features: live migration, HA, DRS.

Examples: VMware ESXi, Microsoft Hyper-V, KVM.

Type 2 (Hosted) Hypervisor

Runs as an application on top of a host OS.

10-20% performance overhead due to host OS.

Lower security; host OS is a vulnerability point.

Limited to basic features; no live migration typically.

Examples: Oracle VirtualBox, VMware Workstation, Parallels.

Watch Out for These

Mistake

Hyper-V is a Type 2 hypervisor because it runs on Windows.

Correct

Hyper-V is a Type 1 hypervisor. The hypervisor layer runs directly on the hardware; the Windows installation is a management partition (parent partition) that runs as a VM. The hypervisor itself is bare-metal.

Mistake

Type 2 hypervisors are more secure because they benefit from the host OS security features.

Correct

Type 1 hypervisors are more secure because they have a smaller attack surface. The host OS in Type 2 adds a layer that can be compromised, potentially exposing all VMs.

Mistake

VMware Workstation is the same as VMware ESXi.

Correct

VMware Workstation is a Type 2 hypervisor for desktop use, while ESXi is a Type 1 hypervisor for servers. They have different architectures and use cases.

Mistake

Type 1 hypervisors always require dedicated hardware and cannot share resources with other applications.

Correct

Type 1 hypervisors are designed to run VMs, but they can also run management tools and services (e.g., vCenter) as VMs. The hypervisor itself is minimal and does not run general-purpose applications.

Mistake

All Type 1 hypervisors support live migration.

Correct

Most enterprise Type 1 hypervisors support live migration, but not all. For example, free versions of ESXi (vSphere Hypervisor) support live migration only with a vCenter license. Some Type 1 hypervisors may lack this feature.

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 main difference between Type 1 and Type 2 hypervisors?

The main difference is that Type 1 hypervisors run directly on the physical hardware without an underlying operating system, while Type 2 hypervisors run as an application on top of a host OS. This makes Type 1 hypervisors more efficient, secure, and suitable for production environments, whereas Type 2 hypervisors are easier to set up for personal testing.

Is Hyper-V a Type 1 or Type 2 hypervisor?

Hyper-V is a Type 1 hypervisor. When you install the Hyper-V role on Windows Server or enable it on Windows 10/11 Pro, the hypervisor layer is installed at boot time and runs directly on the hardware. The Windows operating system becomes a management partition (parent partition) that runs as a VM. So it is bare-metal, not hosted.

Can I use a Type 2 hypervisor in a data center?

Technically yes, but it is not recommended. Type 2 hypervisors introduce performance overhead, reduced security, and lack enterprise features like live migration and high availability. Data centers typically use Type 1 hypervisors like VMware ESXi or Hyper-V for better performance, isolation, and manageability.

What are examples of Type 1 and Type 2 hypervisors for the exam?

For the 220-1101 exam, memorize: Type 1: VMware ESXi, Microsoft Hyper-V, Citrix XenServer, KVM. Type 2: Oracle VirtualBox, VMware Workstation, Microsoft Virtual PC (legacy), Parallels Desktop. These are the most likely to appear on the exam.

Why is KVM considered Type 1?

KVM (Kernel-based Virtual Machine) is a Linux kernel module that turns the Linux kernel into a hypervisor. It runs directly on the hardware with Linux acting as the hypervisor. Although it requires a Linux host, the hypervisor functionality is integrated into the kernel, making it Type 1. Some older sources called it Type 2, but CompTIA treats it as Type 1.

What performance difference can I expect between Type 1 and Type 2?

Type 1 hypervisors achieve 95-99% of native performance because they have direct hardware access. Type 2 hypervisors typically achieve 80-90% due to the overhead of the host OS. The difference is most noticeable in I/O-intensive workloads.

Which hypervisor type is more secure?

Type 1 hypervisors are more secure because they have a smaller code base and no host OS to attack. The attack surface is limited to the hypervisor itself. In Type 2, if the host OS is compromised, all VMs are at risk.

Terms Worth Knowing

Ready to put this to the test?

You've just covered Type 1 vs Type 2 Hypervisors — now see how well it sticks with free 220-1101 practice questions. Full explanations included, no account needed.

Done with this chapter?