AWS Config starts automatic remediation for a security group, but an administrator might correct the violation before the runbook executes. What should the runbook do before changing the security group?
Show the answer
Correct answerA. Read the current configuration and exit if the violation is already resolved.
AWhy this is right: Checking live configuration ensures the corrective action is still necessary.
BWhy not this: Recording an operational issue does not validate the resource's current configuration.
CWhy not this: A delay does not verify whether the security group still violates the required configuration.
DWhy not this: The compliance information used to trigger remediation can be stale by execution time.
AWS Config automatic remediation can act on compliance information that no longer reflects the resource's current state. Rechecking the configuration prevents unnecessary changes; waiting for a fixed interval does not establish whether remediation is still needed.