(SEM VII) THEORY EXAMINATION 2022-23 DISTRIBUTED SYSTEMS

B.Tech Engineering 0 downloads
₹29.00

SECTION A – Short Answers (2 Marks Each)

 

(a) Consistent global state and transitless global state

A consistent global state is a collection of local states of all processes such that if a message is received, it must have been sent. A transitless global state is a global state where no messages are in transit; all sent messages are already received.

 

(b) Why vector clocks are better than Lamport clocks

Lamport clocks only capture event ordering but cannot detect concurrency. Vector clocks precisely determine causal relationships and can detect concurrent events, making them more suitable for distributed systems.

 

(c) Resource vs communication deadlock

Resource deadlock occurs when processes wait indefinitely for resources held by each other. Communication deadlock occurs when processes wait indefinitely for messages that will never arrive.

 

(d) Performance metrics for distributed mutual exclusion

Key metrics include message complexity, synchronization delay, response time, throughput, and fairness.

 

(e) Applications of agreement protocols

Agreement protocols are used in leader election, clock synchronization, atomic commit, fault-tolerant systems, and replicated data consistency.

 

(f) Benefits of grouping files into volumes in Coda

It simplifies replication, improves availability, supports disconnected operation, and eases management and recovery.

 

(g) Consistent vs strongly consistent checkpoints

Consistent checkpoints avoid orphan messages. Strongly consistent checkpoints ensure no messages are in transit at checkpoint time.

 

(h) Forward and backward recovery

Backward recovery restores the system to a previous checkpoint. Forward recovery corrects the error state without rolling back.

 

(i) Timestamp ordering algorithms (in increasing abort order)

Basic → Multiversion → Conservative timestamp ordering.

 

(j) Flat vs nested transactions

Flat transactions have a single execution level. Nested transactions allow sub-transactions with independent commit/abort.

 

SECTION B – Long Answers (10 Marks Each)

 

(a) Major issues in designing a distributed system

Key issues include transparency, scalability, fault tolerance, security, heterogeneity, concurrency control, synchronization, and performance optimization. Designing a distributed system requires balancing efficiency with reliability while hiding complexity from users.

 

(b) Deadlock detection algorithms & Path-Pushing algorithm

Deadlock detection algorithms are classified as centralized, distributed, and hierarchical.
In the Path-Pushing algorithm, each site maintains a local wait-for graph and sends dependency paths to other sites. Deadlock is detected when a cycle is found across combined paths.

 

(c) Architecture of Distributed File System

A DFS consists of clients, servers, communication network, naming service, caching, replication, and consistency mechanisms. It provides transparency, scalability, and fault tolerance.

 

(d) Dynamic vs static voting protocol

Static voting assigns fixed votes to replicas, while dynamic voting adjusts votes based on replica availability. Dynamic voting improves availability and fault tolerance compared to static voting.

 

(e) Lock-based concurrency control algorithms

These include two-phase locking (2PL), strict 2PL, and distributed locking. They ensure serializability but may cause deadlocks and increased communication overhead.

 

SECTION C – Long Answers (10 Marks Each)

 

(3a) Limitations of distributed systems

Limitations include network latency, partial failures, lack of global clock, security risks, and complex debugging. These lead to problems like synchronization errors, inconsistent data, and fault handling difficulties.

 

(3b) Fundamental and architectural models

The fundamental model includes interaction, failure, and security models.
The architectural model defines system structure such as client-server, peer-to-peer, and layered architectures.

 

(4a) Deadlock handling strategies

Deadlock handling includes prevention, avoidance, detection, and recovery.
Centralized detection uses one coordinator, distributed detection shares responsibility, and hierarchical detection uses multiple coordinators.

 

(4b) Mutual exclusion in distributed systems

Mutual exclusion ensures only one process enters the critical section at a time. It is more complex in distributed systems due to lack of shared memory and global clock.

File Size
102.31 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

Resume & Interview Coaching Near By Sector 102 Gurugram (Dwarka Expressway) – Build Confidence, Crack Interviews, Get Hired Sector 102, Gurugram
Guitar Classes Near By Defence Colony Learn Guitar with Expert Trainers & Turn Your Passion into a Lifelong Skill Defence Colony, Delhi
Drum Lessons (Electronic Drums Preferred at Home) Near DLF Phase 4 Gurugram DLF Phase IV, Gurugram
Low Investment Business Opportunities Near By Kirti Nagar Start Small, Grow Smart & Build Profitable Ventures with Minimal Capital Kirti Nagar, Delhi
Study Abroad Consultation Near Sector 101 Dwarka Expressway, Gurugram – Your Gateway to Global Education Gurugram
Web Development Classes Near Noida Sector 103 – Complete Guide to Start Your Tech Career Noida
Vedic Maths Classes Near By Dwarka Mor Improve Speed, Accuracy & Confidence in Mathematics Dwarka Mor, Delhi
Keyboard / Piano Classes Near DLF Phase 3 Gurugram – Professional Music Training for Kids, Beginners & Advanced Learners DLF Phase 3, Gurugram
Tailoring & Stitching Classes Near Sector 81A Gurugram – Learn Professional Garment Making Skills Sector 81A, Gurugram
Guitar Classes Near Jangpura – Professional Guitar Training in South Delhi Jangpura, Delhi
Guitar Classes Near Central Noida Sector 10 – Learn Guitar with Expert Trainers A Block Sector 10, Noida
Prenatal Yoga Training Near Sector 121 Noida – A Complete Guide for Healthy Pregnancy and Wellness Noida
Yoga Classes Near Hauz Khas Experience Holistic Wellness, Strength & Inner Balance in 2026 Hauz Khas, Delhi
Financial Advisor Near Sector 104 Gurugram (Dwarka Expressway) – Smart Planning for a Secure Future Dwarka Expressway in Sector 104, Gurugram
Spoken English Classes Near Sector 119 Noida – Improve Your Communication Skills with Expert Training Sector 119, Noida
Harmonium Classes Near DLF Golf Course Road – Learn Classical & Devotional Music Gurugram
🇫🇷 French Language Classes Near Rosewood City – Learn French for Global Opportunities Rosewood, Gurugram
History Classes Near Sector 91 Gurugram – Build Strong Understanding of the Past for a Better Future Gurugram
Drawing & Sketching Classes Near Sector 67 Gurugram – Nurture Creativity & Artistic Skills Sector 67, Gurugram
Guitar Classes Near South Extension – Professional Guitar Training in South Delhi South Extension, Delhi
⭐ 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