Question 80
On a RHEL 10 host, the administrator encounters this situation: A compliance file must contain a new approved configuration line, but a text editor accidentally leaves an earlier conflicting directive in place. Which evidence should be inspected before making a change?
Explanation
Correct Answer
The first useful check is: Review the entire effective configuration and any duplicate keys before saving the file. The reported scenario is: A compliance file must contain a new approved configuration line, but a text editor accidentally leaves an earlier conflicting directive in place. A responsible next step after confirming that evidence is to edit the file so exactly the intended directive remains active with a checked backup. This prevents an unrelated configuration change and leaves a measurable result: the service parses one effective value and unrelated settings stay unchanged.
Incorrect Answers
Compare the original file to sed's standard output and review whether in-place editing was requested. The check concerns the original file to sed's standard output and review whether in-place editing was requested, not reviewing the entire effective configuration and any duplicate keys before saving the file.
Check the source and destination filesystems and the required link semantics. This assesses the source and destination filesystems and the required link semantics; it does not determine the reported condition—a compliance file must contain a new approved configuration line, but a text editor accidentally leaves an earlier conflicting directive in place.
Check the file on disk and the service's effective configuration rather than the editor buffer. The case-specific requirement is reviewing the entire effective configuration and any duplicate keys before saving the file, which that option does not establish.