ExamQuestions.com

Register
Login
AWS Certified Solutions Architect Associate Exam Questions

Amazon

AWS Certified Solutions Architect Associate

84 / 690

Question 84:

An EC2 instance in the private subnet needs access to the S3 bucket placed in the same region as that of the EC2 instance. The EC2 instance needs to upload and download bigger files to the S3 bucket frequently.
As an AWS Solutions Architect, what quick and cost-effective solution would you suggest to your customers? You need to consider that the EC2 instances are present in the private subnet, and the customers do not want their data to be exposed over the internet.

Answer options:

A.Place the S3 bucket in another public subnet of the same region and create a VPC peering connection to this private subnet where the EC2 instance is placed. The traffic to upload and download files will go through secure Amazon`s private network.
B.Create an IAM role having access over the S3 service and assign it to the EC2 instance.
C.Create a VPC endpoint for S3, use your route tables to control which instances can access resources in Amazon S3 via the endpoint. The traffic to upload and download files will go through the Amazon private network.
D.A private subnet can always access S3 bucket/ service through the NAT Gateways or NAT instances, so there is no need for additional setup.