Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CSW20103_Chap 1-3: Revision

Total questions: 51

Worksheet time: 26mins

Name
Class
Date
1.

Which scenario best illustrates a violation of distribution transparency?

a)

A user accesses cloud storage without knowing its physical location

b)

A database query performs slower when a server is geographically far

c)

A distributed file system hides replication from the user

d)

A middleware masks network failures

2.

Which analytical argument best disproves the misconception that centralized systems do not scale?

a)

The system uses synchronous communication

b)

Logically centralized systems can still be physically distributed

c)

Single points of failure always appear in centralized systems

d)

Centralized systems cannot use caching

3.

Which factor best distinguishes a decentralized system from a distributed system?

a)

The number of network nodes

b)

The degree to which processes/resources are sufficiently spread

c)

The topology used in the network

d)

Whether middleware is present

4.

Which design goal is violated when users must manually track resource locations?

a)

Openness

b)

Replication

c)

Location transparency

d)

Reliability

5.

Which scenario best matches migration transparency?

a)

A file moved to another server while a user is still accessing it

b)

A cached object being updated periodically

c)

A replicated server taking over after failure

d)

A user hiding their geographic IP address

6.

What is the strongest argument against implementing full transparency?

a)

Full transparency reduces naming complexity

b)

Users prefer manual interaction with system internals

c)

Full transparency imposes performance penalties due to synchronization

d)

Transparency is incompatible with RPC

7.

Why can’t transparency fully conceal failures?

a)

Middleware limitations

b)

Indistinguishability between slow and failed servers

c)

Poor interface design

8.

Which scenario shows administrative scalability as the limiting factor?

a)

Running out of storage on a server

b)

Increasing user count causing congestion

c)

Policies conflicting across organizational domains

d)

Bandwidth saturation in WAN

9.

Which scenario best demonstrates openness?

a)

Migrating applications across different hardware architectures

b)

Replicating data for performance

c)

Avoiding global synchronization

d)

Handling network latency

10.

What does utilization (U → 1) imply in queueing analysis?

a)

All requests are instantly processed

b)

System becomes unstable due to long response times

c)

Replication should be disabled

d)

Throughput becomes zero

11.

Why does global synchronization prevent large-scale replication?

a)

Synchronization must occur across all cached copies

b)

Servers cannot communicate across WAN

c)

Caches invalidate too quickly

d)

Middleware cannot support replication

12.

Which factor improves availability without improving reliability?

a)

Increasing MTTF

b)

Reducing MTTR

c)

Increasing consistency

d)

Performing global synchronization

13.

Which example shows fault tolerance?

a)

Using code reviews

b)

Employing two independent implementations of a component

c)

Hiring better programmers

d)

Estimating faults

14.

Why is trust essential in distributed system security?

a)

Trust allows faster authentication

b)

Trust enables assumptions about expected behaviour across nodes

c)

Trust ensures no node can fail

d)

Trust removes the need for encryption

15.

Geographical scalability limits synchronous communication because:

a)

it increases latency and makes real-time interaction difficult

b)

it improves network speed across regions

c)

it ensures all users are always online

d)

it reduces the need for data synchronization

16.

Clients require portable interfaces

a)

Clients require portable interfaces

b)

Latency makes blocking RPC impractical

c)

Multicast is unavailable

d)

Middleboxes distort packets

17.

Using mirrored websites demonstrates which technique?

a)

Code migration

b)

Caching

c)

Replication

d)

Failover

18.

Why is completely hiding replication impractical?

a)

Network routing

b)

Different consistency requirements

c)

Encryption overhead

d)

Naming conflicts

19.

Which transparency type should NOT be used for location-based services?

a)

Failure

b)

Replication

c)

Location

d)

Data format

20.

Why do behaviour-sensitive instructions complicate virtualization?

a)

They execute too quickly

b)

They behave unpredictably in user mode

c)

They require multiple threads

d)

They disable the MMU

21.

Why do containers require namespaces?

a)

To virtualize bandwidth

b)

To isolate process identifiers across environments

c)

To reduce CPU consumption

d)

To prevent fragmentation

22.

Why is thread switching cheaper than process switching?

a)

Threads require no memory

b)

Threads share address space, reducing context-switch overhead

c)

Threads execute faster

d)

Processes reuse registers inefficiently

23.

Which situation demonstrates indirect context-switch cost?

a)

Page table updates

b)

Cache pollution requiring block reload

c)

Increased thread creation time

d)

Failure in scheduling

24.

What is the main limitation of user-level threads?

a)

They require too much memory

b)

A blocking system call blocks the entire process

c)

They cannot be scheduled

d)

They do not support multithreading

25.

Why are kernel-supported threads valuable?

a)

They execute faster

b)

OS handles thread-level blocking independently

c)

They require no system calls

d)

They remove context switching

26.

Why combine user-level & kernel-level threads?

a)

To eliminate kernel traps

b)

To handle blocking operations without losing flexibility

c)

To avoid memory sharing

d)

To disable scheduling

27.

Why does a multithreaded web client perform better?

a)

Serial execution of downloads

b)

Parallel fetching of embedded resources

c)

Use of nonblocking sockets only

d)

Disabling asynchronous scripts

28.

Why do multithreaded servers scale better?

a)

They avoid disk I/O

b)

They handle multiple blocking I/O operations concurrently

c)

They eliminate network latency

d)

They require no locks

29.

What is the key advantage of dispatcher–worker model?

a)

No scheduling required

b)

Workers block independently while dispatcher accepts new requests

c)

All threads share a single stack

d)

No context switching

30.

What happens when too many threads exist?

a)

Increased CPU clock rate

b)

Scheduler overhead grows and context switching becomes expensive

c)

Memory protection improves

d)

Cache locality becomes perfect

31.

Why does virtualization improve reliability?

a)

VMs operate faster

b)

VM isolation prevents failures from propagating

32.

Why do sensitive instructions complicate virtualization?

a)

They execute too quickly

b)

They behave unpredictably when executed in user mode

c)

They require multiple threads

d)

They disable MMU

33.

What problem does paravirtualization solve?

a)

Lack of encryption

b)

Guest OS executing sensitive instructions without trapping

c)

Slow disk performance

d)

Replication conflicts

34.

Why does PlanetLab require virtualization?

a)

To improve network speed

b)

To isolate multiple experiments on shared machines

c)

To reduce code complexity

d)

To eliminate user threads

35.

Why do PlanetLab slices require separation?

a)

To run different kernels

b)

To avoid interference between experiments

c)

To reduce memory usage

d)

To disable scheduling

36.

Why do containers scale better than VMs?

a)

VMs offer weaker isolation

b)

Containers are lighter because they reuse the host OS

c)

Containers disable OS scheduling

d)

VMs cannot run Linux

37.

Why do raw sockets violate access transparency?

a)

They hide transport details

b)

They expose unnecessary low-level operations

c)

They encrypt data automatically

d)

They support synchronous messaging only

38.

Why prefer persistent over transient messaging?

a)

Persistent messaging reduces latency

b)

Messages are stored until delivery is possible

c)

Persistent requires fewer servers

d)

It eliminates routing

39.

A. Client blocks until server finishes B. Client sends request and continues executing C. Both must be active simultaneously D. Server waits for synchronous reply

a)

A. Client blocks until server finishes

b)

B. Client sends request and continues executing

c)

C. Both must be active simultaneously

d)

D. Server waits for synchronous reply

40.

Which RPC characteristic breaks full access transparency?

a)

Copy-in/copy-out semantics

b)

Stubs hiding communication

c)

Machine-independent marshaling

d)

Remote reference passing

41.

Why is marshaling needed in RPC?

a)

To reduce message size

b)

To convert parameters to a common byte format

c)

To authenticate procedures

d)

To measure latency

42.

Which step hides network latency in RPC?

a)

Server executes local calls

b)

Client stub packs/unpacks

c)

Middleware abstracts communication

d)

OS handles interrupts

43.

Why do asynchronous RPCs improve performance?

a)

They allow multiple non-blocking client calls

b)

They eliminate marshaling

c)

They reduce server load

d)

They avoid transport protocols

44.

Why is pub-sub efficient in ZeroMQ?

a)

Clients maintain direct socket control

b)

Subscribers receive only topic-matching messages

c)

Messages are always stored persistently

d)

Publisher blocks until all subscribers respond

45.

Which model best supports workload distribution?

a)

Request-reply

b)

Publish-subscribe

c)

Pipeline (PUSH-PULL)

d)

Stream sockets

46.

Why does message-oriented middleware improve fault tolerance?

a)

All messages are deleted immediately

b)

Messages are queued until delivery

c)

Middleware bypasses OS

d)

No marshaling needed

47.

Why is a message broker needed?

a)

It accelerates TCP

b)

It translates message formats across applications

c)

It removes queues

d)

It replaces routing

48.

Why is AMQP considered a high-level protocol?

a)

It hides routing

b)

It defines messaging semantics (queues, exchanges, bindings)

c)

It supports only transient messaging

d)

It uses no channels

49.

What is the primary WAN limitation of synchronous client-server communication?

a)

Server cannot handle multiple clients

b)

Blocking model forces client to wait for slow responses

c)

No encryption

d)

Messages cannot be marshaled

50.

Why is POLL unsuitable for guaranteed delivery?

a)

It is asynchronous

b)

It never blocks, risking missed messages

c)

It uses too much memory

d)

It requires RPC

51.

What accurately differentiates RPC from sockets?

a)

RPC always provides persistence

b)

RPC enforces procedure-call abstraction; sockets provide raw message passing

c)

Sockets cannot run over TCP

d)

RPC requires no stubs