Distributed System Questions for Exams
Prepare for semester exams using important questions, numericals, viva questions and unit-wise questions.
U1
Introduction and Characterization of Distributed Systems
U2
Distributed Mutual Exclusion
U3
Agreement Protocol
U4
Failure Recovery in Distributed Systems
U5
Transactions and Concurrency Control
Unit-wise questions
Unit 1
Open unit →
Introduction and Characterization of Distributed Systems
- What is distributed system? Describe the main characteristics of distributed system. Give two examples of distributed system.
- Discuss the major issues in designing a distributed system.
- How the distributed computing system is better than parallel processing system? Explain.
- How resource sharing is done in distributed system? Explain.
- What is the web challenges for implementing distributed system?
- Define the term transparency. Explain important types of transparencies in distributed system.
- Explain the architectural model of distributed system.
- Discuss the relative advantages and disadvantages of the various commonly used models for configuring distributed computing systems.
Unit 2
Open unit →
Distributed Mutual Exclusion
- What do you mean by mutual exclusion? Explain . Also write the requirements of mutual exclusion.
- Is mutual exclusion problem more complex in distributed system than single computer system? Justify your answer.
- Explain token and non-token based algorithm. Write its merit and demerits.
- Write the different between token and non-token based algorithm.
- Write and explain a token based algorithm for mutual exclusion. Describe its performance on important metrics.
- Explain the Ricart-Agrawala Algorithm for mutual exclusion. How many messages per critical section execution are required ?
- Explain Mackawa’s algorithm.
- Explain Singhal’s heuristic algorithm.
Unit 3
Open unit →
Agreement Protocol
- What do you mean by agreement protocol? Write the classification of agreement problem.
- Explain Byzantine agreement problem.
- Explain Consensus problem.
- Explain Interactive consistency problem.
- Write various aspects for recognizing the agreement protocol.
- How you can find the solution using number of faulty processor?
- Show that a Byzantine agreement cannot be reached among three processors, where one processor is faulty.
- What are agreement protocols? Explain Byzantine agreement problem, the consensus problem and interactive consistency problem. Describe Lamport-Shostak-Pease algorithm.
Unit 4
Open unit →
Failure Recovery in Distributed Systems
- What do you mean by error? Explain forward recovery and backward recovery. Also write its advantage and disadvantage.
- Write the approaches for implementing backward-error recovery.
- Explain the problem which are caused by the rolling back of process.
- Write a short note on: 1. Method to obtain consistent set of checkpoints. 2. Domino effect.
- Define the Livelocks. What is the difference between a deadlock and Livelock.
- What is livelock problem in message passing system? How the synchronous checkpointing methods avoid the livelock problem? Describe.
- Write short notes on: 1. Livelocks 2. Domino effects 3. Failure resilient processes 4. Consistent checkpoints.
- What is checkpoint in message passing system? Explain the recovery in message passing system using asynchronous checkpoint scheme.
Unit 5
Open unit →
Transactions and Concurrency Control
- What do you mean by transaction in distributed system? Write its major properties.
- What is lock? Write the functions of lock manager.
- Write a note on 2 PL and strict 2 PL.
- What is nested transaction? What are the advantage of nested transaction.
- Describe how a non-recoverable situation could arise if write locks are released after the last operation of a transaction but before its commitment.
- Explain optimistic concurrency control . How this method avoids the drawbacks of locking? Explain.
- Write the different validations conditions for optimistic concurrency control? Explain it.
- Explain about timestamp ordering.