Medium1 markMultiple Choice
Domain 1.2: Security ControlsSecurityOrganizationsAWS Config

AWS SAP-C02 · Question 03 · Domain 1.2: Security Controls

An enterprise has 100 AWS accounts in AWS Organizations. The security team mandates that all Amazon S3 buckets across all accounts must block public access. If a bucket is created without this setting, it must be automatically remediated within minutes. Which solution meets these requirements with the LEAST operational overhead?

Answer options:

A.

Deploy an AWS Lambda function in each account triggered by CloudTrail S3 events to modify bucket policies.

B.

Create an SCP in AWS Organizations to deny the s3:PutBucketPublicAccessBlock action if it attempts to allow public access. Use AWS Config rules with automated remediation to fix existing buckets.

C.

Use AWS Systems Manager Fleet Manager to run a script daily across all accounts to update S3 settings.

D.

Enable Amazon Macie in the management account to automatically block public access on all discovered buckets.

How to approach this question

Combine preventative controls (SCPs) with detective/responsive controls (Config).

Full Answer

B.Create an SCP in AWS Organizations to deny the s3:PutBucketPublicAccessBlock action if it attempts to allow public access. Use AWS Config rules with automated remediation to fix existing buckets.✓ Correct
Create an SCP in AWS Organizations to deny the s3:PutBucketPublicAccessBlock action if it attempts to allow public access. Use AWS Config rules with automated remediation to fix existing buckets.
Service Control Policies (SCPs) provide central preventative guardrails. AWS Config with automated remediation provides near real-time detective and corrective capabilities.

Common mistakes

Relying solely on Lambda, which is hard to manage at scale.

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

75 questions · hints · full answers · grading

More questions from this exam