(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:

Lack of global state                                          Message delays

Detection strategies include:                           Centralized detection

Distributed detection                                       Hierarchical detection

 

SECTION C – Descriptive Answer Type

 

3(a) Real-World Examples of Distributed Systems

Examples include:                                             Cloud computing platforms

Distributed databases (Google Spanner)         Content delivery networks (CDNs)

Online banking systems

Benefits:                                                           Improved performance

High availability                                               Fault tolerance

Challenges:                                                      Synchronization

Security                                                            Scalability

 

3(b) Architectural Models of Distributed Systems

Models:

Client–Server                                                    Peer-to-Peer

Multi-tier architecture

Client–Server suits centralized control, while P2P suits scalability and fault tolerance.

 

4(a) Performance Metrics for Mutual Exclusion Algorithms

Key metrics include:                                          Message complexity

Response time                                                   Throughput

Fairness                                                               Fault tolerance

These metrics evaluate efficiency and scalability.

 

4(b) Centralized vs Distributed Deadlock Detection

AspectCentralizedDistributed
ControlSingle coordinatorMultiple nodes
OverheadLowHigher
Fault toleranceLowHigh

5(a) Byzantine Agreement Problem

Approaches include:                                           Oral messages

Signed messages                                                Practical Byzantine Fault Tolerance (PBFT)

Effective solutions require:                                  Redundancy

Authentication                                                     Fault masking

 

5(b) Atomic Commit Protocol

Atomic commit ensures that all nodes either commit or abort a transaction.

Importance:                                                         Maintains consistency

Handles partial failures                                        Protocols like Two-Phase Commit (2PC) are widely used.

 

6(a) Commit Protocols in Fault Tolerance

Types:                                                                  Two-Phase Commit (2PC)

Three-Phase Commit (3PC)

ProtocolStrengthWeakness
2PCSimpleBlocking
3PCNon-blockingHigh overhead

6(b) Voting Protocols

Voting protocols allow nodes to collectively decide outcomes.

Uses:                                                                      Replicated databases

Fault-tolerant storage systems                              They increase reliability despite failures.

 

7(a) Concurrency Control Methods

Methods include:                                                   Lock-based

Timestamp-based                                                  Optimistic concurrency control

Each offers trade-offs between performance and consistency.

 

7(b) Flat vs Nested Distributed Transactions

Flat transactions are simple and easy to manage.

Nested transactions allow partial commits and better fault isolation.

Challenges:                                                            Complexity

Coordination overhead

Advantages:                                                           Higher concurrency

Improved recovery

File Size
139.73 KB
Uploader
SuGanta International
⭐ Elite Educators Network

Meet Our Exceptional Teachers

Discover passionate educators who inspire, motivate, and transform learning experiences with their expertise and dedication

KISHAN KUMAR DUBEY

KISHAN KUMAR DUBEY

Sant Ravidas Nagar Bhadohi, Uttar Pradesh , Babusarai Market , 221314
5 Years
Years
₹10000+
Monthly
₹201-300
Per Hour

This is Kishan Kumar Dubey. I have done my schooling from CBSE, graduation from CSJMU, post graduati...

Swethavyas bakka

Swethavyas bakka

Hyderabad, Telangana , 500044
10 Years
Years
₹10000+
Monthly
₹501-600
Per Hour

I have 10+ years of experience in teaching maths physics and chemistry for 10th 11th 12th and interm...

Vijaya Lakshmi

Vijaya Lakshmi

Hyderabad, Telangana , New Nallakunta , 500044
30+ Years
Years
₹9001-10000
Monthly
₹501-600
Per Hour

I am an experienced teacher ,worked with many reputed institutions Mount Carmel Convent , Chandrapu...

Shifna sherin F

Shifna sherin F

Gudalur, Tamilnadu , Gudalur , 643212
5 Years
Years
₹6001-7000
Monthly
₹401-500
Per Hour

Hi, I’m Shifna Sherin! I believe that every student has the potential to excel in Math with the righ...

Divyank Gautam

Divyank Gautam

Pune, Maharashtra , Kothrud , 411052
3 Years
Years
Not Specified
Monthly
Not Specified
Per Hour

An IIT graduate having 8 years of experience teaching Maths. Passionate to understand student proble...

Explore Tutors In Your Location

Discover expert tutors in popular areas across India

Spoken English Classes Near By Govindpuri Improve Fluency, Build Confidence & Unlock Better Career Opportunities in 2026 Govindpuri, Delhi
Spoken English Classes Near By Najafgarh Improve Fluency, Build Confidence & Speak English Naturally Najafgarh, Delhi
🇯🇵 Japanese Language Classes Near Golf Course Extension Road – Complete Guide to Learning Japanese Golf Course Ext Road, Gurugram
Legal Documentation Assistance Near Sector 102A Gurugram (Dwarka Expressway) – Reliable, Professional & Hassle-Free Services Village Dhankot, Sector 102, Gurugram
Tailoring & Stitching Classes Near By Dwarka Mor – Learn Professional Sewing Skills Dwarka Mor, Delhi
Zumba Classes Near Sector 133 Greater Noida – Fun, Fitness and Energy in Every Step Noida
Spoken English Classes Near Central Park 1 – Improve Confidence and Communication Skills Central Park 2, Gurugram
UI/UX Designing Course Near Sector 66 Gurugram – Build a Creative & High-Paying Design Career Sector 66, Gurugram
Physiotherapy Guidance Near Tilak Nagar (Certified Professionals Only) Tilak Nagar, Delhi
Physiotherapy Guidance (Certified Professionals Only) Near Central Park 1 & 2 – Restore Movement, Regain Strength Central Park 2, Gurugram
Guitar Classes Near By Saket Learn Guitar from Experts & Turn Your Passion into Skill in 2026 Saket, Delhi
Spoken English Classes Near By Kirti Nagar Improve Fluency, Build Confidence & Unlock Career Opportunities in 2026 Kirti Nagar, Delhi
Spoken English Classes Near By CR Park Improve Fluency, Boost Confidence & Unlock Better Opportunities in 2026 Chittaranjan Park, Delhi
Spoken English Classes Near By Jangpura Improve Fluency, Build Confidence & Grow Career Opportunities in 2026 Jangpura, Delhi
Coding Classes for Kids Near By Kirti Nagar – Build Future-Ready Skills Early Kirti Nagar, Delhi
Spoken English Classes Near By Hauz Khas Build Fluency, Confidence & Professional Communication Skills in 2026 Hauz Khas, Delhi
Academic & Tuition Skills Near Sector 87 Gurugram – Build Strong Foundations for Lifelong Success Gurugram
Study Abroad Consultation Near Sector 101 Dwarka Expressway, Gurugram – Your Gateway to Global Education Gurugram
Accounts & Commerce Classes Near By Dwarka Mor Professional Coaching Dwarka Mor, Delhi
Public Speaking Training Near Sector 55 Gurugram – Build Confidence, Communication & Leadership Skills Sector 55, Gurugram
⭐ Premium Institute Network

Discover Elite Educational Institutes

Connect with top-tier educational institutions offering world-class learning experiences, expert faculty, and innovative teaching methodologies

Réussi Academy of languages

sugandha mishra

Réussi Academy of languages
Madhya pradesh, Indore, G...

Details

Coaching Center
Private
Est. 2021-Present

Sugandha Mishra is the Founder Director of Réussi Academy of Languages, a premie...

IGS Institute

Pranav Shivhare

IGS Institute
Uttar Pradesh, Noida, Sec...

Details

Coaching Center
Private
Est. 2011-2020

Institute For Government Services

Krishna home tutor

Krishna Home tutor

Krishna home tutor
New Delhi, New Delhi, 110...

Details

School
Private
Est. 2001-2010

Krishna home tutor provide tutors for all subjects & classes since 2001

Edustunt Tuition Centre

Lakhwinder Singh

Edustunt Tuition Centre
Punjab, Hoshiarpur, 14453...

Details

Coaching Center
Private
Est. 2021-Present
Great success tuition & tutor

Ginni Sahdev

Great success tuition & tutor
Delhi, Delhi, Raja park,...

Details

Coaching Center
Private
Est. 2011-2020