AWS Certified Solutions Architect – Associate (SAA-C03) — Question 112
A company is storing sensitive user information in an Amazon S3 bucket. The company wants to provide secure access to this bucket from the application tier running on Amazon EC2 instances inside a VPC.
Which combination of steps should a solutions architect take to accomplish this? (Choose two.)
Answer options
- A. Configure a VPC gateway endpoint for Amazon S3 within the VPC.
- B. Create a bucket policy to make the objects in the S3 bucket public.
- C. Create a bucket policy that limits access to only the application tier running in the VPC.
- D. Create an IAM user with an S3 access policy and copy the IAM credentials to the EC2 instance.
- E. Create a NAT instance and have the EC2 instances use the NAT instance to access the S3 bucket.
Correct answer: A, C
Explanation
The correct answers, A and C, ensure that the application tier can securely access the S3 bucket without exposing it publicly. Option B is incorrect because making the bucket public contradicts the goal of securing sensitive user information. Option D is not optimal as it involves using IAM credentials on EC2 instances, which can lead to security risks, and option E unnecessarily complicates the setup by introducing a NAT instance when a VPC endpoint is a more straightforward solution.