XK0-005 · Question #754
A Linux administrator was informed that the server time zone is incorrect. Which of the following commands should the administrator use to correct the time zone?
The correct answer is A. timedatectl set-timezone America/New_York. timedatectl set-timezone America/New_York is the correct command. timedatectl is the standard systemd utility for querying and setting system time, date, and timezone. The 'set-timezone' subcommand accepts a valid IANA timezone name (e.g., America/New_York, Asia/Tokyo) and…
Question
A Linux administrator was informed that the server time zone is incorrect. Which of the following commands should the administrator use to correct the time zone?
Options
- Atimedatectl set-timezone America/New_York
- Bsystemd-timezone set Asia/Tokyo
- Csystemctl configure-timezone Africa/Nairobi
- Dtzconfig configure Europe/London
How the community answered
(34 responses)- A91% (31)
- B6% (2)
- C3% (1)
Explanation
timedatectl set-timezone America/New_York is the correct command. timedatectl is the standard systemd utility for querying and setting system time, date, and timezone. The 'set-timezone' subcommand accepts a valid IANA timezone name (e.g., America/New_York, Asia/Tokyo) and updates the system timezone immediately. 'systemd-timezone' (B) is not a real command. 'systemctl configure-timezone' (C) is not a valid systemctl subcommand. 'tzconfig' (D) is an older Debian-specific interactive tool that has been deprecated and replaced by timedatectl in modern distributions.
Topics
Community Discussion
No community discussion yet for this question.