WorksheetsPE4 CC Unit 3 part 1 Quiz
Total questions: 30
Worksheet time: 15mins
What does virtualization allow?
Sharing of physical resources
Elimination of hardware
Direct hardware access
Removal of OS
Which technique combines multiple physical resources into one virtual resource?
Multiplexing
Aggregation
Emulation
Layering
What is the role of a Virtual Machine Monitor (VMM)?
Execute user applications
Manage hardware directly
Control resource sharing among VMs
Compile portable code
What is layering used for in virtualization?
Increase hardware speed
Abstract physical resources
Remove OS dependencies
Emulate devices
Which interface connects applications to libraries?
ABI
ISA
API
VMM
What does ABI stand for?
Application Binary Interface
Advanced BIOS Interface
Application Base Integration
Architecture Binary Interface
Which layer interacts directly with hardware?
Applications
Libraries
Operating System
ISA
What is portable code?
Code tied to one OS
Code that runs on multiple ISAs
Code written in assembly
Code that cannot be compiled
What does a VMM use to manage memory?
Cache tables
Shadow page tables
Virtual registers
RAM buffers
What is copy-on-write used for?
Increase CPU speed
Avoid memory duplication
Emulate hardware
Schedule tasks
Which virtualization type modifies the guest OS?
Full virtualization
Para virtualization
Hybrid virtualization
Hosted virtualization
What is a hosted VM?
VMM runs directly on hardware
VMM runs under host OS
VMM shares hardware with OS
VMM runs without OS
Which VM type offers minimal overhead?
Hosted VM
Hybrid VM
Traditional VM
Para VM
What is the main advantage of para virtualization?
No OS modification
Better performance
Full isolation
Hardware emulation
What does VT-x provide?
Network virtualization
Virtual machine control structure
Disk aggregation
OS scheduling
What is fair queuing used for?
Memory allocation
Scheduling tasks fairly
Emulating hardware
Resource bundling
What is ballooning in memory virtualization?
Increasing CPU speed
Adjusting memory allocation dynamically
Compressing disk space
Scheduling interrupts
What is the role of the ISA?
Interface between OS and hardware
Interface between apps and libraries
Interface between VMs
Interface between VMM and OS
What is the benefit of portable code?
Requires recompilation
Platform dependency
Cross-platform compatibility
Slower performance
What does VT-d support?
Disk virtualization
I/O virtualization
CPU scheduling
OS emulation
What is the main challenge in x86 virtualization?
Lack of memory
Ring deprivileging
No OS support
Slow CPUs
What is emulation in virtualization?
Sharing resources
Mimicking another resource
Scheduling tasks
Compressing memory
What does multiplexing do?
Combines resources
Shares one resource among many
Emulates hardware
Compresses memory
What is the function of system calls?
Interface with hardware directly
Request OS-level services
Compile code
Schedule tasks
What is the role of the compiler back-end?
Translate HLL to machine code
Manage memory
Schedule processes
Emulate OS
What is a process VM?
Runs multiple OSes
Created for a single process
Requires hardware emulation
Shares memory across VMs
What is the benefit of full virtualization?
Requires OS modification
High performance
Guest OS unaware of VM
No isolation
What is the role of the hypervisor in full virtualization?
Modify guest OS
Emulate hardware behavior
Schedule tasks
Compile code
What does performance isolation ensure?
Equal memory usage
Prevents one VM from affecting others
Faster CPU
Shared disk access
What does security isolation prevent?
OS crashes
Unauthorized access between VMs
Memory leaks
Slow performance
