D.Creating virtual versions of computing resources
Correct Answer: Creating virtual versions of computing resources
Explanation:
Virtualization creates software-based versions of resources such as servers, storage devices, and networks.
Incorrect! Try again.
2Which software layer creates and manages virtual machines?
Fundamentals of virtualization
Easy
A.Hypervisor
B.Web browser
C.Device driver
D.File manager
Correct Answer: Hypervisor
Explanation:
A hypervisor allocates physical resources to virtual machines and manages their operation.
Incorrect! Try again.
3What 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
Correct Answer: A software-based computer system
Explanation:
A virtual machine behaves like a physical computer while running through software on a host system.
Incorrect! Try again.
4What 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
Correct Answer: Multiple operating systems on x86 hardware
Explanation:
x86 virtualization allows multiple virtual machines and operating systems to share an x86-based physical computer.
Incorrect! Try again.
5Which 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
Correct Answer: Intel VT-x
Explanation:
Intel VT-x provides processor-level support that helps hypervisors run virtual machines efficiently.
Incorrect! Try again.
6Which 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
Correct Answer: Server virtualization
Explanation:
Server virtualization divides a physical server into multiple independent virtual servers.
Incorrect! Try again.
7Which 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
Correct Answer: Desktop virtualization
Explanation:
Desktop virtualization hosts desktop environments centrally and delivers them to users over a network.
Incorrect! Try again.
8What 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
Correct Answer: Storage resources into one logical pool
Explanation:
Storage virtualization presents multiple physical storage resources as a unified logical storage pool.
Incorrect! Try again.
9What 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
Correct Answer: Virtual Local Area Network
Explanation:
A VLAN is a Virtual Local Area Network that logically groups devices within a physical network.
Incorrect! Try again.
10What 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
Correct Answer: Logical separation of network traffic
Explanation:
VLANs separate network traffic into logical groups, improving organization, security, and broadcast control.
Incorrect! Try again.
11What 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
Correct Answer: Virtual Storage Area Network
Explanation:
A VSAN is a Virtual Storage Area Network that logically organizes storage networking resources.
Incorrect! Try again.
12Which 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
Correct Answer: Improved storage isolation and management
Explanation:
VSANs logically separate storage traffic and resources, making storage environments easier to manage and secure.
Incorrect! Try again.
13What 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
Correct Answer: Using multiple connected computers for tasks
Explanation:
Distributed computing uses multiple networked computers that coordinate to complete tasks or provide services.
Incorrect! Try again.
14How 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
Correct Answer: By exchanging messages over a network
Explanation:
Nodes in a distributed system typically coordinate by sending and receiving messages through a network.
Incorrect! Try again.
15What 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
Correct Answer: They use multiple processing elements
Explanation:
Both paradigms use multiple processing elements to perform work, although their organization and communication differ.
Incorrect! Try again.
16What 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
Correct Answer: Executing parts of a task simultaneously
Explanation:
Parallel computing divides work into parts that can run at the same time to reduce execution time.
Incorrect! Try again.
17Which 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
Correct Answer: Multiple processing cores
Explanation:
A multicore computer contains multiple processing cores that can execute instructions concurrently.
Incorrect! Try again.
18In 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
Correct Answer: A common memory space
Explanation:
Processors in a shared-memory system communicate and exchange data through a common memory space.
Incorrect! Try again.
19What 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
Correct Answer: A participating computer or device
Explanation:
A node is an individual computer or device that participates in the distributed system.
Incorrect! Try again.
20Which 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
Correct Answer: Parallel systems often use tightly coupled processors
Explanation:
Parallel systems commonly use closely connected processors, while distributed systems use independent computers connected by a network.
Incorrect! Try again.
21A 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
Correct Answer: A hypervisor that allocates hardware resources to virtual machines
Explanation:
A hypervisor creates and manages virtual machines, allowing multiple operating systems to share one physical host while remaining isolated.
Incorrect! Try again.
22A 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
Correct Answer: The hypervisor applies memory overcommit and workloads peak at different times
Explanation:
Memory overcommit works when virtual machines do not simultaneously consume all assigned memory. Heavy simultaneous demand may cause swapping and reduced performance.
Incorrect! Try again.
23An 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
Correct Answer: Binary translation of sensitive instruction sequences
Explanation:
Binary translation replaces problematic guest instructions with safe sequences that transfer control to or emulate behavior through the hypervisor.
Incorrect! Try again.
24A 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
Correct Answer: Translation from guest virtual addresses to host physical addresses
Explanation:
EPT provides hardware-assisted second-level address translation, reducing the overhead of mapping guest memory addresses to host physical memory.
Incorrect! Try again.
25A 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
Correct Answer: Paravirtualization
Explanation:
Paravirtualization modifies the guest operating system to communicate with the hypervisor through hypercalls, often reducing virtualization overhead.
Incorrect! Try again.
26A 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
Correct Answer: Operating-system-level containers
Explanation:
Containers share the host kernel, so they generally start faster and consume fewer resources than virtual machines with separate guest operating systems.
Incorrect! Try again.
27Two 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
Correct Answer: A Layer 3 routing device
Explanation:
Different VLANs form separate Layer 2 broadcast domains. Communication between them requires inter-VLAN routing through a router or Layer 3 switch.
Incorrect! Try again.
28A 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
Correct Answer: Each VSAN can maintain an isolated storage fabric configuration
Explanation:
VSANs logically separate a physical storage fabric into isolated environments, improving security, fault containment, and administrative flexibility.
Incorrect! Try again.
29A 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
Correct Answer: Access transparency
Explanation:
Access transparency hides differences between local and remote resource access, allowing clients to use a consistent interface.
Incorrect! Try again.
30A 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
Correct Answer: A partial failure can occur without stopping every component
Explanation:
Distributed systems can experience partial failures because nodes and network links fail independently while other components remain operational.
Incorrect! Try again.
31Which 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
Correct Answer: Threads on one multicore server jointly processing an in-memory matrix
Explanation:
Parallel computing commonly uses multiple processing units in a tightly coupled system to accelerate one computation, often through shared memory.
Incorrect! Try again.
32A 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
Correct Answer: Message passing
Explanation:
Computers without shared memory coordinate by sending messages over a network, using mechanisms such as sockets or message-passing libraries.
Incorrect! Try again.
33A 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.
Correct Answer:
Explanation:
Amdahl's law gives . With and , .
Incorrect! Try again.
34A 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
Correct Answer: Data parallelism
Explanation:
Data parallelism divides a dataset into partitions and applies the same operation concurrently to each partition.
Incorrect! Try again.
35On 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
Correct Answer: Place the thread near the memory node containing the region
Explanation:
NUMA systems provide faster access to local memory than remote memory, so processor and memory affinity can reduce access latency.
Incorrect! Try again.
36Two 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
Correct Answer: False sharing
Explanation:
False sharing occurs when independent variables share a cache line, causing unnecessary coherence invalidations as different cores update them.
Incorrect! Try again.
37A 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
Correct Answer: Because guarantees quorum overlap
Explanation:
Here, , so every read quorum must overlap every successful write quorum in at least one replica.
Incorrect! Try again.
38In 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
Correct Answer: The timestamp of is less than the timestamp of
Explanation:
Lamport clocks preserve causal ordering: if happened before , then . The reverse implication is not always valid.
Incorrect! Try again.
39Several 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
Correct Answer: Grid computing
Explanation:
Grid computing coordinates geographically or administratively distributed resources, often from multiple organizations, to execute large-scale workloads.
Incorrect! Try again.
40A 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
Correct Answer: Cloud computing
Explanation:
Cloud computing provides on-demand resource provisioning, rapid elasticity, and measured usage, making it suitable for unpredictable workloads.
Incorrect! Try again.
41An 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
Correct Answer: Dynamically translate sensitive instruction sequences into safe handlers
Explanation:
Early x86 had sensitive instructions that did not trap outside ring 0. Dynamic binary translation replaces such instructions with controlled sequences that preserve the guest's expected behavior.
Incorrect! Try again.
42A 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
Correct Answer: The processor may retain a writable combined translation in its TLB
Explanation:
The TLB can cache the combined guest-virtual-to-host-physical translation and its permissions. The hypervisor must perform the appropriate EPT invalidation so stale writable translations cannot be reused.
Incorrect! Try again.
43A 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
Correct Answer: Posted interrupt delivery with interrupt remapping and virtual APIC support
Explanation:
Posted interrupts can notify a running vCPU without first causing a normal VM exit, while interrupt remapping securely directs device interrupts to the correct guest.
Incorrect! Try again.
44A 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
Correct Answer: It may be only crash-consistent unless the database was quiesced first
Explanation:
A disk snapshot can atomically capture virtual disk state without capturing in-memory application state. Quiescing or application-aware coordination is needed for transaction-consistent recovery.
Incorrect! Try again.
45A 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
Correct Answer: Hardware-assisted machine virtualization exposing virtual hardware to guests
Explanation:
Machine virtualization gives each VM virtual hardware on which an independent guest kernel can run. Containers share the host kernel and therefore cannot directly host an incompatible Windows kernel.
Incorrect! Try again.
46Compared 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
Correct Answer: It uses a guest-aware interface that avoids emulating legacy device behavior
Explanation:
A paravirtualized driver communicates through an efficient hypervisor-defined interface, reducing the register emulation, instruction trapping, and other overhead associated with legacy device models.
Incorrect! Try again.
47Two 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
Correct Answer: They are classified into different VLANs at the two endpoints
Explanation:
Native VLAN traffic is normally transmitted untagged. A mismatch causes each endpoint to associate the same untagged frame with a different VLAN, creating leakage and control-plane problems.
Incorrect! Try again.
48Hosts 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
Correct Answer: Permit tagged VLAN 40 traffic on the inter-switch trunk
Explanation:
The trunk must carry VLAN 40 between switches. Adding it to the allowed list extends the existing VLAN without merging it with another VLAN or introducing Layer 3 routing.
Incorrect! Try again.
49A 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
Correct Answer: Two data replicas and one witness component across fault domains
Explanation:
RAID-1 with one failure tolerated maintains two complete data replicas. A witness provides quorum metadata but does not hold a full copy of the object's data.
Incorrect! Try again.
50A 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
Correct Answer: Four data components plus two parity components
Explanation:
vSAN RAID-6 uses a erasure-coded layout: four data components and two parity components. It can tolerate two qualifying failures while using less capacity than triple mirroring.
Incorrect! Try again.
51In 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
Correct Answer: Events and may still be causally unrelated
Explanation:
Lamport clocks guarantee that implies , but the converse is false. Timestamp order alone cannot distinguish causality from concurrency.
Incorrect! Try again.
52A 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
Correct Answer: It records a receive event without its causal predecessor
Explanation:
A consistent cut is closed under the happened-before relation. If it contains a receive event, it must also contain the corresponding send event.
Incorrect! Try again.
53A 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
Correct Answer: The slow worker delays global progress through straggler amplification
Explanation:
Bulk-synchronous workers must rendezvous at barriers. Even with balanced computation, a delayed worker forces the others to wait and can dominate total execution time.
Incorrect! Try again.
54A 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.
Correct Answer:
Explanation:
Amdahl's law gives . The serial portion limits scaling even when the parallel portion is ideal.
Incorrect! Try again.
55A 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
Correct Answer: Different reduction trees change the order of non-associative additions
Explanation:
Floating-point addition is not mathematically associative because of rounding. Different thread counts can create different reduction trees and therefore different rounding sequences.
Incorrect! Try again.
56A 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
Correct Answer: Execution time is at least and speedup is at most 12
Explanation:
The lower bound is . Thus speedup cannot exceed .
Incorrect! Try again.
57Two 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
Correct Answer: False sharing caused by cache-line-granularity coherence invalidations
Explanation:
Coherence operates on whole cache lines. Writes to separate variables in one line repeatedly invalidate the other core's copy, creating false sharing.
Incorrect! Try again.
58Under 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
Correct Answer: Core A and Core B both obtain Shared copies after data transfer
Explanation:
Core A owns the only dirty copy and must supply or write back the data. A read by Core B converts the line into shared clean copies, so both caches enter the Shared state.
Incorrect! Try again.
59A 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
Correct Answer: Read quorum , write quorum
Explanation:
Consistency requires and . Tolerating two unavailable replicas for writes requires . Choosing permits the smallest valid read quorum, .
Incorrect! Try again.
60A 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
Correct Answer: MPI-based distributed-memory parallelism with low-latency message exchange
Explanation:
The simulation uses tightly coupled, repeated communication among stable workers. MPI supports efficient point-to-point and collective communication, unlike paradigms optimized for coarse, independent, or batch-oriented tasks.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →