Medium1 markMultiple Choice
Domain 3.2: Security ImprovementAWS ConfigSecurityAutomationS3

AWS SAP-C02 · Question 56 · Domain 3.2: Security Improvement

A company has a strict security policy that all Amazon S3 buckets must be encrypted with AWS KMS. They have hundreds of existing buckets across multiple accounts. The security team wants to automatically remediate any bucket that is created without KMS encryption, or any existing bucket that has encryption disabled. What is the MOST scalable and automated way to achieve this?

Answer options:

A.

Create an EventBridge rule to trigger a Lambda function on the CreateBucket API call.

B.

Deploy an AWS Config rule with an automatic remediation action using an SSM Automation document.

C.

Use AWS CloudTrail to search for unencrypted buckets and manually run a script.

D.

Create an SCP that denies s3:PutObject if the encryption header is missing.

How to approach this question

Look for the standard AWS pattern for continuous compliance and automated remediation.

Full Answer

B.Deploy an AWS Config rule with an automatic remediation action using an SSM Automation document.✓ Correct
Deploy an AWS Config rule with an automatic remediation action using an SSM Automation document.
AWS Config is the primary service for continuous compliance. It can evaluate resources against rules (e.g., s3-bucket-server-side-encryption-enabled) and automatically trigger AWS Systems Manager Automation documents to remediate non-compliant resources.

Common mistakes

Choosing EventBridge, which is event-driven but doesn't easily scan existing resources like Config does.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 4

75 questions · hints · full answers · grading

More questions from this exam