AWS Certified SysOps Administrator – Associate (legacy) — Question 810

Is it possible to create an S3 bucket accessible only by a certain IAM user using policies in a Cloud-Formation template?

Answer options

Correct answer: A

Explanation

AWS CloudFormation fully supports the declaration of S3 buckets, IAM users, and IAM policies within a single template. By defining these resources together, you can easily use intrinsic functions like Ref to associate the IAM user with the specific S3 bucket policy. This allows for complete, automated provisioning of the entire secure access stack in one deployment.