Questions: Clock Synchronization and Network Time Protocol

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

System A records event X at timestamp 10:00:00.010 and system B records event Y at timestamp 10:00:00.012. The machines use NTP and are synchronized to within ±5ms. Can you conclude that X happened before Y?

AYes, because A's timestamp is strictly lower than B's timestamp
BNo, because the 2ms difference is within the ±5ms synchronization error; the true ordering is indeterminate
CYes, if both machines synchronized to a stratum-1 server within the last minute
DNo, because NTP timestamps cannot be used for any ordering of events across machines
Question 2 Multiple Choice

NTP organizes time servers into strata. What is the primary purpose of this hierarchy?

ATo ensure each server synchronizes to exactly one reference source, preventing loops
BTo aggregate time estimates from multiple accurate sources and discard outliers, reducing synchronization error
CTo limit the total number of clients that can connect to any single time server
DTo assign different synchronization polling intervals to different network segments
Question 3 True / False

NTP can achieve perfect clock synchronization on a local area network if most machines synchronize to the same stratum-1 server.

TTrue
FFalse
Question 4 True / False

Distributed systems use logical clocks (Lamport timestamps, vector clocks) because physical clock synchronization cannot guarantee accurate ordering of closely-timed events on different machines.

TTrue
FFalse
Question 5 Short Answer

Explain why even a well-configured NTP deployment cannot reliably determine which of two events on different machines happened first, if those events occurred within a few milliseconds of each other.

Think about your answer, then reveal below.