nerdexam
CompTIA

LX0-104 · Question #31

What is true about the ntpdate command?

The correct answer is C. It queries one or more NTP time servers and adjusts the system time accordingly.. The ntpdate command queries one or more Network Time Protocol (NTP) servers and adjusts the local system time accordingly.

Essential System Services

Question

What is true about the ntpdate command?

Options

  • AIt is the primary management command for the NTP time server.
  • BIt updates the local system's date (i.e. day, month and year) but not the time (i.e. hours, minutes,
  • CIt queries one or more NTP time servers and adjusts the system time accordingly.
  • DIt sends the local system time to one or many remote NTP time servers for redistribution.
  • EIt can be used by any user to set the user clock independently of the system clock.

How the community answered

(66 responses)
  • A
    2% (1)
  • C
    92% (61)
  • D
    3% (2)
  • E
    3% (2)

Why each option

The `ntpdate` command queries one or more Network Time Protocol (NTP) servers and adjusts the local system time accordingly.

AIt is the primary management command for the NTP time server.

`ntpdate` is a client tool for immediate synchronization, not the primary management command for a continuous NTP time server (which typically involves `ntpd` and `ntpq`).

BIt updates the local system's date (i.e. day, month and year) but not the time (i.e. hours, minutes,

`ntpdate` synchronizes the entire system time, including both date (day, month, year) and time (hours, minutes, seconds).

CIt queries one or more NTP time servers and adjusts the system time accordingly.Correct

The `ntpdate` command is a client utility designed for a one-shot synchronization of the system clock. It contacts specified NTP servers, determines the correct time, and then steps or slews the local system time to match the accurate time received, without running as a continuous daemon.

DIt sends the local system time to one or many remote NTP time servers for redistribution.

`ntpdate` acts as a client to receive time from servers; it does not send local system time to remote servers for redistribution.

EIt can be used by any user to set the user clock independently of the system clock.

Setting the system clock using `ntpdate` requires root privileges and affects the system's global clock, not an independent user-specific clock.

Concept tested: ntpdate command functionality

Source: https://man7.org/linux/man-pages/man8/ntpdate.8.html

Topics

#ntpdate#NTP#time synchronization#system clock

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice