In the context of virtualization, what is the role of a hypervisor?
To act as a security layer for the host OS
To facilitate hardware interaction for applications
To serve as an operating system for guest machines
To manage and allocate resources among virtual machines
Which of the following is true regarding process synchronization?
Eliminates the need for semaphores
Is unnecessary in single-threaded applications
It helps prevent race conditions
Only applicable in shared memory IPC
Which of the following is a drawback of deadlock detection methods?
Requirement of higher number of processors
Enforcement of user-defined priority levels
Total resource allocation must be defined ahead of time
High overhead in checking for deadlocks
Which of the following represents the modified SCAN algorithm that only services requests in one direction from the current head position?
SCAN
FCFS
C-SCAN
LOOK
What do hypervisors use to manage multiple virtual machines?
Typecasting
Virtual Machine Monitor (VMM)
A dedicated physical CPU
File I/O management
What distinguishes containers from virtual machines?
Containers require a hypervisor
Containers include a full guest OS
Containers are heavier than virtual machines
Containers share the host OS kernel
Which level of memory hierarchy is usually the fastest and smallest in terms of capacity?
Registers
Secondary storage
Cache
Main memory
In deadlock prevention, which strategy ensures that at least one of the necessary conditions for deadlock cannot hold?
Allowing preemption of resources
Ensuring processes request resources in a pre-defined order
Allocating resources only when the process can obtain all it needs
Allowing indefinite waiting for resource allocation
What is a common advantage of using Thread Pooling in multithreading?
It minimizes the chance of deadlocks occurring.
It simplifies context switching for the operating system.
It can reduce the overhead of creating and destroying threads repeatedly.
It requires more resources to manage threads efficiently.
In a paging system, what is the primary purpose of the page table?
To hold data temporarily during execution
To manage I/O operations
To allocate CPU time
To translate logical addresses to physical addresses