Questions: Virtual Machines and Hypervisors

4 questions to test your understanding

Score: 0 / 4
Question 1 Multiple Choice

A student runs Oracle VirtualBox on a Windows laptop to boot Linux in a window. Which description fits this setup?

AA Type 1 hypervisor, because it runs a full operating system
BA Type 2 hypervisor, because it runs as an application on a host operating system
CA container, because both systems share one kernel
DA paravirtualized system, because Linux must be modified
Question 2 Multiple Choice

Under the classic trap-and-emulate approach, what happens when a guest kernel, running in a less privileged CPU mode, executes a privileged instruction such as one that disables interrupts?

AThe instruction runs on the real CPU and disables interrupts for the whole machine
BThe CPU traps to the hypervisor, which applies the effect to the virtual machine's state only
CThe guest kernel crashes, because guests cannot use privileged instructions
DThe instruction is silently ignored
Question 3 True / False

Each Linux container on a host runs its own separate operating system kernel, just as each virtual machine does.

TTrue
FFalse
Question 4 Short Answer

In 1974, Popek and Goldberg gave a condition for building an efficient trap-and-emulate hypervisor. The original 32-bit x86 architecture did not meet it. State the condition and explain why x86 failed it.

Think about your answer, then reveal below.