SAP-C02 Practice Question 88: Config Auto Remediation SSM Automation
AWS Certified Solutions Architect – Professional (SAP-C02) · Test 9 · question 8 of 10
A company's security policy says that no Amazon S3 bucket may allow public access. AWS Config already flags buckets that violate this policy with a managed rule, but engineers fix the findings by hand, sometimes days later. The company wants noncompliant buckets to be corrected automatically as soon as they are detected, by using AWS-managed actions and with as little custom code as possible.
Which solution meets these requirements?
Show answer and explanation
Answer:
*"AWS Config allows you to remediate noncompliant resources that are evaluated by AWS Config Rules. AWS Config applies remediation using AWS Systems Manager Automation documents."* AWS *"provides a set of managed automation documents with remediation actions"*, and you can set up manual or automatic remediation. Associating a managed automation document with the rule corrects a bucket as soon as it is evaluated as noncompliant, with no custom code (option D).
- A is wrong because a nightly custom function reacts up to a day late and has to be written and maintained. - B is wrong because it keeps the manual, delayed process that the company wants to eliminate. - C is wrong because denying PutBucketPolicy for everyone does not fix existing public buckets, and it blocks legitimate policy changes.
Reference: Remediating Noncompliant Resources with AWS Config