wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Page 1

Total questions: 50

Worksheet time: 25mins

Name
Class
Date
1.

Identify the name given to a networked computer system in which processes and resources are sufficiently spread across multiple computers.

a)

Distributed System

b)

De-Centralized System

c)

Centralized System

d)

Peer-to-Peer System

2.

Give the name of the phenomenon by which a distributed system attempts to hide the fact that its processes and resources are physically distributed across multiple computers, possibly separated by large distances.

a)

Transparency

b)

Bandwidth

c)

Replication

d)

Consistency

3.

Identify the type of computing architecture where multiple independent computers work together as a single cohesive system to perform tasks.

a)

Cluster computing

b)

Distributed computing

c)

Grid computing

d)

Parallel computing

4.

Select the type of service-oriented architecture used by Amazon’s Simple Storage.

a)

Resource-based Architectures

b)

Microservices Architectural style

c)

Object based Architectural style

d)

Coarse-grained service composition

5.

Select the name given to the client-side stub.

a)

Proxy

b)

Hub

c)

Skeleton

d)

Binder

6.

Identify the type of coordination that occurs when processes are both temporarily and referentially coupled.

a)

Direct Coordination

b)

Mailbox Coordination

c)

Event Based Coordination

d)

Shared Database Coordination

7.

Choose the transparency that ensures the consistency of a database system when multiple users access the same data simultaneously.

a)

Concurrency Transparency

b)

Replication Transparency

c)

Access Transparency

d)

Location Transparency

8.

Given: Mean Time To Failure (MTTF) 60 hours; Mean Time To Repair (MTTR) 15 hours. Choose the correct computed value in hours.

a)

75 Hours

b)

45 Hours

c)

60 Hours

d)

90 Hours

9.

Identify the primary function of middleware in distributed systems.

a)

Facilitates communication between distributed applications

b)

Manages system resources

c)

Provides a user interface

d)

Monitors system hardware

10.

State the appropriate type of middleware required by a distributed system that uses asynchronous communication between services to avoid blocking processes.

a)

Message-Oriented Middleware

b)

Remote Procedure Call

c)

Object Request Broker

d)

Database Middleware

11.

Identify the layer responsible for managing data storage and retrieval.

a)

Data Layer

b)

Application Layer

c)

Presentation Layer

d)

Business Logic Layer

12.

Identify the type of architecture used in transaction processing.

a)

Physically three-tiered architecture

b)

Physically two-tiered architecture

c)

Client-server architecture

d)

File system architecture

13.

Identify the role of server in a client-server architecture.

a)

To process requests and respond to clients

b)

To send requests to the server for services

c)

To store and manage data persistently

d)

To act as an intermediary between two servers

14.

Select the option that best explains the main advantage of using a random walk search strategy in a distributed system.

a)

It reduces network traffic compared to flooding-based search methods.

b)

It guarantees that the requested data will be found in a fixed number of hops.

c)

It always selects the shortest path to the data item.

d)

It requires global knowledge of the network topology to operate.

15.

Identify the primary purpose of multithreading in a client within a distributed system.

a)

To allow the client to perform multiple tasks concurrently

b)

To reduce the number of servers required

c)

To eliminate the need for a server

d)

To ensure the client operates on a single core

16.

A multithreaded server is designed to handle file requests from clients. Select the approach that ensures efficient handling of multiple client requests.

a)

Use a thread pool to manage multiple client connections

b)

Spawn a new thread for each request without limits

c)

Use a single worker thread for all incoming requests

d)

Process requests sequentially in the main server thread

17.

Identify the mechanism used in container-based virtualization to impose limits on CPU and memory usage of a group of processes.

a)

Control groups (cgroups)

b)

Namespaces

c)

Union file system

d)

Virtual machine monitor

18.

Select the interface that represents the set of machine instructions offered between hardware and software in a computer system.

a)

Instruction Set Architecture (ISA)

b)

Application Programming Interface (API)

c)

System call interface

d)

Middleware interface

19.

Identify the factor that makes containers more lightweight than virtual machines in distributed systems.

a)

Containers share the host operating system kernel while isolating application environments

b)

Containers emulate the complete hardware instruction set for each application

c)

Containers run separate guest operating systems for each application

d)

Containers require dedicated physical hardware for isolation

20.

A healthcare application is being developed that requires a hybrid architecture. Given the critical nature of healthcare data and the need for a robust and reliable system, determine the key design considerations that must be addressed when creating a hybrid architecture for this application.

a)

Ensuring real-time data processing is handled by local edge devices while sensitive data is securely stored in a central database

b)

Building a system entirely reliant on cloud-based services

c)

Using only peer-to-peer communication for device synchronization

d)

Avoiding the use of distributed components to simplify the design

21.

Identify the primary advantage of multithreading in distributed systems.

a)

Efficient use of CPU resources through parallel execution

b)

Faster hardware requirements

c)

Simpler code management

d)

Elimination of communication overhead

22.

Select the method by which threads can be utilized to achieve scalability and performance in a distributed system designed to process millions of real-time user requests.

a)

Use a thread pool to manage a fixed number of threads and distribute the requests among them

b)

Create a single thread to handle all requests sequentially

c)

Spawn a new thread for every incoming request without limitations

d)

Avoid using threads and rely solely on processes for concurrency

23.

Choose the most appropriate communication mechanism for an application where a client must invoke a remote operation, continue executing without waiting for the result, and later receive the result through a callback.

a)

Deferred Synchronous RPC

b)

One-way RPC

c)

Synchronous RPC

24.

Choose the correct action performed by the client stub when a client application invokes a remote procedure with complex data structures.

a)

Stores the parameters in shared memory accessible by the server

b)

Converts parameters into a machine-independent format before sending

c)

Directly executes the procedure on the local machine

d)

Bypasses the operating system and sends raw bytes over the network

25.

Define the communication mechanism that allows a program to invoke a procedure located on a remote machine as if it were a local procedure call.

a)

Remote Procedure Call (RPC)

b)

Message-oriented middleware

c)

Connectionless communication

d)

Distributed shared memory

26.

Select the OSI layer that is primarily responsible for routing messages through a computer network.

a)

Network layer

b)

Transport layer

c)

Data link layer

d)

Session layer

27.

Identify the purpose of a message broker in message-oriented middleware.

a)

Handles application heterogeneity and transforms message formats

b)

Stores all messages permanently in a buffer

c)

Executes requests directly from clients

d)

Enforces real-time communication

28.

Identify a characteristic of publish-subscribe communication.

a)

Subscribers receive messages based on topics

b)

Publishers initiate point-to-point communication

c)

Messages are stored in persistent queues

d)

Clients directly query servers for messages

29.

Select the purpose of a death certificate in gossip protocols.

a)

Registering a deleted value as an update

b)

Authenticating nodes in the network

c)

Optimizing message delivery times

d)

Encrypting sensitive updates

30.

Identify the purpose of Lamport's logical clocks.

a)

Maintaining a consistent event ordering

b)

Synchronizing physical clocks across machines

c)

Optimizing data transmission latency

31.

Choose the role of a message broker in handling heterogeneous applications in middleware.

a)

It transforms incoming messages to target formats.

b)

It routes messages directly to clients.

c)

It ensures all messages are stored persistently.

d)

It eliminates the need for local queues.

32.

Choose the difference between flooding and rumor spreading in terms of message propagation efficiency.

a)

Flooding ensures all nodes are updated; rumor spreading may not.

b)

Rumor spreading is faster than flooding.

c)

Flooding reduces message redundancy compared to rumor spreading.

d)

Rumor spreading relies on brokers for delivery.

33.

Determine the action that process P in a distributed system will take upon receiving an ENTER message from process Q to guarantee appropriate handling of the critical region.

a)

P acknowledges Q's request to enter the critical region, even if PPP also wants to enter.

b)

P immediately enters its critical region and ignores Q's request.

c)

P denies Q's request if P wants to enter the critical region.

d)

P multicasts a RELEASE message to all processes.

34.

Choose the action taken by a coordinator in a distributed system to manage mutual exclusion when multiple processes request access to a shared resource.

a)

The coordinator grants permission to the first requesting process and delays replies to others until the resource is released.

b)

The coordinator grants permission to all requesting processes simultaneously.

c)

The coordinator randomly selects a process to access the resource and denies others.

d)

The coordinator denies all requests if multiple processes request access at the same time.

35.

Choose the method used to access a shared resource that is managed in a distributed system using a logical ring for mutual exclusion and the problem associated with it.

a)

The token circulates in a predefined order, ensuring mutual exclusion, but challenges such as token loss or process failure require recovery mechanisms.

b)

The token is passed randomly between processes, allowing concurrent access to the shared resource.

c)

Each process independently decides when to access the resource, without relying on a token.

d)

The token is passed only when a process explicitly requests access, minimizing circulation time.

36.

Identify the role of the “initiator” process in a leader election algorithm.

a)

The process initiating the leader election process

b)

The process responsible for deadlock detection

c)

The process with the highest fault tolerance

d)

The process with the most hardware diversity

37.

Select the primary advantage of the Token-Ring Algorithm?

a)

Simplicity and ease of implementation

b)

Inefficient load balancing

c)

Minimizing fault tolerance

d)

Detecting and recovering from deadlocks

38.

Select the item taken by the process before entering the critical section in Lamport’s Bakery algorithm.

a)

A ticket number

b)

A shared lock

39.

Identify the situation referred by the term “busy waiting” in the context of mutual exclusion.

a)

A process repeatedly checking a condition in a loop

b)

A process waiting for a turn variable

c)

Achieving load balancing

d)

Ignoring fault tolerance

40.

Choose the behavior of the bully algorithm when a process P detects that the current coordinator is unresponsive and identify the steps taken by P to initiate an election.

a)

P sends an ELECTION message to all processes with higher identifiers, waits for responses, and either becomes the coordinator or stops if a higher process takes over.

b)

P immediately declares itself the new coordinator and informs all other processes.

c)

P sends an ELECTION message to all processes with lower identifiers and waits for their confirmation.

d)

P randomly selects another process as the new coordinator without holding an election.

41.

Choose the primary function of a load balancer in a distributed system.

a)

To distribute incoming network traffic across multiple servers.

b)

To store data persistently across different nodes.

c)

To encrypt data during transmission.

d)

To monitor the health of individual servers.

42.

Select the type of middleware that facilitates communication between different applications in a distributed environment.

a)

Message-oriented middleware

b)

Database middleware

c)

Object request brokers

d)

Remote procedure call middleware

43.

Identify the primary challenge associated with achieving consistency in distributed databases.

a)

Network latency and partitioning

b)

Data redundancy

c)

Single point of failure

d)

Limited storage capacity

44.

What is the primary benefit of using a service-oriented architecture (SOA) in distributed systems?

a)

Increased flexibility and reusability of services

b)

Reduced network latency due to local processing

c)

Elimination of all communication overhead

d)

Mandatory use of a single programming language

45.

Identify the primary role of a distributed hash table (DHT) in peer-to-peer networks.

a)

To ensure data is stored in a central location for easy access

b)

To manage user authentication across the network

c)

To provide a decentralized method for storing and retrieving data

d)

To encrypt data during transmission between peers

46.

Choose the primary challenge faced when implementing fault tolerance in distributed systems.

a)

Ensuring data consistency across multiple nodes

b)

Minimizing the number of active processes

c)

Reducing the complexity of the network topology

d)

Limiting the number of communication protocols used

47.

What is the primary function of a load balancer in a distributed system?

a)

To distribute incoming network traffic across multiple servers

b)

To monitor server health and performance

c)

To store data in a centralized database

d)

To encrypt data during transmission

48.

Identify the protocol commonly used for secure communication in distributed systems.

a)

FTP

b)

SMTP

c)

HTTP

d)

HTTPS

49.

Select the primary advantage of using microservices architecture in distributed systems.

a)

Reduced complexity by using a monolithic approach

b)

Improved scalability and independent deployment of services

c)

Mandatory use of a single database for all services

d)

Elimination of all network latency

50.

Determine the response of process R in a distributed system when it receives a REQUEST message from process S while it is already in its critical section.

a)

R denies S's request and continues its operation.

b)

R acknowledges S's request and queues it for later processing.

c)

R sends a REJECT message to S without any further action.

d)

R immediately exits its critical section to allow S to enter.