Question 230
During validation, this problem was found: The timer skips every missed run after a power outage despite a catch-up requirement. The original goal was: A periodic cleanup should catch up once after a system was powered off during its scheduled run. Which targeted correction best resolves it?
Explanation
Correct Answer
Add Persistent=true to the calendar-based timer and verify its state directory/behavior. It directly addresses the observed symptom: The timer skips every missed run after a power outage despite a catch-up requirement. The relevant mechanism is Persistent calendar timers can trigger missed runs after the timer becomes active, subject to unit behavior.
Incorrect Answers
This fix is aimed at Only the .service unit is enabled, and no timer event invokes it automatically. and would be relevant if A systemd-managed job must run every fifteen minutes with service activation separate from scheduling. The incident instead states The timer skips every missed run after a power outage despite a catch-up requirement. and needs Add Persistent=true to the calendar-based timer and verify its state directory/behavior.
This fix is aimed at Looking at systemctl list-units for services alone omits timer schedule data. and would be relevant if An administrator wants to know the next activation time and last run of all systemd timers. The incident instead states The timer skips every missed run after a power outage despite a catch-up requirement. and needs Add Persistent=true to the calendar-based timer and verify its state directory/behavior.
This fix is aimed at A daily cron entry repeats the task on subsequent days. and would be relevant if A maintenance task should execute only once at 15:00 tomorrow rather than repeat daily. The incident instead states The timer skips every missed run after a power outage despite a catch-up requirement. and needs Add Persistent=true to the calendar-based timer and verify its state directory/behavior.






LPI Level 1 (102-500) Practice Tests