Question 540:
Your organization has an existing VPC with an AWS S3 VPC endpoint created and serving certain S3 buckets. You were asked to create a new S3 bucket and reuse the existing VPC endpoint to route requests to the new S3 bucket. However, after creating a new S3 bucket and sending requests from an EC2 instance via the VPC endpoint, you found the requests are failing with the “Access Denied” error. What could be the issue? (select 2 options)
Answer options:
A.VPC endpoint contains a policy, currently restricted to certain S3 buckets, and does not contain a new S3 bucket. B.AWS IAM role/user does not have access to the new S3 bucket. C.AWS default DENY policy restricts access to IAM user/role who already has access to the S3 bucket D.You need to add a new S3 bucket hostname as destination and VPC endpoint ID as target in route table in order to route requests to the new S3 bucket.