102-500 Exam QuestionsBrowse all questions from this exam

102-500 Exam - Question 21


What is true about the file /etc/localtime?

Show Answer
Correct Answer: E

The file /etc/localtime is either a symlink to or a copy of a timezone information file such as /usr/share/zoneinfo/Europe/Berlin. This is a standard method for configuring the system's timezone information in Unix-like operating systems. The file is not a plain text file, is not maintained by the NTP service, does not contain the current local time directly, and does not require running newtzconfig to apply changes.

Discussion

3 comments
Sign in to comment
Roger95Option: E
Nov 20, 2021

[root@rhel8-02 ~]# stat /etc/localtime File: /etc/localtime -> ../usr/share/zoneinfo/America/New_York it links to /usr/share/zoneinfo///

YaFooOption: E
Oct 18, 2021

E. Correct -It is a symbolic link to /usr/share/zoneinfo/*/* -It is not plain text

kleverOption: E
Jan 9, 2023

It is not a plain text, it is a binary file. If you run cat /etc/localtime you will just see a bunch of cipher/random text