Question 780
A student has implemented the following configuration: A junior administrator wants usage examples for a locally installed system package but searches an unrelated online version. What repeatable control best reduces regressions or unsafe changes?
Explanation
Correct Answer
Use local package docs and `rpm -q` version in the maintenance record. This guards against recurrence of: Installed package documentation may match the actual deployed version better than generic Internet notes. Confirm the lab's final state by: The displayed files belong to the installed package release and provide its appropriate local examples.
Incorrect Answers
Verify record delimiters and test scripts against a representative sample before aggregating. That control is best suited to a separate scenario: A training data file lists one account per line, and the goal is counting accounts whose shells are `/bin/bash`. It is not the best safeguard for the current mechanism: Installed package documentation may match the actual deployed version better than generic Internet notes.
Document expected casing and include known positive cases when testing log filters. That control is best suited to a separate scenario: An incident report contains both `ERROR` and `error`, but the investigation intentionally needs case-insensitive matching. It is not the best safeguard for the current mechanism: Installed package documentation may match the actual deployed version better than generic Internet notes.
Use append mode for accumulation and rotate retained logs when they exceed capacity limits. That control is best suited to a separate scenario: An hourly shell job unintentionally overwrites yesterday's operational notes each time it records a new line. It is not the best safeguard for the current mechanism: Installed package documentation may match the actual deployed version better than generic Internet notes.