← Back to 16. Virtual Machines

πŸ“ Building Blocks in Virtual Machines

πŸ“– From Operating System β€’ 16. Virtual Machines β€’ 7 questions available

Practice MCQs for Building Blocks in Virtual Machines. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

πŸ”„ Last updated: 2026-07-27

2
Easy Questions
3
Medium Questions
2
Hard Questions

πŸ“ Sample Questions

Q1. A virtual machine needs to perform disk I/O on a host that supports hardware-assisted virtualization. Which building block most directly enables this capability?

πŸ”Ή A. Binary translation
πŸ”Ή B. Paravirtualization
πŸ”Ή C. Hardware-assisted virtualization
πŸ”Ή D. Emulated drivers

πŸ’‘ Difficulty: easy | βœ… Correct: C

Q2. In a dual‑mode CPU (user and kernel), a hypervisor must handle privileged instructions issued by a guest OS. Which technique allows the hypervisor to correctly manage these instructions without modifying the guest?

πŸ”Ή A. Binary translation
πŸ”Ή B. Trap‑and‑emulate
πŸ”Ή C. Direct execution
πŸ”Ή D. Shadow paging

πŸ’‘ Difficulty: medium | βœ… Correct: B

Q3. A cloud provider wants to run a hypervisor inside a guest VM to support nested virtualization. Which building block is essential to maintain performance and isolation for the inner guest?

πŸ”Ή A. Virtual CPU scheduler
πŸ”Ή B. I/O virtualization layer
πŸ”Ή C. Nested page tables
πŸ”Ή D. Hypervisor API

πŸ’‘ Difficulty: hard | βœ… Correct: C

⬆️ View all questions in the quiz below

πŸ”— Related Topics

πŸ“ Overview Virtual MachinesπŸ“ History Virtual MachinesπŸ“ Benefits and Features Virtual MachinesπŸ“ Trap and emulate in Building BlocksπŸ“ Binary translation
πŸš€ Start Quiz πŸ“ Practice Mode