
Answer-first summary for fast verification
Answer: Set up a VPC peering connection between the VPCs. Update the route tables of each VPC to use the VPC peering connection for inter-VPC communication.
## Explanation **VPC Peering (Option C)** is the most cost-effective solution because: 1. **No data transfer charges**: VPC peering connections within the same AWS Region have **no data transfer charges** for traffic between peered VPCs. 2. **Simple and direct**: VPC peering establishes a direct network connection between VPCs without going through the internet or requiring additional infrastructure. 3. **Low operational cost**: There are no hourly charges for VPC peering connections within the same Region. **Why other options are less cost-effective**: - **AWS Transit Gateway (Option A)**: Charges hourly for the transit gateway attachment and has data processing charges per GB, making it more expensive for this use case. - **AWS Site-to-Site VPN (Option B)**: Requires VPN endpoints (hourly charges) and data transfer charges, plus it routes traffic over the internet which is less secure and more expensive. - **AWS Direct Connect (Option D)**: Has significant setup costs, monthly port charges, and data transfer charges, making it the most expensive option for just connecting two VPCs in the same Region. **Key considerations**: - Both VPCs are in the same Region (us-west-2) - Same AWS account - 500 GB/month data transfer - VPC peering is specifically designed for this scenario and is the most cost-effective solution.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A company has two VPCs that are located in the us-west-2 Region within the same AWS account. The company needs to allow network traffic between these VPCs. Approximately 500 GB of data transfer will occur between the VPCs each month.
What is the MOST cost-effective solution to connect these VPCs?
A
Implement AWS Transit Gateway to connect the VPCs. Update the route tables of each VPC to use the transit gateway for inter-VPC communication.
B
Implement an AWS Site-to-Site VPN tunnel between the VPCs. Update the route tables of each VPC to use the VPN tunnel for inter-VPC communication.
C
Set up a VPC peering connection between the VPCs. Update the route tables of each VPC to use the VPC peering connection for inter-VPC communication.
D
Set up a 1 GB AWS Direct Connect connection between the VPCs. Update the route tables of each VPC to use the Direct Connect connection for inter-VPC communication.