AWS Certified Solutions Architect – Associate (SAA-C02) — Question 438

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' combined with Amazon SNS is the most efficient approach because it utilizes built-in AWS features to monitor and alert on compliance violations without writing custom code. Implementing a custom AWS Lambda function adds unnecessary development and maintenance overhead. Restricting security group access via SCPs or monitoring IAM roles does not directly address the need to automatically detect and notify on specific non-compliant security group configurations.