Question 920
Original unofficial RHEL 10 RHCSA skill-check scenario: A service restarts continuously because its environment file is missing following a migration. Which ongoing practice best prevents a recurrence?
Explanation
Correct Answer
In this RHEL 10 system administration case: A service restarts continuously because its environment file is missing following a migration. Underlying reason: A required missing environment file can prevent a service process from launching. The most direct, approved resolution is: Check the unit's EnvironmentFile requirement and restore the approved file in its intended location. Confirm it by checking: The unit starts normally and restart-loop logs stop. Sustain the fix by: Include environment-file presence 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
Validate service identity after filesystem restores. That is not sufficient for the reported RHEL task, because a required missing environment file can prevent a service process from launching.
Validate executable locations in unit deployment tests. That is not sufficient for the reported RHEL task, because a required missing environment file can prevent a service process from launching.
Capture desired default target in baseline compliance checks. That is not sufficient for the reported RHEL task, because a required missing environment file can prevent a service process from launching.