Subscriptions
• S7@ bS: category= "electronics" AND amount> 2000
• S4@ b12: category = "furniture" AND priority = "high" AND amount~ 2500
• S2 @ b14: category = "furniture"
3. Using this context, differentiate between Flooding-based and Filter-based routing models in
Publish-Subscribe (Pub-Sub) systems. In your answer, explain how each routing model would
operate in such a network. [4 marks]
4. Discuss the limitation s of each model. [2 marks]
SECTION E: 20 marks
• Answer all the questions in the provided booklet.
• The section consists of 3 questions.
1. Discuss the Remote Service Model and the Data Caching Model as method s of accessing files
in Distributed File Systems (DFS).
In your answer, explain how each model works, outline their benefits and limitations. [6 marks].
2. Identify one major challenge of caching in distributed file systems and explain how caching
update policies can help address this challenge. [5 marks]
3. Provide and explain the architecture of the Hadoop File System. (9 marks)
SECTION F: 15 marks
• Answer all the questions in the provided booklet.
• The section consists of 3 questions.
1. Explain briefly the difference between logical and physical clocks. [4 marks]
2. Describe the Christians' algorithm for achieving synchronisation in clocks within Distributed
Systems. [7 marks]
3. A client's clock reads 3:20:00. The server's clock reads 3:10:00 when they synchronise using
the Berkeley algorithm. Assume message delays are negligible. What is the time at the
client after synchronisation? [4 marks]
*********** ***************** End of the Paper ** *********************************
Page 6 of 6