Unit 1: Virtualization and Distributed Computing - Practice Quiz

CSE423 — Virtualization And Cloud Computing 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is virtualization in computing?

Fundamentals of virtualization Easy
A. Connecting computers using physical cables
B. Increasing the clock speed of a processor
C. Creating virtual versions of computing resources
D. Encrypting data stored on a computer

2 Which software layer creates and manages virtual machines?

Fundamentals of virtualization Easy
A. Hypervisor
B. File manager
C. Device driver
D. Web browser

3 What is a virtual machine?

Fundamentals of virtualization Easy
A. A software-based computer system
B. A dedicated physical network switch
C. A program used only for backups
D. A portable hardware storage device

4 What does x86 virtualization primarily allow?

x86 virtualization Easy
A. Multiple websites in one browser
B. Multiple operating systems on x86 hardware
C. Multiple keyboards on one workstation
D. Multiple cables in one network port

5 Which processor feature supports hardware-assisted x86 virtualization?

x86 virtualization Easy
A. USB Type-C
B. Wi-Fi Direct
C. Intel VT-x
D. SATA Express

6 Which type of virtualization creates virtual versions of complete computer systems?

Types of virtualization Easy
A. Server virtualization
B. Data virtualization
C. Desktop publishing
D. Network virtualization

7 Which type of virtualization provides users with remotely hosted desktop environments?

Types of virtualization Easy
A. Network virtualization
B. Storage virtualization
C. Memory allocation
D. Desktop virtualization

8 What does storage virtualization combine?

Types of virtualization Easy
A. Network cables into one physical wire
B. Storage resources into one logical pool
C. Processor cores into one instruction
D. User accounts into one password

9 What does VLAN stand for?

VLAN Easy
A. Variable Linked Access Node
B. Verified Long Area Network
C. Virtual Local Area Network
D. Virtual Logical Application Node

10 What is a key benefit of using VLANs?

VLAN Easy
A. Logical separation of network traffic
B. Permanent removal of network passwords
C. Faster execution of processor instructions
D. Automatic replacement of failed disks

11 What does VSAN commonly stand for in storage virtualization?

VSAN and their benefits Easy
A. Virtual Storage Area Network
B. Verified System Allocation Node
C. Virtual Software Application Number
D. Variable Server Access Network

12 Which is a common benefit of a VSAN?

VSAN and their benefits Easy
A. Improved storage isolation and management
B. Reduced need for operating systems
C. Increased size of processor registers
D. Direct conversion of code into hardware

13 What is distributed computing?

Overview of distributed computing Easy
A. Storing all data on one local disk
B. Using multiple connected computers for tasks
C. Running one program without a network
D. Using one processor for every instruction

14 How do computers in a distributed system usually communicate?

Overview of distributed computing Easy
A. By using the same keyboard and monitor
B. By exchanging messages over a network
C. By executing one local instruction only
D. By sharing one physical processor register

15 What is a feature shared by parallel and distributed systems?

Parallel and distributed systems Easy
A. They require only one storage location
B. They use multiple processing elements
C. They depend on one instruction at a time
D. They always run without communication

16 What is the main goal of parallel computing?

Parallel computing Easy
A. Storing instructions without processing them
B. Executing every task on separate days
C. Executing parts of a task simultaneously
D. Sending all tasks to one remote user

17 Which component is typically present in a multicore parallel computer?

Parallel computer architecture Easy
A. Multiple power buttons
B. Multiple operating desks
C. Multiple network passwords
D. Multiple processing cores

18 In a shared-memory architecture, what do processors commonly access?

Parallel computer architecture Easy
A. A remote printer queue
B. A common memory space
C. A separate internet service
D. A single input device

19 What is a node in a distributed system?

Distributed systems Easy
A. A type of local keyboard shortcut
B. A physical part of a monitor
C. A participating computer or device
D. A section of a processor instruction

20 Which statement correctly compares parallel and distributed computing?

Comparison of different computing paradigms Easy
A. Parallel systems often use tightly coupled processors
B. Distributed systems use only one computer
C. Distributed systems always share physical memory
D. Parallel systems always require internet access

21 A company wants to consolidate several underutilized servers onto one physical machine while allowing each server workload to run its own operating system. Which virtualization component is primarily responsible for this?

Fundamentals of virtualization Medium
A. A hypervisor that allocates hardware resources to virtual machines
B. A container engine that provides a separate physical kernel
C. A VLAN switch that combines operating systems into one host
D. A storage controller that converts applications into virtual machines

22 A host has 32 GB of physical memory, but its virtual machines are configured with a total of 48 GB. Under which condition can this configuration operate effectively?

Fundamentals of virtualization Medium
A. The hypervisor applies memory overcommit and workloads peak at different times
B. Each virtual machine directly controls the host's physical memory modules
C. All virtual machines continuously use their maximum assigned memory
D. The host disables isolation between the virtual machines' address spaces

23 An early x86 processor executes some sensitive guest instructions without trapping to the hypervisor. Which technique can a hypervisor use to virtualize such a guest safely?

x86 virtualization Medium
A. Disk striping of privileged instruction sequences
B. Binary translation of sensitive instruction sequences
C. Packet replication of sensitive instruction sequences
D. VLAN tagging of guest instruction sequences

24 A virtualization administrator enables Extended Page Tables (EPT) on an Intel processor. Which operation is most directly accelerated?

x86 virtualization Medium
A. Conversion of Ethernet frames into Fibre Channel frames
B. Translation from guest virtual addresses to host physical addresses
C. Migration of processes between different operating system kernels
D. Compression of virtual disk blocks before network transmission

25 A guest operating system is modified so that it replaces privileged operations with explicit calls to the hypervisor. Which type of virtualization is being used?

Types of virtualization Medium
A. Paravirtualization
B. Storage virtualization
C. Full virtualization
D. Application virtualization

26 A development team needs hundreds of isolated application environments that start quickly and use minimal memory. All applications can use the same operating system kernel. Which approach is most suitable?

Types of virtualization Medium
A. Operating-system-level containers
B. Network-level virtual circuits
C. Hardware-level virtual machines
D. Storage-level logical volumes

27 Two departments use the same physical Ethernet switches but are assigned to different VLANs. By default, what is required for a host in one VLAN to communicate with a host in the other?

VLAN, VSAN and their benefits Medium
A. A Layer 3 routing device
B. A Fibre Channel zone
C. A shared collision domain
D. A second network interface

28 A storage administrator divides one physical Fibre Channel fabric into multiple VSANs. What is the main operational benefit?

VLAN, VSAN and their benefits Medium
A. Each VSAN removes the need for storage access controls
B. Each VSAN guarantees identical bandwidth to every storage device
C. Each VSAN converts block storage into Ethernet broadcast traffic
D. Each VSAN can maintain an isolated storage fabric configuration

29 A distributed application accesses a remote object using the same style of method call used for a local object. Which distributed-computing goal does this illustrate?

Overview of distributed computing Medium
A. Processor affinity
B. Access transparency
C. Clock synchronization
D. Hardware replication

30 A service consists of five networked nodes. One node becomes unreachable, while the remaining nodes continue processing requests. Which characteristic of distributed computing does this scenario demonstrate?

Overview of distributed computing Medium
A. A single clock controls the execution of every component
B. A shared-memory bus connects all processing components
C. A partial failure can occur without stopping every component
D. A failed node always terminates the entire distributed service

31 Which workload is best classified as parallel rather than primarily distributed?

Parallel and distributed systems Medium
A. Bank branches synchronizing transaction records over a wide-area network
B. Threads on one multicore server jointly processing an in-memory matrix
C. Independent web services exchanging messages across multiple data centers
D. Peer devices sharing files through an internet-based overlay network

32 A computation is divided among networked computers that do not share memory. Which mechanism is normally required for the computers to exchange intermediate results?

Parallel and distributed systems Medium
A. Message passing
B. Instruction pipelining
C. Register renaming
D. Cache-line sharing

33 A program spends 80% of its execution time in code that can be perfectly parallelized. According to Amdahl's law, what is its theoretical speedup when that portion runs on four processors?

Parallel computing Medium
A.
B.
C.
D.

34 A large image is divided into equal-sized regions, and the same blur operation is applied to each region simultaneously. Which parallelization strategy is being used?

Parallel computing Medium
A. Sequential decomposition
B. Pipeline parallelism
C. Control replication
D. Data parallelism

35 On a NUMA server, a thread repeatedly accesses a large memory region. Which placement generally provides the best performance?

Parallel computer architecture Medium
A. Place the thread near the memory node containing the region
B. Move the thread randomly among all processors after each access
C. Place the thread on the node farthest from the memory region
D. Store the region only in the slowest shared storage device

36 Two processor cores update different variables that happen to occupy the same cache line. Performance drops because the line repeatedly moves between caches. What is this problem called?

Parallel computer architecture Medium
A. Deadlock
B. False sharing
C. Memory paging
D. Branch prediction

37 A replicated database has five replicas and uses a write quorum of three and a read quorum of three. Why can a read obtain at least one replica that participated in the latest successful write?

Distributed systems Medium
A. Because guarantees quorum overlap
B. Because guarantees sequential execution
C. Because eliminates all network failures
D. Because prevents replica overlap

38 In a system using Lamport logical clocks, event causally precedes event . What must be true about their timestamps?

Distributed systems Medium
A. The timestamp of is less than the timestamp of
B. The timestamps reveal the physical distance between the events
C. The timestamp of is equal to the timestamp of
D. The timestamp of is greater than the timestamp of

39 Several universities contribute heterogeneous computing resources to execute large scientific jobs under different administrative domains. Which computing paradigm best matches this arrangement?

Comparison of different computing paradigms Medium
A. Grid computing
B. Centralized mainframe computing
C. Embedded computing
D. Single-system parallel computing

40 A retailer experiences unpredictable traffic spikes and wants servers to be provisioned automatically and billed according to usage. Which paradigm is the best fit?

Comparison of different computing paradigms Medium
A. Offline batch computing
B. Cloud computing
C. Fixed-capacity clustering
D. Standalone desktop computing

41 An early x86 guest executes POPF after being deprivileged to a nonzero privilege ring. The instruction does not trap but silently preserves privileged flag bits, preventing conventional trap-and-emulate virtualization. Which technique most directly preserves guest semantics?

Fundamentals of virtualization Hard
A. Allow direct execution and periodically repair the guest flags
B. Map the guest kernel pages as writable only during POPF
C. Emulate only external interrupts while leaving POPF unchanged
D. Dynamically translate sensitive instruction sequences into safe handlers

42 A hypervisor changes an Extended Page Table entry from writable to read-only while a vCPU is paused. Why may updating the EPT entry alone be insufficient before resuming that vCPU?

x86 virtualization Hard
A. The processor will reinterpret the entry as a guest virtual address
B. The EPT update cannot affect pages already mapped by the guest
C. The guest page table will automatically restore write permission
D. The processor may retain a writable combined translation in its TLB

43 A latency-sensitive VM receives a high rate of device interrupts. Which hardware-assisted design most directly reduces VM exits when the target vCPU is already running?

x86 virtualization Hard
A. Periodic interrupt polling through a hypervisor-managed emulated timer
B. Legacy PIC emulation with every interrupt routed through the hypervisor
C. Posted interrupt delivery with interrupt remapping and virtual APIC support
D. Disabling interrupt coalescing while retaining fully emulated device access

44 A disk-only VM snapshot is taken while a database transaction is updating several blocks in memory and on disk. Which statement best characterizes restoration from that snapshot?

Fundamentals of virtualization Hard
A. It may be only crash-consistent unless the database was quiesced first
B. It is memory-consistent because the VM was briefly paused for metadata capture
C. It is transaction-consistent because copy-on-write preserves block ordering
D. It is application-consistent because virtual disks provide atomic snapshots

45 A Linux host must simultaneously run an unmodified Linux guest and an unmodified Windows guest, each with its own kernel. Which virtualization approach satisfies this requirement?

Types of virtualization Hard
A. Language-level virtual machines translating managed bytecode at runtime
B. Operating-system-level containers sharing the Linux host kernel
C. Hardware-assisted machine virtualization exposing virtual hardware to guests
D. Process virtualization intercepting only user-space system library calls

46 Compared with a fully emulated network adapter, a paravirtualized network driver primarily improves performance through which mechanism?

Types of virtualization Hard
A. It eliminates packet copying by bypassing all host memory protection
B. It uses a guest-aware interface that avoids emulating legacy device behavior
C. It gives every guest unrestricted ownership of the physical network adapter
D. It translates guest packets into VLAN frames entirely within the switch

47 Two IEEE 802.1Q trunks use native VLAN 10 on one endpoint and native VLAN 20 on the other. What is the most significant consequence for untagged frames crossing the trunk?

VLAN, VSAN and their benefits Hard
A. They are classified into different VLANs at the two endpoints
B. They are always discarded because untagged trunk traffic is prohibited
C. They remain in VLAN 10 because the sender's native VLAN has priority
D. They acquire both VLAN identifiers and become double-tagged frames

48 Hosts in VLAN 40 on two different switches cannot exchange even broadcast traffic. Access ports are correctly assigned, but VLAN 40 is absent from the allowed list on the inter-switch trunk. Which change is sufficient without altering broadcast-domain boundaries?

VLAN, VSAN and their benefits Hard
A. Permit tagged VLAN 40 traffic on the inter-switch trunk
B. Enable IP routing between VLAN 40 and the native VLAN
C. Assign both access ports to the trunk's native VLAN
D. Disable MAC learning for VLAN 40 on both access switches

49 A vSAN object uses a RAID-1 policy with failures to tolerate set to 1. Assuming the standard witness-based layout, which component arrangement is required?

VLAN, VSAN and their benefits Hard
A. Four erasure-coded data fragments distributed across fault domains
B. Three full data replicas with no witness component required
C. One data replica and two witness components in separate fault domains
D. Two data replicas and one witness component across fault domains

50 A vSAN administrator selects RAID-6 erasure coding with failures to tolerate set to 2. What is the standard minimum component structure for the protected data stripe?

VLAN, VSAN and their benefits Hard
A. Four data components plus two parity components
B. Two data components plus two parity components
C. Four data components plus one parity component
D. Three data components plus one parity component

51 In a distributed execution, Lamport timestamps satisfy . Which conclusion is valid without additional information?

Overview of distributed computing Hard
A. Event could not have occurred on another process
B. Event causally preceded event
C. Event received a message directly from event
D. Events and may still be causally unrelated

52 A proposed global snapshot includes the receipt of message by process but excludes the sending of by process . Why is this snapshot not a consistent cut?

Overview of distributed computing Hard
A. It records a receive event without its causal predecessor
B. It requires the communication channel to contain no messages
C. It records processes with unequal logical clock values
D. It places the send and receive events on different processes

53 A bulk-synchronous parallel computation has balanced local workloads, but one worker intermittently pauses for garbage collection before each barrier. What is the dominant system-level effect?

Parallel and distributed systems Hard
A. Only the paused worker's next superstep is delayed
B. The slow worker delays global progress through straggler amplification
C. Other workers can permanently skip the delayed barrier
D. The barrier converts the workload into an asynchronous algorithm

54 A program has a strictly serial fraction of , while the remaining fraction parallelizes perfectly. Ignoring overhead, what is its maximum speedup on 32 processors according to Amdahl's law?

Parallel computing Hard
A.
B.
C.
D.

55 A parallel floating-point reduction produces slightly different sums when the thread count changes, even though no data race exists. What is the most likely cause?

Parallel computing Hard
A. Different reduction trees change the order of non-associative additions
B. Cache coherence converts floating-point values into approximate integers
C. Virtual memory remapping changes the stored exponent of each value
D. Barrier synchronization randomly changes the operands of each thread

56 A computation DAG has total work and span . Ignoring scheduling overhead, which bound applies when it runs on 16 processors?

Parallel computing Hard
A. Execution time is at least and speedup is at most 12
B. Execution time is at least and speedup is at most 8
C. Execution time is at least and speedup is at most 16
D. Execution time is at least and speedup is at most 16

57 Two cores repeatedly update different counters that occupy the same cache line. Profiling shows heavy coherence traffic despite no logical data sharing. Which architectural effect explains this behavior?

Parallel computer architecture Hard
A. Instruction hazards caused by concurrent arithmetic on separate processors
B. Capacity misses caused by the counters exceeding the last-level cache
C. Compulsory misses caused by both counters being read for the first time
D. False sharing caused by cache-line-granularity coherence invalidations

58 Under the MESI protocol, Core A holds a cache line in the Modified state. Core B then issues a read miss for that line. What state transition normally follows?

Parallel computer architecture Hard
A. Core A and Core B both obtain Shared copies after data transfer
B. Core A remains Modified while Core B enters Exclusive
C. Both cores enter Exclusive after memory supplies the line
D. Core A becomes Invalid while Core B enters Modified

59 A replicated store has replicas. It requires quorum read-write overlap, quorum write-write overlap, and write availability despite any two unavailable replicas. Which choice maximizes read availability under these constraints?

Distributed systems Hard
A. Read quorum , write quorum
B. Read quorum , write quorum
C. Read quorum , write quorum
D. Read quorum , write quorum

60 A fixed cluster runs an iterative fluid simulation in which neighboring subdomains exchange boundary values after every short compute phase. Which paradigm is generally the best fit?

Comparison of different computing paradigms Hard
A. Serverless functions with independent invocations and remote object storage
B. MPI-based distributed-memory parallelism with low-latency message exchange
C. MapReduce jobs with materialized shuffle output after every simulation step
D. Single-host time sharing with all subdomains executed as separate users