Running a VM on a Laptop Requires a Hypervisor

220-1201 By islever Editorial Last updated

Short answer

B Install a hypervisor such as VirtualBox, VMware Workstation, or client Hyper-V to run the virtual machine locally on the programmer's laptop.

Question

A programmer needs to run a virtual machine on their laptop to test an application. Which of the following virtualization technologies is the best way to accomplish this goal?
  1. Containerization
  2. Hypervisor Correct Answer
  3. Virtual desktop infrastructure
  4. Emulation

Key Takeaways

The question tests whether you can map the phrase "run a virtual machine" to a hypervisor, with the main trap being containerization, which programmers use for application testing but which is not a VM.

This CompTIA A+ 220-1201 question asks which virtualization technology lets a programmer run a virtual machine on a laptop, and the answer established here is a hypervisor, the software layer that creates and hosts VMs.

Common mistake: Many candidates pick containerization (A) because Docker is a common way for programmers to test applications, but containers share the host OS kernel and do not create a virtual machine; only a hypervisor does.

Expert Analysis

Why the hypervisor fits. The question states the requirement plainly: run a virtual machine on a laptop. A hypervisor is the software layer that abstracts the CPU, memory, storage, and network hardware to create and run VMs. On a laptop, a programmer would use a hosted (Type 2) hypervisor — examples include Oracle VirtualBox, VMware Workstation, and client Hyper-V — which installs on top of the existing OS and boots whatever guest OS the application under test needs. Option B matches the requirement exactly, and community reasoning agrees that this is the technology actually used to create and run VMs.

Why containerization is the tempting trap. Option A is attractive because programmers really do use containers every day to test applications, and containers start far faster than VMs. But the question's exact wording is the single point where containerization stops being correct: a container is not a virtual machine. Containers share the host OS kernel and isolate only user-space processes, so no separate guest operating system is ever created. The requirement is "run a virtual machine," not "isolate an application," so Option A fails despite matching the programmer-testing scenario.

The remaining distractors. Option D, emulation, sounds plausible because VMs are casually described as "emulating a computer." True emulation, however, translates instructions between different CPU architectures — for example, ARM guest code on x86 silicon — and runs dramatically slowly, the opposite of "best way." Option C, virtual desktop infrastructure, is a data-center service that streams desktops from centralized hosts to endpoints; it never places a VM engine on the programmer's own laptop, so the "on their laptop" requirement rules it out.

Takeaway. In CompTIA doctrine, the phrase "virtual machine" maps to a hypervisor: Type 1 runs bare metal in data centers, while Type 2 runs on a desktop OS, which is exactly the laptop scenario here.

Official Reference

Exam Strategy

When a question says "virtual machine," immediately map it to "hypervisor" before studying the distractors. Then check each option for terms that sound similar but change the scope: containers share the host kernel, VDI streams desktops from a data center, and emulation targets a different CPU architecture. Finally, match the technology to the exact workload and location described — a local VM on a personal laptop points to a hosted (Type 2) hypervisor, while Type 1 hypervisors belong to data-center scenarios.

Frequently Asked Questions

Why isn't containerization the right answer when a programmer wants to test an application?

Containers such as Docker package an application with its user-space libraries but share the host operating system's kernel, so they are not virtual machines. The question specifically asks for technology that runs a VM, which only a hypervisor provides.

What type of hypervisor would a programmer use on a laptop?

A hosted, or Type 2, hypervisor such as Oracle VirtualBox, VMware Workstation, or client Hyper-V installs on top of the laptop's existing OS. It can create and run local virtual machines for application testing.

How is emulation different from virtualization?

Emulation translates instructions from one CPU architecture to run on another, such as ARM software on an x86 laptop, and is much slower. Virtualization with a hypervisor runs compatible guest code natively, making it the better choice for routine testing.

More 220-1201 FAQ →

Community Votes

B
100%

100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 1 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 1

  1. Afie 👍 1 Answered B
    A hypervisor is the technology used to create and run virtual machines (VMs) on a computer. Since the programmer wants to run a VM on a laptop to test an application, a hypervisor is the correct choice. Examples: VMware Workstation Oracle VirtualBox Microsoft Hyper-V

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Practice All 220-1201 Questions

Access 105 questions with complete answers and detailed explanations.

View Full 220-1201 Practice Test →

← Back to 220-1201 Study Guide