A retail company runs a containerized microservices application on Amazon ECS (Fargate) across three Availability Zones in a VPC. The Fargate tasks are located in private subnets and need to perform the following operations:
- Retrieve of product catalog assets per month from an Amazon S3 bucket in the same AWS Region.
- Synchronize transaction logs (totaling per month) with a database cluster hosted in another VPC belonging to a subsidiary in the same Region.
Currently, a NAT Gateway in a public subnet handles all outbound traffic for the private subnets. A solutions architect needs to redesign the network routing to reduce the monthly data transfer charges.
Which combination of actions should the solutions architect implement to achieve the most cost-effective solution? (Select TWO.)
- Configure an Amazon S3 gateway VPC endpoint and reference it in the private subnet route tables.Cevap
- Set up a VPC peering connection between the two VPCs and direct the log synchronization traffic through it using private route table entries.Cevap
- CProvision an interface VPC endpoint (AWS PrivateLink) for Amazon S3 and update the Fargate task configuration.
- DImplement an AWS Transit Gateway to bridge the two VPCs and route the transaction traffic through the transit hub.
- EMaintain the existing route tables and request Elastic IPs for the Fargate tasks to route traffic using public IP addressing.