(SEM VII) THEORY EXAMINATION 2023-24 DISTRIBUTED COMPUTING SYSTEM
B.Tech
Computer Science
0 downloads
₹29.00
SECTION A – Very Short Answer Type
(2 × 10 = 20 Marks)
a) Challenges in detecting termination of distributed computations
In distributed systems, there is no global clock or shared memory, making it difficult to determine whether all processes have completed execution and no messages are in transit.
b) Techniques for message ordering
Message ordering techniques include:
FIFO ordering Causal ordering Total ordering
These ensure consistent message delivery across distributed processes.
c) Resource deadlock vs communication deadlock
Resource deadlock occurs when processes wait for resources held by others.
Communication deadlock occurs when processes wait indefinitely for messages.
d) Significance of mutual exclusion
Mutual exclusion prevents simultaneous access to shared resources, ensuring data consistency and avoiding race conditions.
e) Byzantine faults
Byzantine faults occur when components behave arbitrarily or maliciously, sending incorrect or conflicting information to other nodes.
f) Classification of agreement problems
Agreement problems include: Consensus
Byzantine agreement Atomic broadcast
Interactive consistency They ensure processes agree on a common value.
g) Recovery strategies in distributed databases
Recovery strategies include: Logging
Checkpointing Rollback recovery
Replication-based recovery
h) Role of checkpoints
Checkpoints save the consistent state of a process, allowing recovery without restarting from the beginning after a failure.
i) System model for group communication
It defines how processes communicate as groups, including membership management, message delivery guarantees, and fault assumptions.
j) Consistency challenges in replication
Challenges include: Update conflicts
Network latency Synchronization overhead
Maintaining data correctness across replicas
SECTION B – Long Answer Type
(Attempt any three – 10 Marks each)
2(a) Lamport Logical Clocks and Vector Clocks
Lamport clocks assign timestamps to events to establish causal ordering using the “happened-before” relation. However, they cannot detect concurrent events.
Vector clocks overcome this limitation by maintaining a vector of counters, allowing precise detection of causality and concurrency.
Example: In distributed databases, vector clocks help detect conflicting updates.
2(b) Edge-Chasing Algorithms in Distributed Deadlock Detection
Edge-chasing algorithms detect deadlocks by circulating probe messages along wait-for graphs.
Contribution: Detects cycles in distributed systems
Works without centralized control Efficient in dynamic environments
Example: Chandy–Misra–Haas algorithm.
2(c) Consensus Problem in Distributed Systems
Consensus requires all non-faulty processes to: Agree on a single value
Ensure validity Guarantee termination
Algorithms like Paxos and Raft handle failures and message delays to reach agreement reliably.
2(d) Challenges in Achieving Fault Tolerance
Challenges include: Partial failures
Network partitions Byzantine behavior
Performance overhead
Solutions involve replication, checkpointing, redundancy, and fault detection mechanisms.
2(e) Distributed Deadlocks
Distributed deadlocks occur across multiple nodes and differ from traditional deadlocks due to:
This is Kishan Kumar Dubey. I have done my schooling from CBSE, graduation from CSJMU, post graduation from ASU and appear in B.Ed. from MGKVP on aided seat.
I have 2 years experience in academic class (Future Shapers C...
I have 10+ years of experience in teaching maths physics and chemistry for 10th 11th 12th and intermediate students all my students till today are 90% grade. Even an average student got 90%
I am an experienced teacher ,worked with many reputed institutions Mount Carmel Convent , Chandrapur Maharashtra India, St Paul’s H.S Hyderabad, Fiitjee school Narayanaguda.
I have handled students of different age gr...
Hi, I’m Shifna Sherin! I believe that every student has the potential to excel in Math with the right guidance. I offer dedicated tutoring for 10th-grade students, covering everything from foundational basics to advanced...
Excellence in Language. Leadership in Results.
With over 18 years of distinguished experience, Réussi Academy of Language stands as a trusted name in foreign language and communication training. Foun...
IGS Institute provide classes for SSC, Bank, Railway, Police, NDA, Airforce Group X and Group Y, Teaching exams. IGS - Institute for Government Services providing classes since 2018 to the students.