CS 6210 Advanced Operating Systems
Exam Practice Questions And Correct
Answers (Verified Answers) Plus
Rationale 2027 Q&A| Instant Download
Pdf.
1. Which architectural principle best characterizes a microkernel-based
operating system such as L4, in contrast to a traditional monolithic
kernel?
A. All device drivers and file systems must execute inside the kernel for
maximum performance
B. Only a minimal set of mechanisms, such as address-space management,
scheduling, and interprocess communication, execute in privileged mode
C. Applications are prohibited from communicating directly with one
another
D. Hardware virtualization is required for every system call
The rationale is that microkernels minimize privileged kernel functionality
and move services such as file systems and drivers into user-level
components. This separation improves modularity and fault isolation while
relying on efficient mechanisms such as IPC to maintain performance.
2. What is the principal design goal of the SPIN operating system's
extensibility mechanism?
,A. To eliminate the need for virtual memory
B. To execute every operating-system service in a separate virtual machine
C. To allow application-specific operating-system extensions while
maintaining safety through language-based protection
D. To replace all kernel code with interpreted scripts
The rationale is that SPIN explored extensibility by allowing applications to
specialize operating-system behavior while using Modula-3 language
mechanisms and protection boundaries to prevent unsafe extensions from
compromising the system.
3. The Exokernel architecture differs fundamentally from a conventional
monolithic operating system because it primarily seeks to:
A. Hide all hardware details from applications
B. Implement all abstractions inside the kernel
C. Securely multiplex hardware resources while allowing applications to
implement higher-level abstractions
D. Replace processes with distributed objects
The rationale is that an exokernel exposes low-level resources safely rather
than imposing heavyweight abstractions. Library operating systems can
then implement abstractions suited to particular applications.
4. Which statement most accurately describes the concept of an
operating-system mechanism versus a policy?
A. A mechanism determines what should happen, while policy determines
how it happens
B. A mechanism provides the capability to perform an operation, while
policy determines when or why that capability is used
C. Mechanisms exist only in distributed systems
D. Policies must always execute in kernel mode
The rationale is that separating mechanism from policy allows the same
low-level capability to support different policies. This separation is an
important architectural principle for flexible operating systems.
, 5. In a capability-based protection system, what does possession of a
capability generally imply?
A. The holder has unrestricted access to the entire machine
B. The holder is necessarily a kernel process
C. The holder has an unforgeable authority to perform specified operations
on a particular protected object
D. The holder can automatically modify the access rights of all other
processes
The rationale is that a capability combines a protected reference to an
object with associated rights. Possessing the capability provides authority,
while unforgeability prevents unauthorized creation of equivalent
authority.
6. What is the principal advantage of using user-level operating-system
services in a microkernel design?
A. User-level services always execute faster than kernel services
B. Failures in one service can potentially be isolated without crashing the
entire kernel
C. User-level services eliminate context switches
D. User-level services automatically have direct access to all physical
memory
The rationale is that moving services outside the trusted kernel reduces the
trusted computing base and allows failures or security compromises in
individual services to be contained within their protection domains.
7. Which statement correctly describes virtualization of CPU resources?
A. CPU virtualization requires assigning a dedicated physical processor
permanently to every virtual machine
B. A hypervisor multiplexes physical CPU execution among virtual CPUs
while preserving an appropriate virtual machine execution environment
C. CPU virtualization only changes the virtual machine's disk layout
D. CPU virtualization is equivalent to virtual memory paging
, The rationale is that CPU virtualization abstracts physical processors into
virtual CPUs. The hypervisor schedules virtual CPUs and ensures that
privileged operations remain controlled by the virtualization layer.
8. What is a key challenge in virtualizing a processor architecture using
traditional trap-and-emulate techniques?
A. User-level instructions cannot execute on a physical CPU
B. Some sensitive instructions may fail to trap when executed outside the
highest privilege level
C. Virtual machines cannot contain operating systems
D. Memory cannot be virtualized simultaneously with the CPU
The rationale is that classic trap-and-emulate virtualization assumes
sensitive operations cause traps. Architectures containing sensitive but
non-trapping instructions require techniques such as binary translation or
hardware virtualization extensions.
9. Which hardware feature most directly assists modern hypervisors in
isolating guest operating systems?
A. Larger L1 caches
B. SIMD instructions
C. Hardware-supported privilege levels or virtualization modes that
distinguish guest execution from hypervisor execution
D. Hardware timers used only for display refresh
The rationale is that hardware virtualization extensions provide explicit
mechanisms for entering and controlling guest execution, making isolation
and privileged-operation handling substantially more efficient and reliable.
10. In memory virtualization, what is the primary purpose of a
second-level address translation mechanism such as nested paging?
A. To eliminate page tables completely
B. To translate guest physical addresses into host physical addresses under
hypervisor control
Exam Practice Questions And Correct
Answers (Verified Answers) Plus
Rationale 2027 Q&A| Instant Download
Pdf.
1. Which architectural principle best characterizes a microkernel-based
operating system such as L4, in contrast to a traditional monolithic
kernel?
A. All device drivers and file systems must execute inside the kernel for
maximum performance
B. Only a minimal set of mechanisms, such as address-space management,
scheduling, and interprocess communication, execute in privileged mode
C. Applications are prohibited from communicating directly with one
another
D. Hardware virtualization is required for every system call
The rationale is that microkernels minimize privileged kernel functionality
and move services such as file systems and drivers into user-level
components. This separation improves modularity and fault isolation while
relying on efficient mechanisms such as IPC to maintain performance.
2. What is the principal design goal of the SPIN operating system's
extensibility mechanism?
,A. To eliminate the need for virtual memory
B. To execute every operating-system service in a separate virtual machine
C. To allow application-specific operating-system extensions while
maintaining safety through language-based protection
D. To replace all kernel code with interpreted scripts
The rationale is that SPIN explored extensibility by allowing applications to
specialize operating-system behavior while using Modula-3 language
mechanisms and protection boundaries to prevent unsafe extensions from
compromising the system.
3. The Exokernel architecture differs fundamentally from a conventional
monolithic operating system because it primarily seeks to:
A. Hide all hardware details from applications
B. Implement all abstractions inside the kernel
C. Securely multiplex hardware resources while allowing applications to
implement higher-level abstractions
D. Replace processes with distributed objects
The rationale is that an exokernel exposes low-level resources safely rather
than imposing heavyweight abstractions. Library operating systems can
then implement abstractions suited to particular applications.
4. Which statement most accurately describes the concept of an
operating-system mechanism versus a policy?
A. A mechanism determines what should happen, while policy determines
how it happens
B. A mechanism provides the capability to perform an operation, while
policy determines when or why that capability is used
C. Mechanisms exist only in distributed systems
D. Policies must always execute in kernel mode
The rationale is that separating mechanism from policy allows the same
low-level capability to support different policies. This separation is an
important architectural principle for flexible operating systems.
, 5. In a capability-based protection system, what does possession of a
capability generally imply?
A. The holder has unrestricted access to the entire machine
B. The holder is necessarily a kernel process
C. The holder has an unforgeable authority to perform specified operations
on a particular protected object
D. The holder can automatically modify the access rights of all other
processes
The rationale is that a capability combines a protected reference to an
object with associated rights. Possessing the capability provides authority,
while unforgeability prevents unauthorized creation of equivalent
authority.
6. What is the principal advantage of using user-level operating-system
services in a microkernel design?
A. User-level services always execute faster than kernel services
B. Failures in one service can potentially be isolated without crashing the
entire kernel
C. User-level services eliminate context switches
D. User-level services automatically have direct access to all physical
memory
The rationale is that moving services outside the trusted kernel reduces the
trusted computing base and allows failures or security compromises in
individual services to be contained within their protection domains.
7. Which statement correctly describes virtualization of CPU resources?
A. CPU virtualization requires assigning a dedicated physical processor
permanently to every virtual machine
B. A hypervisor multiplexes physical CPU execution among virtual CPUs
while preserving an appropriate virtual machine execution environment
C. CPU virtualization only changes the virtual machine's disk layout
D. CPU virtualization is equivalent to virtual memory paging
, The rationale is that CPU virtualization abstracts physical processors into
virtual CPUs. The hypervisor schedules virtual CPUs and ensures that
privileged operations remain controlled by the virtualization layer.
8. What is a key challenge in virtualizing a processor architecture using
traditional trap-and-emulate techniques?
A. User-level instructions cannot execute on a physical CPU
B. Some sensitive instructions may fail to trap when executed outside the
highest privilege level
C. Virtual machines cannot contain operating systems
D. Memory cannot be virtualized simultaneously with the CPU
The rationale is that classic trap-and-emulate virtualization assumes
sensitive operations cause traps. Architectures containing sensitive but
non-trapping instructions require techniques such as binary translation or
hardware virtualization extensions.
9. Which hardware feature most directly assists modern hypervisors in
isolating guest operating systems?
A. Larger L1 caches
B. SIMD instructions
C. Hardware-supported privilege levels or virtualization modes that
distinguish guest execution from hypervisor execution
D. Hardware timers used only for display refresh
The rationale is that hardware virtualization extensions provide explicit
mechanisms for entering and controlling guest execution, making isolation
and privileged-operation handling substantially more efficient and reliable.
10. In memory virtualization, what is the primary purpose of a
second-level address translation mechanism such as nested paging?
A. To eliminate page tables completely
B. To translate guest physical addresses into host physical addresses under
hypervisor control