Which command configures a new host to use NTP for time synchronization?

Prepare for the Red Hat Certified Systems Admin Exam EX200. Enhance your skills with interactive quizzes, flashcards, and detailed explanations. Ace your certification exam today!

Multiple Choice

Which command configures a new host to use NTP for time synchronization?

Explanation:
Time synchronization relies on an NTP client that periodically talks to configured NTP servers to keep the system clock accurate. The command timedatectl set-ntp true enables that automatic NTP-based time sync, turning on the time synchronization service so the host continually adjusts its clock from the NTP servers defined in the NTP client configuration (such as chrony or systemd-timesyncd configurations). Turning it on ensures ongoing synchronization, not just a one-time update. The other options don’t enable ongoing synchronization: Ntpdate performs a single update and doesn’t sustain syncing; chronyc tracking is merely a status check; and timedatectl set-ntp false disables the feature.

Time synchronization relies on an NTP client that periodically talks to configured NTP servers to keep the system clock accurate. The command timedatectl set-ntp true enables that automatic NTP-based time sync, turning on the time synchronization service so the host continually adjusts its clock from the NTP servers defined in the NTP client configuration (such as chrony or systemd-timesyncd configurations). Turning it on ensures ongoing synchronization, not just a one-time update. The other options don’t enable ongoing synchronization: Ntpdate performs a single update and doesn’t sustain syncing; chronyc tracking is merely a status check; and timedatectl set-ntp false disables the feature.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy