A company runs a data processing application on Amazon EC2 instances located in the private subnets of a VPC. The application must regularly download software updates from an external repository on the public internet and upload large processed datasets to an Amazon S3 bucket. The company wants to minimize data transfer costs and ensure that the network configuration follows security best practices. Which TWO configurations should a solutions architect implement to meet these requirements? (Select TWO.)
- Create a Gateway VPC Endpoint for Amazon S3 and associate it with the route tables of the private subnets.Cevap
- Deploy a NAT Gateway in a public subnet, and configure the route tables of the private subnets to route outbound traffic destined for to the NAT Gateway.Cevap
- CRoute all Amazon S3 traffic through the NAT Gateway to the public S3 endpoints to simplify routing and avoid creating additional VPC endpoints.
- DAdd an inbound rule to the security group of the Amazon EC2 instances to allow return traffic on ephemeral ports () from the NAT Gateway.
- EConfigure the private subnet Network ACL with an outbound rule allowing traffic to the external repository, and rely on the Network ACL's stateful packet inspection to automatically permit response traffic.
Cevap
The correct configurations are to create a Gateway VPC Endpoint for Amazon S3 associated with the private subnet route tables, and to deploy a NAT Gateway in a public subnet with a route for outbound internet traffic in the private subnet route tables.
Creating a Gateway VPC Endpoint for Amazon S3 allows instances in the private subnets to securely transfer data to S3 without using a NAT Gateway, avoiding data processing charges. Deploying a NAT Gateway in a public subnet and routing traffic from the private subnets through it allows the private instances to download updates from the public internet safely.
Adım Adım Çözüm
Anahtar Kavram
VPC Network Security and VPC Endpoint Routing
Tahmini Süre:2m 0s