Question 820
Original unofficial RHEL 10 RHCSA skill-check scenario: An application team needs a systemd-managed daily cleanup but creates only a `.service` unit. Which ongoing practice best prevents a recurrence?
Explanation
Correct Answer
In this RHEL 10 system administration case: An application team needs a systemd-managed daily cleanup but creates only a `.service` unit. Underlying reason: A service unit defines work while a timer unit defines when it runs. The most direct, approved resolution is: Create a matching `.timer` unit with the required OnCalendar schedule and enable the timer. Confirm it by checking: `systemctl list-timers` shows the next activation for the intended service. Sustain the fix by: Verify timer-service pairings in deployment tests. This is the INTENDED response for the best ongoing operational safeguard. It is a knowledge-check explanation, not a verified hands-on Red Hat exam answer;
Incorrect Answers
Monitor triggered unit results in addition to the next-run schedule. That is not sufficient for the reported RHEL task, because a service unit defines work while a timer unit defines when it runs.
Monitor scheduler status before relying on queued maintenance. That is not sufficient for the reported RHEL task, because a service unit defines work while a timer unit defines when it runs.
Capture desired default target in baseline compliance checks. That is not sufficient for the reported RHEL task, because a service unit defines work while a timer unit defines when it runs.