Cloud Security Operations

A team builds Linux VMs from a hardened baseline image. An audit finds several running instances have SSH root login re-enabled. Which action BEST prevents this from persisting?

Show the answer

Correct answerB. Compare instances to the baseline continuously and automatically remediate deviations

AWhy not this: Patches fix vulnerabilities in software, but they do not reset a configuration setting that was changed.

BWhy this is right: Detects drift from the hardened baseline and reverts the SSH setting, keeping instances compliant.

CWhy not this: An IDS only alerts on network traffic and does not enforce or restore host configuration.

DWhy not this: Backups preserve state, including the weakened setting, and do nothing to enforce the baseline.

Hardening is sustained by monitoring systems against the baseline and remediating configuration drift, which reverts the re-enabled setting. Patching fixes software flaws, not changed configuration settings, so it would not restore the hardened state.