Hello Students, are you looking for help with Cloud Computing and Distributed Systems NPTEL week 4 assignment answers?
So, here in this article, we have provided Cloud Computing and Distributed Systems week 4 assignment answer’s hint.
NPTEL Cloud Computing Assignment and Distributed Systems Assignment 4 Answers
Q1. Assign Lamport timestamps to the events (a, b, c, d, e, f) as shown in the figure:
See the image in video.
Answer: D. a: 6, b: 7, c: 6, d: 7, e: 8, f: 9
1230+ students getting help from instant notifications, Join us on telegram.
Q2. Which event is concurrent with the vector clock (2, 7, 3)?
Answer: B. (1, 7, 4)
Q3. A client gets a timestamp of 3:12:30.500 from a time server. The elapsed time between the request and response was 20 msec (0.020 sec). The current time on the client is 3:12:30.510. Using Cristian’s algorithm i.e. server time + ½(elapsed time), what is the time set on the client?
Answer: C. 3:12:30.510
Q4. A client’s clock reads 3:20:00. The server’s clock reads 3:10:00 when they synchronize using the Berkeley algorithm. Assume message delays are negligible. What is the time at the client after synchronization?
Answer: D. 3:15:00
Q5. True or False ?
DTP (Datacenter Time Protocol) uses the physical layer of network devices to implement a decentralized clock synchronization protocol.
Answer: A. True
Q6. The properties hold for quorums in a coterie are:
Answer: D. Both Intersection and Minimality property
Q7. True or False ?
The Chandy-Lamport global snapshot algorithm works correctly for non-FIFO channels.
Answer: B. False
Q8. Find out the correct property to solve mutual exclusion in distributed system:
Property 1: At most one process executes in critical section at any time
Property 2: Every request for a critical section is granted eventually
Property 3: Requests are granted in the order they were made
Answer: D. Property 1: Safety, Property 2: Liveness, Property 3: Fairness
Q9. Consider the following statements:
Statement 1: Lamport’s algorithm achieves mutual exclusion.
Statement 2: Lamport’s algorithm is fair.
Answer: C. Both statements are true
Q10. _________provides Advisory locks only and doesn’t guarantee mutual exclusion unless every client checks lock before accessing resource.
Answer: B. Google’s Chubby
|TELEGRAM FOR NOTIFICATION||Click Here|
|Follow on Google News (in one click)||Click Here|
Disclaimer: These answers are provided only for the purpose to help students to take references. This website does not claim any surety of 100% correct answers. So, this website urges you to complete your assignment yourself.
NPTEL Cloud Computing and Distributed Systems Assignment 3 Answers