Question 240
Original unofficial RHEL 10 RHCSA skill-check scenario: A Linux service fails to launch because a required daemon package was never installed on its host. Which ongoing practice best prevents a recurrence?
Explanation
Correct Answer
In this RHEL 10 system administration case: A Linux service fails to launch because a required daemon package was never installed on its host. Underlying reason: A configured repository does not automatically install a required package. The most direct, approved resolution is: Install the approved package with `dnf install` from a trusted enabled repository and inspect dependencies. Confirm it by checking: `rpm -q` shows the package installed and its service unit is available. Sustain the fix by: Include package presence checks in service deployment automation. 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
Schedule routine supported updates and post-change checks. That is not sufficient for the reported RHEL task, because a configured repository does not automatically install a required package.
Enforce unique repo IDs in configuration reviews. That is not sufficient for the reported RHEL task, because a configured repository does not automatically install a required package.
Review mirror lifecycle during package infrastructure changes. That is not sufficient for the reported RHEL task, because a configured repository does not automatically install a required package.