0% found this document useful (0 votes)
47 views2 pages

Key Questions in Distributed Computing

Uploaded by

mancymithin
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views2 pages

Key Questions in Distributed Computing

Uploaded by

mancymithin
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Reg No:

B.E. DEGREE MODEL EXAMINATIONS-NOVEMBER 2024


FIFTH SEMESTER
COMPUTER SCIENCE AND ENGINEERING
CS8603-Distributed Computing
(REGULATIONS 2021)
Time :3Hours Date:21/11/2024
Max. Marks: 100 Marks
Answer ALL Questions
PART A-(10x2=20 Marks)
1) State the differences from synchronous and asynchronous communication along with the
buffering strategy adapted in both.

2) List the role of shared memory systems.

3) How do you define the scalar time and the vector time?

4) If the two events e1 and e2 of two different processes occur at same time,
independently. What kind of relationship exists between e1 and e2?

5) What are the various deadlock detection in distributed system? State a common factor in
detecting the deadlock.

6) How beneficial is the Chandy-Misra-Haas algorithm in the AND model and OR model?

7) What is a checkpoint in the recovery system? How it is useful?

8) State the issues in failure recovery. State the means to identify failure at an early stage.

9) What is virtualization? Why is it required in the larger organization?

10) State the relation of compute service with storage service in a cloud environment.

PART B - (5x13=65 Marks)


11) (a) Explain message passing systems and discuss on the message oriented middleware
and its types. Also explain their functionality in distributed computing.
Or
(b)Analyze the concepts of heterogeneity, openness, security, scalability impact of the
distributed systems. How the standardization of them is make them effective?
12) (a) Give a real time scenario where FIFO message queue is used. Write and describe the
snapshot algorithms for FIFO channels.
Or
(b) Describe the physical clock synchronization and logical clock synchronization
and explain the framework of a system of logical clock.
13) (a) State the Lamport’s algorithm and its use and also the limitations and benefits.
Compare this with any two token based algorithms.
Or
(b) Explain the system models with its preliminaries and how is it
characterized in the models of deadlock.
14) (a) Explain the facts associated with agreement in failure-free systems of both synchronous
and asynchronous systems.
Or
(b) What are the different checkpointing based recovery systems available? Explain the
coordinated check pointing algorithms with illustration.
15) (a) A company like to have an advanced collaboration services like video, chat and web
conferences for their employees, but their system does not support any of the IT resources due
to insufficient infrastructure. If they could leverage cloud computing technology in their
system, suggest a suitable cloud type with proper justification. List the characteristic of cloud
computing.
Or
(b) Explain the different cloud services and the platform that support these services. Give an
example for application service adapted by any organization.

PART C - (1x15=15 Marks)


16) (a) Consider an ABC IT company wanted to provide services like scientific converter, data
converter, currently converted and some of the business logic as a server side component to
the developer to tailor makes the applications. Explain the various adaptable technologies to
implements in a distributed. State its merit and demerits.
Or
(b) An organization has planned to implement a client module that emulates a conventional
file system interface for application programs,and server modules, that perform operations for
clients on directories and on files. State the best distributed architecture to delay and deliver
the system. Also explain the suitable system model to avoid failures and adapt a recovery
system for the same in case of unavoidable failures.

Common questions

Powered by AI

Scalar time in distributed computing is based on a single number that increments with each event, known as a logical clock, providing a simple way to order events. Vector time, on the other hand, uses a vector of integers, each representing a timeline of different processes, allowing the system to distinguish between concurrent events. Scalar time is used for basic ordering, while vector time is crucial for resolving concurrent and causal relationships between events .

The Chandy-Misra-Haas algorithm addresses deadlock detection by employing probe messages in both AND and OR models. In the AND model, the algorithm checks for a potential deadlock if all resources are being waited on simultaneously. In contrast, in the OR model, it triggers when any one of multiple resources is needed. The algorithm's benefits include reducing the message complexity and enabling the quick identification of potential deadlocks, facilitating efficient resource management in distributed systems .

A client-server architecture is best suited for implementing a client module for a file system interface. In this setup, server modules manage file and directory operations while clients interact with them seamlessly through the interface. This architecture can be augmented with a three-tier model to improve scalability and fault tolerance by separating the user interface, functional processing, and data management. A suitable system model to avoid failures in this architecture is a fallback or hybrid cloud model, where resources are dynamically allocated from a trusted cloud provider to ensure reliability and consistent performance .

In a cloud environment, compute services provide the processing power necessary to run applications and execute tasks, while storage services offer the space needed to hold application data and user information. These services complement each other by allowing users to process data quickly and store outcomes seamlessly. Efficient use of these services enables scalable applications and dynamic provisioning of resources, adapting to changing demands without user intervention .

A company can integrate advanced collaboration services by adopting a Software-as-a-Service (SaaS) model within cloud computing. By doing so, they can use cloud-based platforms, which provide the necessary infrastructure and applications for video, chat, and web conferencing without needing to upgrade their current IT resources. This approach reduces the need for physical infrastructure and allows scalability, reliability, and accessibility across geographic locations, enhancing collaboration on a global scale .

In distributed systems, deadlock detection mechanisms include path-pushing algorithms, where potential deadlock paths are shared among processes, and edge-chasing algorithms, where probe messages traverse the resource graph to detect cycles. A common factor among these mechanisms is the need to ensure that all components cooperate to maintain and update the state information accurately to identify deadlock conditions .

Virtualization in large organizations allows multiple virtual machines to run on a single physical server, optimizing resource utilization, reducing hardware costs, and improving scalability. It enables easy replication of virtual machines for testing and development, supports disaster recovery strategies, and simplifies system management by decoupling the physical and operational aspects of computing resources, making IT infrastructures more flexible and efficient .

Synchronous communication requires that both the sender and receiver be ready at the same time for information exchange, leading to simpler buffering strategies as data is directly transferred or piped. Asynchronous communication allows messages to be sent regardless of the receiver's status, necessitating more complex buffering strategies to handle messages that arrive when the receiver is not prepared to process them. Asynchronous systems typically use message queues or buffers to temporarily store messages until they can be processed .

Shared memory systems in distributed computing allow multiple processes to access and manipulate the same data concurrently. This setup can simplify design by abstracting data passing, reduce data redundancy, and optimize processing times by enabling direct memory access rather than through network communication. They are particularly beneficial in scenarios where data consistency and speed are critical .

Checkpointing-based recovery systems include coordinated and independent checkpointing approaches. Coordinated checkpointing involves processes working together to create a consistent global state by taking checkpoints at the same time. This avoids the domino effect by ensuring that all processes have known consistent states to rollback to. The algorithm ensures minimal recovery states and overhead by synchronizing the checkpoints, facilitating efficient recovery from failures .

You might also like