Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
How can a company ensure secure data transfer from an Amazon EC2 instance to an Amazon S3 bucket without routing through public internet routes, and restrict access so only the EC2 instance can upload data?
A
By creating an interface VPC endpoint for Amazon S3 and setting a bucket policy for the EC2 instance's IAM role.
B
By establishing a gateway VPC endpoint in the same AZ as the EC2 instance, configuring security groups, and setting a bucket policy for the EC2 instance's IAM role.
C
By using nslookup to resolve the S3 endpoint's private IP, updating the VPC route table, and setting a bucket policy for the EC2 instance's IAM role.
D
By using the ip-ranges.json file to find the S3 endpoint's private IP, updating the VPC route table, and setting a bucket policy for the EC2 instance's IAM role.