Soru

Zorluk: OrtaCost-Effective Network Routing and Data Transfer Optimization

A retail firm operates an analytics workload in a private subnet within VPC A. Every day, the workload retrieves 20 TB20\text{ TB} of sales reports from an Amazon S3 bucket. Additionally, the workload sends 5 TB5\text{ TB} of data to a shared PostgreSQL database hosted in VPC B within the same AWS Region. Currently, VPC A routes all traffic destined for the internet, S3, and VPC B through a NAT Gateway.

Which two adjustments to the network architecture will minimize data transfer charges? (Select TWO.)

  1. Configure a gateway endpoint for Amazon S3 in VPC A and associate it with the route table of the analytics subnet.Cevap
  2. Establish a VPC peering connection between VPC A and VPC B, and configure the route tables to direct database-destined traffic through the peering connection.Cevap
  3. C
    Configure an interface endpoint for Amazon S3 in VPC A and update the route tables to prioritize it over the S3 route.
  4. D
    Implement an AWS Transit Gateway to route all database and S3 traffic between the VPCs.
  5. E
    Route the database traffic through a Site-to-Site VPN connection established between VPC A and VPC B.

Cevap

Configure a gateway VPC endpoint for Amazon S3 in VPC A, and establish a VPC peering connection between VPC A and VPC B to route database traffic directly.
Configuring a gateway VPC endpoint for Amazon S3 eliminates NAT Gateway processing charges for S3 data access at no additional cost. Establishing a VPC peering connection between VPC A and VPC B allows the workload to communicate directly using private IP addresses, bypassing the NAT Gateway and its associated charges.

Adım Adım Çözüm

1
Analyze S3 traffic cost optimization.
Identify that routing S3 traffic through a NAT Gateway incurs a data processing fee of $0.045 per GB. Implementing a Gateway VPC Endpoint for S3 is free and avoids NAT Gateway data processing fees.
To eliminate charges for retrieving 20 TB20\text{ TB} of data daily from S3.
2
Analyze cross-VPC database traffic cost optimization.
Identify that routing traffic to another VPC in the same Region through a NAT Gateway incurs NAT Gateway data processing charges. Using a VPC peering connection routes traffic directly over the AWS network using private IP addresses.
To eliminate NAT Gateway processing fees for the 5 TB5\text{ TB} database traffic.
3
Select the two most cost-effective options.
Combining a gateway VPC endpoint for S3 and a VPC peering connection for inter-VPC database traffic provides the lowest network cost.
Both selected solutions bypass NAT Gateway fees without introducing other costly services like interface endpoints, Transit Gateway, or Site-to-Site VPN.

Anahtar Kavram

Cost-Effective Network Routing and Data Transfer Optimization
Bu soruyu puanla