BSC (Hons) Computer Network With Security BSC (Hons) Computing With Information Systems
BSC (Hons) Computer Network With Security BSC (Hons) Computing With Information Systems
Systems
Cohort: BCNS/11/FT, BCIS/12/FT(Top Up), BCIS/11/PT
Duration: 3 Hours
Instructions to Candidates:
Page 1 of 7
Distributed Systems (SCG3102C/SCG3125) SITE/DA 2012-2013 S2
QUESTION 1: (20 MARKS) Characteristics of DSs
(b) State the criterion for a system to be considered as not a distributed one.
(3 marks)
(4 marks)
(4 marks)
(e) Imagine a client server inter process communication.
(5 marks)
Page 2 of 7
Distributed Systems (SCG3102C/SCG3125) SITE/DA 2012-2013 S2
QUESTION 2: (20 MARKS) RMI
Figure 2
(b) Explain the terms marshalling and un-marshalling as per an RMI or RPC.
(4 marks)
(4 marks)
(4 marks)
Page 3 of 7
Distributed Systems (SCG3102C/SCG3125) SITE/DA 2012-2013 S2
QUESTION 3: (20 marks) Name Services
http://www.utm.ac.mu:8888/SiteProgrammes/BCIS.pdf
Illustrate with help of a diagram the results of a DNS lookup and an ARP lookup
assuming we are using IPv4.
(5 marks)
(b) Why do DNS root servers hold entries for two-level names such as ac.mu and
un.org, rather than one-level names such as .mu and .org?
(4 marks)
(c) Is it possible for a DNS server to provide multiple answers to a single name
lookup? When and Why?
(5 marks)
(6 marks)
Page 4 of 7
Distributed Systems (SCG3102C/SCG3125) SITE/DA 2012-2013 S2
QUESTION 4: (20 MARKS) Time Synchronization
(4 marks)
(b) Computers clocks can be synchronized through peers, UTC and NTP
servers.
(i) How might the clocks in two computers that are linked by a local
network be synchronized without reference to an external time
source?
(ii) What factors limit the accuracy of the procedure you have
described in (i)?
(6 marks)
(c) Logical time is more efficient for tracking processes in a distributed system
and to model the time drift and skew. Explain how.
(4 marks)
Page 5 of 7
Distributed Systems (SCG3102C/SCG3125) SITE/DA 2012-2013 S2
(d) A client attempts to synchronize with a time server. It records the round-
trip times and timestamps returned by the server in the table below.
(i) Which of these times should it use to set its clock? To what time
should it set it?
(ii) Estimate the accuracy of the setting with respect to the server’s
clock.
(6 marks)
Page 6 of 7
Distributed Systems (SCG3102C/SCG3125) SITE/DA 2012-2013 S2
QUESTION 5: (20 MARKS) Fault Tolerance
(5 marks)
(b) In the gossip architecture, why does a replica manager need to keep both
a ‘replica’ timestamp and a ‘value’ timestamp?
(5 marks)
(5 marks)
(d) Explain why allowing backups to process read operations leads to
sequentially consistent rather than linearizable executions in a passive
replication system.
(5 marks)
Page 7 of 7
Distributed Systems (SCG3102C/SCG3125) SITE/DA 2012-2013 S2