102-500 Practice Test

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?

  1. It is a plain text file containing a string such as Europe/Berlin
  2. It is created and maintained by the NTP service based on the location of the system's IP address.
  3. It is a symlink to /sys/device/clock/ltime and always contains the current local time.
  4. After changing this file, newtzconfig has to be run to make the changes effective.
  5. 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?

  1. Timer units can only be defined within a service unit's file.
  2. The command executed by the timer is specified in the timer unit's [Cmd] section.
  3. A dedicated system service, systemd-cron, handles the execution of timer units.
  4. Timer units only exist in the system scope and are not available for users.
  5. 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.)

  1. Year
  2. Minute
  3. Username
  4. Effective group ID
  5. 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)?

  1. export LANGUAGE="pt"
  2. export LC_MESSAGES="pt"
  3. export UI_MESSAGES="pt"
  4. export MESSAGE="pt"
  5. export ALL_MESSAGES="pt"