Running a VM on a Laptop Requires a Hypervisor
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
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
- https://www.comptia.org/certifications/a
- https://www.virtualbox.org/
- https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/
These links open the official vendor documentation in a new tab.
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?
What type of hypervisor would a programmer use on a laptop?
How is emulation different from virtualization?
Community Votes
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
-
Afie 👍 1 Answered BA 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.
Related Analysis
Practice All 220-1201 Questions
Access 105 questions with complete answers and detailed explanations.
View Full 220-1201 Practice Test →