100% found this document useful (1 vote)
45 views2 pages

Distributed Systems Question Bank

This document contains questions about distributed systems concepts and algorithms. It covers topics such as the need for distributed systems, challenges in distributed systems, message ordering paradigms, causal order execution, deadlock models, wait-for graphs, local checkpoints, checkpoint-based rollback recovery, peer-to-peer system characteristics, shared vs distributed memory, distributed system features, synchronous vs asynchronous execution, group communication, applications of causal order, message types in the Ricard Agarwala algorithm, deadlock conditions, checkpoint purposes, the agreement problem, peer-to-peer system characteristics, consistency models in distributed shared memory, classifying and comparing parallel systems, functions for designing distributed systems, conditions for causal ordering, snapshot algorithms, the K

Uploaded by

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

Distributed Systems Question Bank

This document contains questions about distributed systems concepts and algorithms. It covers topics such as the need for distributed systems, challenges in distributed systems, message ordering paradigms, causal order execution, deadlock models, wait-for graphs, local checkpoints, checkpoint-based rollback recovery, peer-to-peer system characteristics, shared vs distributed memory, distributed system features, synchronous vs asynchronous execution, group communication, applications of causal order, message types in the Ricard Agarwala algorithm, deadlock conditions, checkpoint purposes, the agreement problem, peer-to-peer system characteristics, consistency models in distributed shared memory, classifying and comparing parallel systems, functions for designing distributed systems, conditions for causal ordering, snapshot algorithms, the K

Uploaded by

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

Distributed systems question bank

Part –a

1. Why do we need a distributed system ?


2. List out the distributed system challenges.
3. Name the various message ordering paradigms used in distributed systems.
4. Define causal order execution.
5. What are the different models of deadlocks ?
6. What is the purpose of the wait-for-graph (WFG) ? Give an example for WFG.
7. What do you mean by local checkpoints ?
8. What is the drawback of a checkpoint based rollback recovery approach ?
9. List out the characteristics of P2P systems.
10. What is the difference between shared memory and distributed memory ?
11. List out the features of Distributed Systems.
12. Difference Between Synchronous and Asynchronous Execution.
13. What is meant by Group Communication In Distributed Systems.
14. Write the Applications of Casual Order.
15. Name the two types of Messages used by Ricard Agarwala Algorithm
16. What are the Conditions for Deadlock?
17. Write the Purpose of using Checkpoints.
18. What do you mean by agreement problem in distributed system?
19. List the characteristics of Peer to Peer system
20. Mention the Three types of Consistency Model in DSM.

Part- b
11 a) i)How do you classify a parallel system and brief them ? (8)
ii) Compare Synchronous versus asynchronous execution. (5)

b) What are the functions must be addressed while designing and building a distributed system ?
Explain.(13)

12 a) Illustrate the necessary and sufficient conditions for causal ordering.(13)

b)Discuss in detail about Snapshot algorithms for FIFO channels.(13)


13 i) Summarize the koo–toueg coordinated check pointing algorithm.(7)
ii) Demonstrate in detail about the juang–venkatesan algorithm for asynchronous check pointing and
recovery. (6)

a) Discuss in detail the requirements that mutual exclusion algorithms should satisfy and
discuss what metric we use to measure the performance of mutual exclusion algorithms
14 a) What do you understand about Content-Addressable Networks (CAN) ?(7)
b) Explain how it is useful in P2P networks.(6)
b) Describe in detail about Distributed Shared Memory (DSM) and its application.
(13)

15 a) Discuss in detail the requirements that mutual exclusion algorithms should satisfy and discuss what
metric we use to measure the performance of mutual exclusion algorithms.(13)

b) List out the four classes of distributed deadlock detection algorithms and explain any two of
them.(13)

16. Show that in the Ricard Agarwala Algorithm the critical Section Is Accessed incresing order of
Timestamp. (13)
What is Consistency? Differentiate between Sequential and Causal consistency Model . Discuss the
Stragies employed for Replacement while the shared memory gets filled with replicated or migratory
data.(13)

Common questions

Powered by AI

Deadlock conditions require mutual exclusion, hold and wait, no preemption, and circular wait among processes. Each process must hold at least one resource while waiting for another, and resources cannot be forcibly taken .

Consistency issues in DSM systems are addressed via sequential consistency, ensuring operations appear in a uniform sequence, and causal consistency, which maintains dependencies among operations. Strategies may include synchronization mechanisms and conditional operations maintaining order without sacrificing performance .

A wait-for-graph (WFG) depicts dependencies between processes in distributed systems, with nodes representing processes and directed edges indicating waiting states. It is crucial for deadlock detection, as cycles in the WFG suggest potential deadlocks, enabling corrective measures .

Causal order execution is a message delivery order that ensures if one message causally affects another, they are delivered in that causal order. It is crucial in distributed systems where preserving the sequence of dependent events is needed for consistency and process synchronization .

Traditional shared memory involves direct access from multiple processors within a system, necessitating physical proximity. DSM abstracts shared memory over a network, enabling non-local processor access as if locally, facilitating a cohesive view and interaction form among distributed systems .

Checkpoints allow systems to save states, facilitating quick recovery from failures by reverting to the last valid state. However, it can incur high storage and computational overhead, and in some situations, it may lead to the loss of progress since the last checkpoint .

Snapshot algorithms capture global states in distributed systems, aiding in consistent state log collection and providing a coherent snapshot. They offer advantages in ensuring FIFO channels by recording communication cues that preserve message order across systems .

Content-Addressable Networks (CAN) are a type of distributed, decentralized data system facilitating efficient searching and retrieval through a virtual multi-dimensional space. In P2P networks, they improve scalability and data retrieval efficiency by mapping keys to distinct coordinate spaces .

Distributed systems are necessary to improve resource sharing, availability, and scalability by connecting multiple computers into a single system, which can handle larger tasks than individual computers. Challenges include synchronization, concurrency control, failure handling, and security issues .

Synchronous execution requires processes to coordinate timings, ensuring tasks occur in lockstep, which can be efficient but lacks flexibility. Asynchronous execution allows processes to operate independently, making them more adaptable but also potentially leading to inconsistency without careful synchronization .

You might also like