Interview Prep/AWS/IAM, Organizations and Multi-Account

The audit team requires that every S3 bucket in the org is encrypted and not public. How do you enforce and detect?

IntermediateScenarioIAM, Organizations and Multi-Account
Answer

Situation read → Combine preventive controls (SCP, account settings) and detective controls (Config).

What I'd do →

  1. Turn on S3 Block Public Access at the account level via aws s3control put-public-access-block and enforce through an SCP denying its removal
  2. Enable default SSE-S3 or SSE-KMS (default on since 2023) and add a bucket-policy or SCP that denies s3:PutObject without the expected encryption header when KMS is required
  3. Deploy Config managed rules s3-bucket-public-read-prohibited and s3-bucket-server-side-encryption-enabled through an org conformance pack
  4. Auto-remediate with SSM Automation

Why → Prevent what you can, detect the rest; either alone leaves gaps.

Interview tip → Mention Security Hub CSPM standards for an aggregated score.

aws All AWS questions Roadmap: AWS core services

More on IAM, Organizations and Multi-Account