Saral Shiksha Yojna
Courses/Distributed Systems

Distributed Systems

CS3.401
Prof. Kishore KothapalliMonsoon 2025-264 credits

Subjective Questions

Short, long, derivation, numerical, proof, compare, architecture.

short · 5 marksch-1-1

State Tanenbaum's definition of a distributed system and list its five required features.

compare · 6 marksch-1-1

State CAP and explain why CA is impossible in real distributed systems.

short · 5 marksch-1-1

Two-Generals problem and its implication for distributed systems.

derivation · 6 marksch-2-1

Define Lamport's happened-before relation and the clock consistency condition. Why is scalar Lamport clock only weakly consistent?

short · 5 marksch-2-1

State the vector clock rules and how to compare two vector timestamps.

compare · 6 marksch-2-1

Compare scalar, vector, and matrix clocks on storage, consistency, and main use case.

compare · 5 marksch-2-1

Compare Cristian's and Berkeley algorithms for physical clock synchronisation.

derivation · 8 marksch-3-1

Explain Chandy-Lamport snapshot algorithm. Why does it require FIFO channels?

short · 4 marksch-3-1

State the C1 and C2 cut conditions.

compare · 6 marksch-3-1

Compare Chandy-Lamport, Lai-Yang, and Acharya-Badrinath.

short · 5 marksch-4-1

State the BSS algorithm's two delivery conditions and explain each.

compare · 5 marksch-4-1

Distinguish FIFO, causal, and total order delivery.

compare · 10 marksch-5-1

Compare Lamport, Ricart-Agrawala, Maekawa (V2), Suzuki-Kasami, and Raymond DME algorithms.

short · 5 marksch-5-1

State Lamport's L1 and L2 entry conditions and explain why both are required.

derivation · 8 marksch-5-1

Why does Maekawa V1 deadlock? How do FAILED / INQUIRE / YIELD in V2 fix it?

short · 5 marksch-5-1

Suzuki-Kasami — why does the token-send condition require RN[i] = LN[i] + 1?

compare · 6 marksch-6-1

Distinguish cycle vs knot in WFG. Which model needs which?

derivation · 6 marksch-6-1

Trace Chandy-Misra-Haas probe algorithm on a 4-process cycle. State the detection rule.

short · 4 marksch-6-1

Why is detection the preferred deadlock-handling strategy in DS?

short · 5 marksch-7-1

State the three impossibility results for Byzantine Agreement.

derivation · 8 marksch-7-1

Why is N = 3, f = 1 Byzantine impossible? Use the indistinguishability argument.

compare · 8 marksch-7-1

Compare OM(m) and Phase King on bounds, rounds, messages, and simplicity.

short · 5 marksch-8-1

Describe the two phases of 2PC and state the point of no return.

derivation · 8 marksch-8-1

When does 2PC block? How does 3PC's PRE-COMMIT phase fix this?

short · 4 marksch-8-1

Why is 3PC not used in practice?

short · 5 marksch-9-1

State Raft's three sub-problems and one-line each.

derivation · 6 marksch-9-1

Why is randomised election timeout critical in Raft?

short · 5 marksch-9-1

State Raft's election restriction and why it ensures safety.

compare · 8 marksch-10-1

State GHS combining rules A, B, C with conditions and actions.

derivation · 6 marksch-10-1

Prove max level in GHS is log₂ N.

short · 5 marksch-10-1

Test/Accept/Reject — state the three reply rules at node q.

short · 5 marksch-11-1

State GFS's three-component architecture and a one-line role for each.

derivation · 8 marksch-11-1

Walk through GFS's write flow with leases. Why are data and control flow separated?

compare · 6 marksch-11-1

GFS consistency states: define defined / consistent / undefined / inconsistent and give one scenario for each.

short · 4 marksch-11-1

Why doesn't GFS master persistently log chunk locations?