exam questions

Exam 102-500 All Questions

View all questions & answers for the 102-500 exam

Exam 102-500 topic 1 question 22 discussion

Actual exam question from LPI's 102-500
Question #: 22
Topic #: 1
[All 102-500 Questions]

Which of the following statements is true regarding systemd timer units?

  • A. Timer units can only be defined within a service unit's file.
  • B. The command executed by the timer is specified in the timer unit's [Cmd] section.
  • C. A dedicated system service, systemd-cron, handles the execution of timer units.
  • D. Timer units only exist in the system scope and are not available for users.
  • E. Each systemd timer unit controls a specific systemd service unit.
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Roger95
Highly Voted 3 years ago
A. Timer units can only be defined within a service unit's file. => wrong, each timer unit file interacts with a specific services. ls /etc/systemd/system/timers.target.wants/ B. The command executed by the timer is specified in the timer unit's [Cmd] section. => wrong [Timer] is correct. (cat /etc/systemd/system/timers.target.wants/*.timers) C. A dedicated system service, systemd-cron, handles the execution of timer units. => Timers have built-in support for calendar time events, monotonic time events, and can be run asynchronously. Timers can be used as an alternative to cron. D. Timer units only exist in the system scope and are not available for users. => wrong, it's available for user. E. Each systemd timer unit controls a specific systemd service unit. => correct. each timer unit file interacts with a specific services.
upvoted 13 times
...
Detroit_Pythonista
Most Recent 1 week, 1 day ago
Selected Answer: E
LPIC-1 102 pp 206 as an alternative to cron
upvoted 1 times
...
pinguinomaster
1 year, 6 months ago
Selected Answer: E
In systemd, timer units are used to schedule and control the execution of service units at specific times. Each timer unit is associated with a specific service unit and is configured to control its execution.
upvoted 2 times
...
Adam_H
1 year, 9 months ago
Selected Answer: E
E is correct "Timers are systemd unit files identified by the .timer suffix, and for each of these there must be a corresponding unit file which describes the unit to be activated when the timer elapses. By default, a timer activates a service with the same name, except for the suffix." source: LPIC-1 (102) (Version 5.0), page 206
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...