102-500 Practice Test practice questions, page 5 of 5, with answer review and explanations.
Question 21
What is true about the file /etc/localtime?
It is a plain text file containing a string such as Europe/Berlin
It is created and maintained by the NTP service based on the location of the system's IP address.
It is a symlink to /sys/device/clock/ltime and always contains the current local time.
After changing this file, newtzconfig has to be run to make the changes effective.
It is either a symlink to or a copy of a timezone information file such as /usr/share/zoneinfo/Europe/Berlin.
Question 22
Which of the following statements is true regarding systemd timer units?
Timer units can only be defined within a service unit's file.
The command executed by the timer is specified in the timer unit's [Cmd] section.
A dedicated system service, systemd-cron, handles the execution of timer units.
Timer units only exist in the system scope and are not available for users.
Each systemd timer unit controls a specific systemd service unit.
Question 23
Which of the following fields are available in the standard format of both the global /etc/crontab file as well as in user-specific crontab files? (Choose two.)
Year
Minute
Username
Effective group ID
Command
Question 24
Which of the following commands should be executed when starting a login shell in order to change the language of messages for an internationalized program to Portuguese (pt)?