Which of the following is a method for achieving file system consistency after a crash?
Caching
Data Replication
Journaling
Disk Striping
Which of the following is an example of a multithreading issue that can lead to deadlock?
A thread exceeding its time slice.
Two threads waiting for each other to release resources.
A thread being starved of resources.
An improper context switch.
In deadlock prevention, which strategy ensures that at least one of the necessary conditions for deadlock cannot hold?
Allocating resources only when the process can obtain all it needs
Allowing indefinite waiting for resource allocation
Allowing preemption of resources
Ensuring processes request resources in a pre-defined order
Which threading library provides a low-level API specifically optimized for multithreading in C?
OpenMP
Win32 Threads
Java Threads
Pthreads
What would most likely happen in a deadlock situation?
Processes will wait indefinitely
All processes will be terminated
Resources will be allocated more efficiently
System performance will improve
Which of the following virtualization strategies allows multiple operating systems to run concurrently on a single hardware platform?
Application Virtualization
Resource Virtualization
Full Virtualization
Network Virtualization
Which scheduling algorithm allows processes to share CPU time fairly?
Round Robin
Priority Scheduling
First-Come, First-Served
Shortest Job First
What do hypervisors use to manage multiple virtual machines?
A dedicated physical CPU
Typecasting
Virtual Machine Monitor (VMM)
File I/O management
Which virtualization technique is most effective for network resources?
Disk Virtualization
Memory Virtualization
What is a potential problem with the Shortest Job Next (SJN) scheduling algorithm?
It may lead to starvation for long processes.
It guarantees fairness among all processes.
It is simple to implement.
It quickly handles high-priority tasks.