AWS Certified Solutions Architect – Associate (SAA-C03) — Question 729

A solutions architect must provide an automated solution for a company's compliance policy that states security groups cannot include a rule that allows SSH from 0.0.0.0/0. The company needs to be notified if there is any breach in the policy. A solution is needed as soon as possible.

What should the solutions architect do to meet these requirements with the LEAST operational overhead?

Answer options

Correct answer: B

Explanation

Using the AWS Config managed rule 'restricted-ssh' is the most efficient approach because it is a pre-built solution that requires zero code development, unlike writing a custom AWS Lambda script. Combining this managed rule with Amazon SNS provides immediate, automated alerts for policy violations with the least operational overhead. Other options, like using SCPs to block security group modifications entirely or monitoring IAM role assumptions, do not directly audit the specific compliance state of the security groups themselves.