A tester enabled PermitRootLogin on a client's production SSH server, first saving the original sshd_config, which held site-specific hardening beyond package defaults. The rules of engagement require the pre-test state. What is the BEST cleanup?
Show the answer
Correct answerA. Restore the saved original file, reload sshd and verify the settings against the client's baseline
AWhy this is right: Restoring the saved original returns the exact pre-test state, and verifying it confirms the revert.
BWhy not this: Defaults would erase the client's custom hardening, so the result differs from the pre-test state.
CWhy not this: Stopping sshd breaks client availability and does not revert the configuration.
DWhy not this: A single value change may not match the original, and it leaves other tester edits in place.
Cleanup must return each setting to its documented original value. Restoring the saved file and verifying it against the baseline does that. Package defaults would discard the client's site-specific hardening and so would not match the pre-test state.