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. Encrypting data stored on a computer
D. Creating virtual versions of computing resources

2 Which software layer creates and manages virtual machines?

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

3 What is a virtual machine?

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

4 What does x86 virtualization primarily allow?

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

5 Which processor feature supports hardware-assisted x86 virtualization?

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

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

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

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

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

8 What does storage virtualization combine?

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

9 What does VLAN stand for?

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

10 What is a key benefit of using VLANs?

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

11 What does VSAN commonly stand for in storage virtualization?

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

12 Which is a common benefit of a VSAN?

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

13 What is distributed computing?

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

14 How do computers in a distributed system usually communicate?

Overview of distributed computing Easy
A. By exchanging messages over a network
B. By executing one local instruction only
C. By using the same keyboard and monitor
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 use multiple processing elements
B. They require only one storage location
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. Executing every task on separate days
B. Executing parts of a task simultaneously
C. Storing instructions without processing them
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 separate internet service
B. A remote printer queue
C. A common memory space
D. A single input device

19 What is a node in a distributed system?

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

20 Which statement correctly compares parallel and distributed computing?

Comparison of different computing paradigms Easy
A. Distributed systems always share physical memory
B. Parallel systems often use tightly coupled processors
C. Distributed systems use only one computer
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 VLAN switch that combines operating systems into one host
B. A storage controller that converts applications into virtual machines
C. A hypervisor that allocates hardware resources to virtual machines
D. A container engine that provides a separate physical kernel

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. All virtual machines continuously use their maximum assigned memory
B. The host disables isolation between the virtual machines' address spaces
C. The hypervisor applies memory overcommit and workloads peak at different times
D. Each virtual machine directly controls the host's physical memory modules

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. Packet replication of sensitive instruction sequences
B. Disk striping of privileged instruction sequences
C. Binary translation 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. Migration of processes between different operating system kernels
B. Conversion of Ethernet frames into Fibre Channel frames
C. Translation from guest virtual addresses to host physical addresses
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. Application virtualization
B. Full virtualization
C. Paravirtualization
D. Storage 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. Storage-level logical volumes
C. Network-level virtual circuits
D. Hardware-level virtual machines

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 Fibre Channel zone
B. A shared collision domain
C. A Layer 3 routing device
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 can maintain an isolated storage fabric configuration
B. Each VSAN guarantees identical bandwidth to every storage device
C. Each VSAN removes the need for storage access controls
D. Each VSAN converts block storage into Ethernet broadcast traffic

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. Hardware replication
B. Processor affinity
C. Access transparency
D. Clock synchronization

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 shared-memory bus connects all processing components
B. A single clock controls the execution of every component
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. Independent web services exchanging messages across multiple data centers
B. Threads on one multicore server jointly processing an in-memory matrix
C. Bank branches synchronizing transaction records over a wide-area network
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. Register renaming
B. Message passing
C. Instruction pipelining
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. Control replication
B. Data parallelism
C. Pipeline parallelism
D. Sequential decomposition

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. Move the thread randomly among all processors after each access
B. Place the thread near the memory node containing the region
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. False sharing
B. Branch prediction
C. Memory paging
D. Deadlock

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 sequential execution
B. Because prevents replica overlap
C. Because guarantees quorum overlap
D. Because eliminates all network failures

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 timestamp of is equal to the timestamp of
C. The timestamp of is greater than the timestamp of
D. The timestamps reveal the physical distance between the events

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. Single-system parallel computing
D. Embedded 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. Cloud computing
B. Offline batch computing
C. Standalone desktop computing
D. Fixed-capacity clustering

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. Dynamically translate sensitive instruction sequences into safe handlers
B. Map the guest kernel pages as writable only during POPF
C. Allow direct execution and periodically repair the guest flags
D. Emulate only external interrupts while leaving POPF unchanged

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 guest page table will automatically restore write permission
C. The processor may retain a writable combined translation in its TLB
D. The EPT update cannot affect pages already mapped by the guest

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. Disabling interrupt coalescing while retaining fully emulated device access
C. Legacy PIC emulation with every interrupt routed through the hypervisor
D. Posted interrupt delivery with interrupt remapping and virtual APIC support

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 is memory-consistent because the VM was briefly paused for metadata capture
B. It is application-consistent because virtual disks provide atomic snapshots
C. It may be only crash-consistent unless the database was quiesced first
D. It is transaction-consistent because copy-on-write preserves block ordering

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. Operating-system-level containers sharing the Linux host kernel
B. Language-level virtual machines translating managed bytecode at runtime
C. Process virtualization intercepting only user-space system library calls
D. Hardware-assisted machine virtualization exposing virtual hardware to guests

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

Types of virtualization Hard
A. It uses a guest-aware interface that avoids emulating legacy device behavior
B. It eliminates packet copying by bypassing all host memory protection
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 acquire both VLAN identifiers and become double-tagged frames
B. They are classified into different VLANs at the two endpoints
C. They are always discarded because untagged trunk traffic is prohibited
D. They remain in VLAN 10 because the sender's native VLAN has priority

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. Assign both access ports to the trunk's native VLAN
B. Enable IP routing between VLAN 40 and the native VLAN
C. Permit tagged VLAN 40 traffic on the inter-switch trunk
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. One data replica and two witness components in separate fault domains
B. Two data replicas and one witness component across fault domains
C. Three full data replicas with no witness component required
D. Four erasure-coded data fragments distributed 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. Two data components plus two parity components
B. Four 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. Events and may still be causally unrelated
B. Event could not have occurred on another process
C. Event causally preceded event
D. Event received a message directly from event

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 processes with unequal logical clock values
B. It requires the communication channel to contain no messages
C. It places the send and receive events on different processes
D. It records a receive event without its causal predecessor

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. The slow worker delays global progress through straggler amplification
B. The barrier converts the workload into an asynchronous algorithm
C. Other workers can permanently skip the delayed barrier
D. Only the paused worker's next superstep is delayed

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. Cache coherence converts floating-point values into approximate integers
B. Virtual memory remapping changes the stored exponent of each value
C. Barrier synchronization randomly changes the operands of each thread
D. Different reduction trees change the order of non-associative additions

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 16
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 12

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. Compulsory misses caused by both counters being read for the first time
C. Capacity misses caused by the counters exceeding the last-level cache
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 remains Modified while Core B enters Exclusive
B. Both cores enter Exclusive after memory supplies the line
C. Core A becomes Invalid while Core B enters Modified
D. Core A and Core B both obtain Shared copies after data transfer

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. Single-host time sharing with all subdomains executed as separate users
B. MPI-based distributed-memory parallelism with low-latency message exchange
C. Serverless functions with independent invocations and remote object storage
D. MapReduce jobs with materialized shuffle output after every simulation step