XK0-005 · Question #255
A company requires all servers to be configured with the BIOS on Coordinated Universal Time and the OS on Central Standard Time. Which of the following can be used to change the time according to…
The correct answer is C. date E. hwclock. To configure a Linux system with the BIOS set to Coordinated Universal Time (UTC) and the OS to Central Standard Time (CST), the hwclock command is used for the hardware clock, and the date command for the system's software clock.
Question
A company requires all servers to be configured with the BIOS on Coordinated Universal Time and the OS on Central Standard Time. Which of the following can be used to change the time according to these requirements? (Choose two.)
Options
- Alocalectl
- BLC_ALL
- Cdate
- Dtime
- Ehwclock
- Fcrontab
How the community answered
(35 responses)- A6% (2)
- B3% (1)
- C89% (31)
- F3% (1)
Why each option
To configure a Linux system with the BIOS set to Coordinated Universal Time (UTC) and the OS to Central Standard Time (CST), the `hwclock` command is used for the hardware clock, and the `date` command for the system's software clock.
`localectl` is used to control and query the system locale and keyboard layout settings, not to modify the system or hardware time.
`LC_ALL` is an environment variable used to set all locale categories to a specific value, not a command for time configuration.
The `date` command is used to display or set the system's software clock, which is the time the operating system uses, thus allowing it to be configured to Central Standard Time (CST).
The `time` command is used to measure the execution time of other commands, not to set the system's date or time.
The `hwclock` command interacts directly with the hardware clock (RTC/BIOS time), enabling its configuration to Coordinated Universal Time (UTC) independently from the OS software clock.
`crontab` is a utility for scheduling commands to be executed automatically at specified intervals, not for directly setting system or hardware clocks.
Concept tested: System and hardware clock management
Source: https://man7.org/linux/man-pages/man1/date.1.html
Topics
Community Discussion
No community discussion yet for this question.