Question 530:
An application is hosted in an AWS EC2 instance in a VPC private subnet. The application frequently downloads a large amount of files stored in an S3 bucket. A NAT Gateway is configured in the public subnet for the EC2 instance to connect with the S3 bucket. Now you need to take some actions to reduce the cost of AWS infrastructure. Which method is the most appropriate?
Answer options:
A.Replace the NAT Gateway with a t2.micro NAT instance. B.Configure a gateway endpoint for Amazon S3. Delete the NAT Gateway. C.Place the EC2 instance in the public subnet. Delete the NAT Gateway. D.Replace the NAT Gateway with an Internet Gateway. Configure an AWS PrivateLink for Amazon S3.