Question 200
Which observed test most directly validates a fix for the following: A developer edits a systemd timer file but the system continues following its earlier schedule?
Explanation
Correct Answer
The conclusive result is systemctl list-timers reflects the revised next activation time. That directly verifies Run systemctl daemon-reload and restart or reenable the timer as appropriate, which is needed because systemd loads unit definitions and must refresh them after unit-file changes.
Incorrect Answers
The option would apply to “A service's housekeeping must start five minutes after boot and then repeat every hour using systemd”. Acceptance requires systemctl list-timers shows the timer and the service runs after boot and periodically. This question instead requires “systemctl list-timers reflects the revised next activation time”.
The related but distinct situation is “An internationalized application should prefer the locale declared by the operator without forcing every regional category”. Expect locale reports the expected defaults and targeted time or numeric category choices. For the stated problem, “systemctl list-timers reflects the revised next activation time” addresses the central condition.
This option serves the scenario “A scheduled maintenance command writes to stdout but no file is created and the team assumes nothing ran”. Acceptance requires The next test records the job timestamp and exit status in an accessible log. The present scenario is distinguished by “systemctl list-timers reflects the revised next activation time”.