nerdexam
CompTIA

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.

System Management

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)
  • A
    6% (2)
  • B
    3% (1)
  • C
    89% (31)
  • F
    3% (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.

Alocalectl

`localectl` is used to control and query the system locale and keyboard layout settings, not to modify the system or hardware time.

BLC_ALL

`LC_ALL` is an environment variable used to set all locale categories to a specific value, not a command for time configuration.

CdateCorrect

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).

Dtime

The `time` command is used to measure the execution time of other commands, not to set the system's date or time.

EhwclockCorrect

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.

Fcrontab

`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

#System Time Management#Hardware Clock#Time Zones#date hwclock commands

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice