โ† Back to 16. Virtual Machines

๐Ÿ“ The virtual machine life cycle

๐Ÿ“– From Operating System โ€ข 16. Virtual Machines โ€ข 10 questions available

Practice MCQs for The virtual machine life cycle. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

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

2
Easy Questions
5
Medium Questions
3
Hard Questions

๐Ÿ“ Sample Questions

Q1. What does the abbreviation VCPU stand for in virtualization?

๐Ÿ”น A. Virtual Central Processing Unit
๐Ÿ”น B. Virtual CPU
๐Ÿ”น C. Virtual Core Processing Unit
๐Ÿ”น D. Virtualized Control Processing Unit

๐Ÿ’ก Difficulty: easy | โœ… Correct: B

Q2. A guest operating system tries to execute a privileged instruction while running under a trapโ€‘andโ€‘emulate VMM. What should the VMM do?

๐Ÿ”น A. Emulate the instruction and resume the guest
๐Ÿ”น B. Shut down the guest immediately
๐Ÿ”น C. Ignore the instruction and let the CPU fault
๐Ÿ”น D. Switch to hypervisor mode and reboot the host

๐Ÿ’ก Difficulty: medium | โœ… Correct: A

Q3. A VMM must schedule three guests, each with its own VCPU state. Which action is required when switching from Guestโ€ฏA to Guestโ€ฏB?

๐Ÿ”น A. Save only the program counter of Guestโ€ฏA
๐Ÿ”น B. Save registers and memory state of Guestโ€ฏA
๐Ÿ”น C. No state saving is needed because the VMM handles it automatically
๐Ÿ”น D. Save only the instruction pointer of Guestโ€ฏA

๐Ÿ’ก Difficulty: hard | โœ… Correct: B

โฌ†๏ธ View all questions in the quiz below

๐Ÿ”— Related Topics

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