Cloud and virtualizationIntermediate22 min read

What Is Hypervisor in Cloud Computing?

Reviewed byJohnson Ajibi· Senior Network & Security Engineer · MSc IT Security

This page mentions older exam versions. See the Current Exam Context and Legacy Exam Context sections below for the updated mapping.

On This Page

Quick Definition

A hypervisor is a piece of software that lets you run multiple operating systems on one computer at the same time. It sits between the hardware and the operating systems, managing resources like CPU, memory, and storage. Think of it as a traffic controller that makes sure each virtual machine gets what it needs without interfering with the others.

Commonly Confused With

HypervisorvsContainer (like Docker)

A hypervisor virtualizes hardware and runs a full operating system (each VM has its own OS kernel). Containers virtualize at the OS level and share the host kernel. Containers are lighter and start faster, but they are less isolated than VMs.

Think of VMs as separate houses with their own foundations; containers are apartments in the same building sharing the same plumbing and electricity.

HypervisorvsVirtual Machine

A hypervisor is the software that creates and manages virtual machines. A virtual machine is the actual guest environment that runs an operating system and applications. The hypervisor is like a landlord; the VM is the rented apartment.

You install VMware ESXi (the hypervisor) on a server, then create a VM running Windows. ESXi is the hypervisor; the Windows machine is the VM.

HypervisorvsEmulator (like QEMU without acceleration)

An emulator simulates the entire hardware in software, allowing software written for one architecture to run on another (e.g., an ARM OS on x86). A hypervisor uses hardware virtualization extensions to directly execute guest code on the host CPU, which is much faster.

Running a Raspberry Pi OS on your PC using QEMU is emulation; running a Windows VM on VMware Workstation using Intel VT-x is virtualization.

HypervisorvsVirtual Private Server (VPS)

A VPS is typically created by a hosting provider using a hypervisor, but the term refers to the service package (root access, dedicated resources) rather than the technology. Hypervisor is the underlying technology; VPS is the product.

When you rent a VPS from a provider like DigitalOcean, the provider uses a hypervisor (KVM) to create your virtual machine. You pay for the VPS; the hypervisor makes it possible.

Must Know for Exams

Hypervisors appear across many IT certification exams, from entry-level to advanced. In CompTIA A+ (220-1001/220-1002), hypervisors are part of the cloud computing and virtualization objectives. You may be asked to identify the two types of hypervisors, explain the difference between Type 1 and Type 2, or recognize scenarios where each is appropriate. Questions often present a use case, like running a test lab on a laptop (Type 2) versus hosting production servers in a data center (Type 1).

In CompTIA Network+ (N10-008), hypervisors tie into network virtualization (virtual switches, VLANs, and NSX concepts). You might see questions about how virtual machines communicate on the same host (via virtual switch) or how network traffic is isolated between tenants. The Network+ objectives include understanding the role of hypervisors in software-defined networking (SDN).

CompTIA Security+ (SY0-601) covers hypervisors in the context of virtualization security. Exam objectives include understanding the security implications of hypervisor attacks, such as VM escape, and how to harden hypervisors (patching, disabling unnecessary services, using secure configurations). You may be asked about the security differences between Type 1 and Type 2 hypervisors.

For cloud certifications like CompTIA Cloud+ (CV0-003) and AWS Cloud Practitioner/Architect, hypervisors are fundamental. Cloud+ devotes an entire domain to virtualization, covering hypervisor types, resource allocation, and migration techniques. AWS exams ask about the AWS Nitro System, which is a hypervisor-based architecture. Questions may compare hypervisor-hosted EC2 instances with bare-metal instances.

Cisco CCNA (200-301) touches on hypervisors in the context of network virtualization and virtual routing/forwarding (VRF). While not a primary focus, you may encounter hypervisor scenarios in questions about virtual appliances or virtual switching.

Microsoft Azure exams (AZ-900, AZ-104) cover Hyper-V as the underlying hypervisor. You should know that Azure uses a modified version of Hyper-V. Questions may ask about how VMs are isolated at the hypervisor level or how Azure dedicates physical resources (e.g., D-series VMs).

In all these exams, hypervisor questions typically fall into these categories: definition (What is a hypervisor?), comparison (Type 1 vs Type 2), scenario (You need to host multiple OSes with minimal overhead, choose Type 1), troubleshooting (A VM is slow, could be resource contention from other VMs on the same host), and security (What is the biggest security risk of a hypervisor?).

Expect multiple-choice, single-answer, and performance-based questions (drag-and-drop, ordering steps to set up a VM). The key is to understand the core concepts and apply them to real situations.

Simple Meaning

Imagine you have one big apartment building with a single landlord. The landlord (the hypervisor) decides how to split the building into separate apartments (virtual machines). Each apartment has its own rooms, kitchen, and bathroom, but the plumbing and electricity come from the building's shared systems. The landlord makes sure no tenant uses too much water or causes a blackout for everyone else.

In computing, the hypervisor does the same thing with a physical server. You have one powerful computer with lots of memory, processing power, and storage. The hypervisor divides those resources into isolated virtual machines. Each virtual machine acts like a completely separate computer, running its own operating system (like Windows or Linux) and applications. The hypervisor decides which virtual machine gets access to the CPU at any given moment, how much memory each one can use, and where to store its files.

There are two main types of hypervisors. Type 1, also called a bare-metal hypervisor, runs directly on the computer's hardware without an underlying operating system. It is like the landlord who lives in the building and manages everything first-hand. Type 2, or hosted hypervisor, runs on top of an existing operating system, like a property manager who works from a separate office. Type 1 is commonly used in data centers and cloud computing because it is more efficient and secure. Type 2 is more common for personal use, like running a virtual machine on your laptop to test software.

The hypervisor is the foundation of cloud computing. When you use services like Amazon Web Services, Microsoft Azure, or Google Cloud, hypervisors are what make it possible to run thousands of virtual servers on a single physical machine. They allow companies to maximize hardware utilization, reduce costs, and quickly spin up new servers as needed.

Full Technical Definition

A hypervisor, also known as a virtual machine monitor (VMM), is a layer of software that abstracts the underlying physical hardware and presents it as virtualized resources to guest operating systems. It is responsible for partitioning and isolating hardware resources such as CPU cores, memory, storage, and network interfaces among multiple virtual machines (VMs).

There are two primary types. Type 1 hypervisors run directly on the physical hardware without a host operating system. Examples include VMware ESXi, Microsoft Hyper-V, KVM (Kernel-based Virtual Machine), and Xen. These are commonly deployed in enterprise data centers and cloud environments because they offer near-native performance, high scalability, and strong isolation. Type 2 hypervisors run as an application on top of an existing operating system (the host OS). Examples include VMware Workstation, Oracle VirtualBox, and Parallels Desktop. They are typically used for development, testing, and desktop virtualization.

The hypervisor performs resource scheduling using techniques such as CPU scheduling algorithms (e.g., credit scheduler in Xen, CFS in KVM) to allocate physical CPU time to VMs. Memory management involves partitioning physical memory and using shadow page tables or hardware-assisted virtualization (Intel EPT/AMD NPT) to translate virtual memory addresses to physical addresses without guest OS modification. I/O virtualization can be handled through emulation (e.g., QEMU), paravirtualization (e.g., VirtIO drivers), or hardware pass-through (e.g., SR-IOV) where the VM directly accesses physical devices.

Key protocols and standards include the Virtual Machine Interface (VMI) for paravirtualized drivers, Open Virtualization Format (OVF) for packaging and distributing VMs, and the libvirt API for managing hypervisors programmatically. Modern hypervisors rely heavily on hardware virtualization extensions such as Intel VT-x and AMD-V to reduce overhead and improve security. Features like live migration (moving a running VM between hosts), snapshots, and high availability are common in enterprise hypervisors.

In real IT implementation, hypervisors are deployed in clusters with shared storage (SAN or NAS) and virtual networking (vSwitches). Management platforms like VMware vCenter or Microsoft System Center VMM provide centralized control. Security considerations include VM escape attacks (where a guest OS breaks isolation to access the host), resource exhaustion (e.g., noisy neighbor VMs consuming all I/O), and ensuring proper patch management for the hypervisor software itself.

Real-Life Example

Think about a large office building with a single powerful electrical generator that supplies power to all floors. The building manager has a control panel that allows him to direct electricity to each floor based on need. The accounting floor might need more power during month-end closing, while the sales floor uses very little when the team is out on calls. The manager sets limits so that no single floor can draw so much power that it causes a blackout for others.

In the IT world, the hypervisor is exactly that building manager. The physical server is the generator, providing CPU processing power, memory, and storage. Each virtual machine is like a different floor in the building, running its own operating system and applications. The hypervisor allocates resources dynamically, maybe giving more CPU power to a web server during peak traffic and less during off-hours. It also enforces limits so one virtual machine cannot hog all the resources and slow down others.

Just like the building manager can add a new floor without building a new generator, the hypervisor lets you create new virtual machines without buying new hardware. And if one floor (VM) has a problem, like an electrical fire, the building manager can isolate that floor so the rest of the building stays safe. In virtualization, if a VM crashes or gets infected with malware, the hypervisor keeps it isolated from the other VMs on the same host. This is why hypervisors are so valuable for data centers: they make hardware more efficient, flexible, and secure.

Why This Term Matters

Hypervisors are the backbone of modern IT infrastructure. They allow organizations to consolidate dozens or even hundreds of physical servers into a handful of powerful machines, dramatically reducing hardware costs, power consumption, and physical space. For IT professionals, understanding hypervisors is essential for managing data centers, deploying cloud services, and enabling DevOps workflows.

In practice, hypervisors enable rapid provisioning. Instead of ordering a physical server and waiting weeks for delivery, an administrator can create a new virtual machine in minutes using a management console. This agility is critical for scaling services to meet demand, testing new software in isolated environments, and recovering from failures. Hypervisors also support features like snapshots, which let you roll back a VM to a previous state if an update goes wrong, and live migration, which moves a running VM to another host without downtime.

From a career perspective, hypervisor skills are highly transferable. Whether you work with VMware, Hyper-V, KVM, or cloud providers like AWS (which uses a custom Xen-based hypervisor, now KVM in many regions), the underlying concepts are the same. Certification exams like CompTIA A+, Network+, Security+, and cloud-specific exams heavily test hypervisor knowledge. Understanding hypervisors also helps with troubleshooting performance issues, planning capacity, and securing virtualized environments against threats like VM escape or resource exhaustion.

For businesses, hypervisors enable the entire idea of the cloud. Without hypervisors, cloud providers could not offer multi-tenant virtual servers on shared infrastructure. So, whether you are a system administrator, a network engineer, or a security professional, hypervisors will be part of your daily work.

How It Appears in Exam Questions

Exam questions about hypervisors typically fall into several distinct patterns. The most common is the definition and classification question. For example: "Which of the following is a Type 1 hypervisor?" with options like VMware ESXi, VMware Workstation, Oracle VirtualBox, or Microsoft Hyper-V (if you are careful, Hyper-V can run as Type 1 on bare metal or Type 2 if Windows is installed). You need to know that ESXi and Xen are Type 1, while Workstation and VirtualBox are Type 2.

Another pattern is the scenario question. The exam might describe a situation: "A company wants to consolidate five physical servers into one server. Which technology should they use?" The answer is a hypervisor. Or they might ask: "An administrator needs to run a Linux test environment on a Windows laptop. Which type of hypervisor should they use?" Answer: Type 2 hypervisor, like Workstation or VirtualBox.

There are also configuration questions, especially in Cloud+ and Azure exams. For example: "You need to ensure that a virtual machine always receives a minimum amount of CPU resources regardless of other VMs. Which feature should you configure?" The answer is resource reservations or shares, which is a hypervisor scheduling feature. Or "A VM is experiencing high latency to its virtual disk. What could be the cause?" Possible answers include storage I/O contention on the hypervisor, or that the VM is using emulated storage drivers instead of paravirtualized (VirtIO) drivers.

In security exams, you might see: "A security administrator is concerned about VM escape attacks. Which of the following is the best mitigation?" Options may include keeping the hypervisor patched, using a Type 2 hypervisor (wrong), or enabling secure boot. The correct answer is keeping the hypervisor software up to date, as VM escape often exploits known hypervisor vulnerabilities.

Network+ and CCNA may present topology questions like: "Two virtual machines on the same hypervisor need to communicate without using physical network infrastructure. What component facilitates this?" Answer: a virtual switch (vSwitch) implemented by the hypervisor.

Finally, there are troubleshooting scenarios: "After provisioning a new VM, the operating system does not see the full 4 GB of memory allocated. What is the likely issue?" The answer could be that the VM is running a 32-bit OS that cannot address more than 4 GB, or that the hypervisor has not assigned the memory correctly. In performance-based questions, you may be asked to configure a VM's resource settings (CPU, memory, disk) in a simulated environment.

Practise Hypervisor Questions

Test your understanding with exam-style practice questions.

Practise

Example Scenario

You are an IT administrator for a mid-sized company. Currently, the company has three physical servers: one running Windows Server for Active Directory, one running Linux for a web server, and one running Windows for a file server. Each server is only using about 20% of its CPU capacity, but the electricity bills are high and the server room is crowded. Your manager asks you to reduce costs and simplify management.

You decide to use a Type 1 hypervisor, VMware ESXi, and install it on a new powerful server with 64 GB RAM, 16 CPU cores, and 4 TB of storage. After installing ESXi, you create three virtual machines on the same host. The first VM runs Windows Server for Active Directory, the second runs Linux for the web server, and the third runs Windows for the file server. You assign each VM enough resources (e.g., 2 vCPUs, 8 GB RAM each) and configure virtual networking so they can communicate with each other and with the rest of the network.

Now, instead of three physical machines consuming power and cooling, you have one physical server running three VMs. If the web server needs more CPU during high traffic, you can adjust its resources live without shutting it down. If the Linux VM crashes, it does not affect the Windows VMs. You also use snapshots before applying security patches, so if something breaks, you can roll back instantly. Later, you migrate the VMs to a second ESXi host (live migration) for a hardware upgrade without any downtime. This is exactly how hypervisors are used in real data centers.

In an exam, you might be asked: "After consolidating servers using a hypervisor, what is the immediate benefit?" Answer: Reduced hardware cost and power consumption. Or "What feature allows you to move a running VM to another host?" Answer: Live migration (vMotion in VMware).

Common Mistakes

Thinking that Type 2 hypervisors are always better because they are cheaper.

Type 2 hypervisors run on top of a host OS, which adds overhead and reduces performance. They are not suitable for production data centers where performance and security are critical.

Use Type 1 hypervisors for enterprise workloads and Type 2 only for testing or personal use.

Believing a hypervisor and a virtual machine are the same thing.

A hypervisor is the software that manages VMs, while a VM is an instance of a guest operating system running on top of the hypervisor. They are different layers.

Remember: the hypervisor is the platform; the VM is the workload running on that platform.

Assuming all hypervisors support live migration.

Live migration is a feature found in enterprise hypervisors like VMware vSphere, Microsoft Hyper-V, and KVM with proper configuration. It is not available in all hypervisors (e.g., Oracle VirtualBox does not support live migration).

Check the specific hypervisor's capabilities before assuming features like live migration, snapshots, or high availability.

Thinking that a Type 1 hypervisor requires a host operating system.

Type 1 hypervisors run directly on the hardware, so they do not need a host OS. They are often embedded in a lightweight kernel. For example, ESXi boots directly on the server without Windows or Linux underneath.

Type 1 = bare metal. Type 2 = hosted on an OS.

Believing that virtual machines are always isolated from each other.

While hypervisors provide strong isolation, vulnerabilities (like VM escape) or misconfigurations (shared folders, overly permissive virtual networking) can break isolation. Security still requires proper configuration and patch management.

Treat each VM as a physically separate server from a security perspective. Use network segmentation and avoid unnecessary sharing.

Exam Trap — Don't Get Fooled

{"trap":"The exam describes a scenario where a company wants to run multiple operating systems on a single laptop for testing. The options include a Type 1 hypervisor (e.g., VMware ESXi) and a Type 2 hypervisor (e.

g., VMware Workstation). Many learners choose ESXi because it is more powerful, but that is wrong.","why_learners_choose_it":"Learners think that 'more powerful' or 'enterprise-grade' is always the correct choice.

They also may not realize that Type 1 hypervisors require installation on bare metal and cannot run on top of Windows.","how_to_avoid_it":"Read the scenario carefully. If the question mentions a laptop running Windows, a Type 1 hypervisor is not an option because you cannot install ESXi on top of Windows.

Type 2 hypervisors like Workstation or VirtualBox are designed for this use case. Always match the hypervisor type to the environment."

Step-by-Step Breakdown

1

Install the hypervisor on physical hardware

For a Type 1 hypervisor, you boot the physical server from the hypervisor installation media (e.g., USB with ESXi ISO). The hypervisor installs directly onto the server's disk, replacing the need for a traditional operating system. This gives the hypervisor full control over hardware resources.

2

Configure networking and storage

After installation, you configure virtual switches (vSwitches) to connect VMs to the network and set up storage (local disks or shared SAN/NAS) for VM files. This step creates the infrastructure for VMs to access network and disk resources.

3

Create a virtual machine

Using a management console (like vSphere Web Client or Hyper-V Manager), you define a VM by specifying its virtual hardware: number of virtual CPUs, amount of memory, disk size, and network adapter type. The hypervisor allocates the necessary resources from the physical host.

4

Install a guest operating system on the VM

You mount an ISO file of the OS (e.g., Windows Server or Ubuntu) to the VM's virtual DVD drive and boot the VM. The OS installs just like it would on physical hardware, but it communicates with the hypervisor through emulated or paravirtualized devices.

5

Install hypervisor tools (VMware Tools, Integration Services)

These tools provide optimized drivers for network, storage, and mouse/keyboard, as well as enabling features like live migration and graceful shutdown. Without these tools, the VM may perform poorly or lack advanced functionality.

6

Manage and monitor VMs

The hypervisor provides interfaces to start, stop, pause, snapshot, and migrate VMs. Monitoring tools track resource usage (CPU, memory, disk I/O) to identify contention. This step is where day-to-day administration happens, including patching the hypervisor and guest OSes.

Practical Mini-Lesson

In practice, working with hypervisors is a core skill for any systems administrator. Let me walk you through what that looks like day-to-day.

When you first arrive at a data center (or access a remote management interface), you typically connect to a hypervisor management platform like VMware vCenter, Microsoft Hyper-V Manager, or Proxmox. These platforms give you a consolidated view of all your physical hosts and VMs. From there, you can create new VMs by right-clicking and selecting 'New VM.' You'll be prompted to choose a name, datastore location, compatibility level (e.g., ESXi 7.0), and hardware specifications. You need to understand the workload to correctly allocate resources. A database server needs more RAM and fast storage, while a web server may prioritize CPU and network throughput.

One common pitfall is overcommitting resources. Hypervisors allow you to allocate more virtual CPUs and RAM than physically exist (overcommitment), but you must monitor usage. If you create 20 VMs each with 8 GB RAM on a host with 64 GB RAM, the host will begin swapping memory, and performance will tank. Professionals set reservations (guarantees) and limits (caps) to prevent this. For example, you might reserve 4 GB for a critical VM and limit a test VM to 2 GB.

Networking is another area where hypervisors require careful attention. Each hypervisor has a virtual switch that connects VMs to physical network adapters. You can create multiple virtual switches for different purposes: one for management traffic, one for VM data, one for storage (iSCSI). If you mis-configure VLANs or forget to trunk ports, VMs might not get network connectivity. In exam scenarios, this appears as questions about virtual switch configuration or troubleshooting connectivity between VMs.

Storage also presents challenges. In production, you often use shared storage (SAN, NAS, or vSAN) so VMs can be moved between hosts. You need to configure datastores, and sometimes you must decide between thick-provisioned (all space allocated upfront) and thin-provisioned (space allocated on demand) disks. Thin provisioning saves space but can cause issues if the datastore fills up unexpectedly.

Finally, security is an ongoing task. You must apply hypervisor patches regularly (e.g., ESXi patches). You should disable services you don't need (like SSH unless required), use strong authentication (Active Directory integration), and lock down the hypervisor management interface to trusted networks. A vulnerable hypervisor can compromise all VMs running on it. In exams, these topics are central to virtualization security questions.

Memory Tip

Think 'Hypervisor = Hotel Manager', the manager (Type 1) lives in the building and runs it directly; the assistant manager (Type 2) works from a separate office (host OS) and relies on the manager's permission.

Covered in These Exams

Current Exam Context

Current exam versions that test this topic — use these objectives when studying.

Legacy Exam Context

Older materials may mention these exam versions, but learners should use the current objectives for their target exam.

N10-008N10-009(current version)
SY0-601SY0-701(current version)
220-1001220-1101(current version)
220-1002220-1102(current version)

Related Glossary Terms

Frequently Asked Questions

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

Type 1 hypervisors run directly on the physical hardware without a host operating system, offering better performance and security for enterprise use. Type 2 hypervisors run on top of an existing OS and are more suited for testing or personal use.

Can I run a hypervisor on my laptop?

Yes, you can install a Type 2 hypervisor like VMware Workstation or Oracle VirtualBox on your laptop. This allows you to run virtual machines alongside your regular operating system for learning or testing.

Is a hypervisor the same as a virtual machine?

No. A hypervisor is the software that creates and manages virtual machines. A virtual machine is a simulated computer environment that runs an operating system and applications. The hypervisor is like the stage, and the VM is the play.

What is a VM escape attack?

A VM escape attack occurs when an attacker breaks out of a guest virtual machine and gains access to the hypervisor or other VMs. This is a critical vulnerability because it compromises the isolation that the hypervisor is supposed to provide.

Do all hypervisors support live migration?

No, only enterprise-grade hypervisors like VMware vSphere, Microsoft Hyper-V, and KVM typically support live migration. Simple hypervisors like VirtualBox do not have this feature.

Which hypervisor does AWS use?

AWS originally used a custom Xen-based hypervisor. In recent years, they have shifted to a KVM-based hypervisor called the Nitro System, which provides better performance and security.

Summary

A hypervisor is foundational technology for virtualization and cloud computing. It is software that partitions a physical server into multiple isolated virtual machines, each running its own operating system. There are two main types: Type 1 (bare-metal) hypervisors that run directly on hardware, and Type 2 (hosted) hypervisors that sit on top of an existing operating system. Type 1 is preferred in data centers and cloud environments due to better performance, security, and scalability.

Understanding hypervisors is critical for IT certification exams from CompTIA A+ through AWS and Azure. Questions often test your knowledge of hypervisor types, resource allocation, virtualization security, and real-world configuration. You should be comfortable with scenarios that involve choosing the right hypervisor type for a given situation, troubleshooting VM performance issues, and identifying security risks like VM escape.

In the professional world, hypervisors enable server consolidation, rapid provisioning, and disaster recovery. They are the reason cloud providers can offer cheap, on-demand virtual servers. As an IT professional, you will likely manage hypervisors daily, whether through vCenter, Hyper-V Manager, or cloud management interfaces. Mastering hypervisors gives you a strong foundation for system administration, network engineering, and cloud operations.

For exams, remember the key points: Type 1 vs Type 2 differences, common hypervisor examples, the role of virtualization in resource management, and security best practices. Use the 'hotel manager' analogy to remember the difference. And always read scenario questions carefully to determine whether the environment supports a Type 1 or Type 2 hypervisor.