LFCS · Question #41
LFCS Question #41: Real Exam Question with Answer & Explanation
The correct answer is A: Because the conversion of Unix timestamps to local time relies on the time zone configuration.. The correct time zone configuration is crucial because it dictates how Unix timestamps are converted and displayed as human-readable local times. Without it, applications and users would see incorrect local times derived from the system's absolute time.
Question
Why is the correct configuration of a system's time zone important?
Options
- ABecause the conversion of Unix timestamps to local time relies on the time zone configuration.
- BBecause the time zone is saved as part of the modification times of files and cannot be changed
- CBecause the environment variables LANG and LC_MESSAGES are, by default, set according to
- DBecause NTP chooses servers nearby based on the configured time zone.
Explanation
The correct time zone configuration is crucial because it dictates how Unix timestamps are converted and displayed as human-readable local times. Without it, applications and users would see incorrect local times derived from the system's absolute time.
Common mistakes.
- B. File modification times are typically stored internally as a number of seconds since the epoch and are not inherently tied to a specific time zone saved with the file; their display relies on the system's current time zone.
- C. The environment variables LANG and LC_MESSAGES primarily control localization for language and message formatting, not directly the system's time zone setting.
- D. Network Time Protocol (NTP) synchronizes the system's clock to a highly accurate UTC time source, and server selection is based on network topology or pre-configured pools, not the local time zone configuration.
Concept tested. Time zone impact on timestamp conversion
Reference. https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/tzutil
Topics
Community Discussion
No community discussion yet for this question.