A logistics company is designing a hybrid network to connect spoke VPCs in the `us-east-1` Region to its on-premises data center. The architecture must enable all spoke VPCs to communicate with each other and with the on-premises network. The connectivity to the on-premises data center must be redundant, using a AWS Direct Connect connection as the primary path and an AWS Site-to-Site VPN connection over the internet as the backup path. The solution must minimize routing complexity, support automatic failover, and minimize administrative overhead. Which two configuration steps should the Solutions Architect implement to achieve this goal? (Select TWO.)
- Attach the spoke VPCs, the Direct Connect Gateway (DXGW) using a transit virtual interface (VIF), and the Site-to-Site VPN to a central AWS Transit Gateway.Cevap
- Enable BGP route propagation for both the Direct Connect Gateway attachment and the Site-to-Site VPN attachment in the Transit Gateway route table associated with the spoke VPCs.Cevap
- CEstablish VPC peering connections between all spoke VPCs, and associate the Direct Connect Gateway directly with the Virtual Private Gateways of each spoke VPC to route hybrid traffic.
- DCreate a Route 53 Private Hosted Zone (PHZ) containing on-premises records in a centralized Shared Services VPC, and associate the PHZ directly with the AWS Transit Gateway to enable domain resolution for all spoke VPCs.
- EDeploy a single centralized NAT Gateway in a Shared Services VPC, and configure the spoke VPC route tables to route all hybrid traffic to this NAT Gateway to handle failover between the Direct Connect and VPN connections.
Cevap
Attach the spoke VPCs, the Direct Connect Gateway via a transit virtual interface, and the Site-to-Site VPN to a central AWS Transit Gateway, and enable BGP route propagation for both hybrid attachments in the Transit Gateway route table.
The correct architecture uses a central AWS Transit Gateway to interconnect the spoke VPCs and handle hybrid connectivity. By attaching both the Direct Connect Gateway (using a transit VIF) and the Site-to-Site VPN to the Transit Gateway and enabling BGP route propagation, the Transit Gateway dynamically learns routes to the on-premises network. When identical prefixes are propagated over both paths, AWS Transit Gateway's default route selection logic prioritizes the Direct Connect Gateway attachment over the VPN attachment, ensuring that the primary path is used and that traffic automatically fails over to the VPN if the Direct Connect link drops.
Adım Adım Çözüm
Anahtar Kavram
AWS Transit Gateway path selection behavior for BGP-propagated routes automatically prefers Direct Connect Gateway over Site-to-Site VPN, enabling dynamic and automatic failover.