Which algorithm does NTP use to select accurate time servers?

Prepare for the EC-Council Certified Ethical Hacker (CEH) v13 Exam with our comprehensive study resources. Ace your exam with flashcards and multiple-choice questions complete with hints and explanations. Get exam-ready now!

Multiple Choice

Which algorithm does NTP use to select accurate time servers?

Explanation:
NTP uses a consensus-based approach to choose accurate time sources by comparing the offsets and delays reported by multiple servers and looking for agreement among them. Each server’s time, with its associated uncertainty, is represented as an interval. The algorithm then seeks the largest set of intervals that overlap, meaning those servers agree within their error bounds. This intersection-based method is a modified version of Marzullo’s algorithm and is designed to identify a trustworthy cluster of time sources. Once a consistent set is found, NTP can select the best among them or combine them to form a stable time reference. Dijkstra’s algorithm, by contrast, is a shortest-path algorithm used for routing and graph traversal, not for evaluating time sources. That’s why it doesn’t apply to how NTP selects accurate servers.

NTP uses a consensus-based approach to choose accurate time sources by comparing the offsets and delays reported by multiple servers and looking for agreement among them. Each server’s time, with its associated uncertainty, is represented as an interval. The algorithm then seeks the largest set of intervals that overlap, meaning those servers agree within their error bounds. This intersection-based method is a modified version of Marzullo’s algorithm and is designed to identify a trustworthy cluster of time sources. Once a consistent set is found, NTP can select the best among them or combine them to form a stable time reference.

Dijkstra’s algorithm, by contrast, is a shortest-path algorithm used for routing and graph traversal, not for evaluating time sources. That’s why it doesn’t apply to how NTP selects accurate servers.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy