
Ultimate access to all questions.
A company stores important documents in Amazon S3 buckets and has identified that some buckets lack encryption. The company mandates that all S3 buckets, both existing and newly created, must be encrypted with server-side encryption using the 256-bit Advanced Encryption Standard (AES-256). What solution should a DevOps engineer implement to enforce this encryption requirement across all S3 buckets?
A
Develop an AWS Lambda function triggered periodically by an Amazon EventBridge scheduled rule to assess the encryption status of all S3 buckets and apply AES-256 encryption to those without an encryption configuration.
B
Configure the s3-bucket-server-side-encryption-enabled AWS Config managed rule to utilize the AWS-EnableS3BucketEncryption AWS Systems Manager Automation runbook for remediation, and manually initiate a re-evaluation to confirm compliance of existing S3 buckets.
C
Deploy an AWS Lambda function triggered by an Amazon EventBridge event rule that detects new S3 bucket creations, parsing the event to verify the bucket's configuration and applying AES-256 encryption if not already configured.
D
Establish an IAM policy that prohibits the s3:CreateBucket action unless the s3:x-amz-server-side-encryption condition key specifies AES-256, and assign this policy to an IAM group encompassing all company IAM users.