AWS Certified Solutions Architect – Professional — Question 831

A Company had a security event whereby an Amazon S3 bucket with sensitive information was made public. Company policy is to never have public S3 objects, and the Compliance team must be informed immediately when any public objects are identified.
How can the presence of a public S3 object be detected, set to trigger alarm notifications, and automatically remediated in the future? (Choose two.)

Answer options

Correct answer: B, D

Explanation

To detect and notify the compliance team, enabling S3 object-level logging combined with a CloudWatch Events rule that monitors AWS CloudTrail logs for PutObject API calls with public-read permissions (Option D) is the correct approach. For automatic remediation, configuring a CloudWatch Events rule to trigger an AWS Lambda function (Option B) allows the system to instantly secure the S3 bucket when a policy violation is detected. Other options either do not provide real-time automated remediation or cannot natively filter PutObject ACL policies directly in S3 event notifications.