An enterprise has a multi-account AWS environment with VPCs in the us-east-1 and us-west-2 regions. Each region contains an AWS Transit Gateway (TGW-East and TGW-West), and the two Transit Gateways are peered. The on-premises datacenter uses the IP address range .
The datacenter connects to AWS using a Direct Connect Gateway (DXGW) associated with both Transit Gateways via Transit Virtual Interfaces (VIFs). As a backup, AWS Site-to-Site VPN connections are established from the datacenter directly to both TGW-East and TGW-West.
The Solutions Architect must design a routing policy for us-east-1 spoke VPCs to access the network. The policy must prioritize the paths in the following order:
1. Primary: The local Direct Connect link via TGW-East.
2. Secondary: The local backup Site-to-Site VPN via TGW-East.
3. Tertiary: The peered TGW link to TGW-West, then via the us-west-2 Direct Connect link.
Additionally, traffic from the datacenter to the us-east-1 VPCs must prefer the Direct Connect link over the VPN link.
Which TWO configurations should the Solutions Architect implement to meet these requirements?
- Configure a static route for pointing to the TGW peering attachment in the TGW-East route table, and enable route propagation for the local Direct Connect Gateway and VPN attachments to dynamically learn the prefix.Cevap
- Configure the on-premises customer gateway router to assign a higher BGP Local Preference value to routes received from AWS via the Direct Connect connection than those received via the Site-to-Site VPN.Cevap
- CConfigure a static route for pointing to the TGW peering attachment in the TGW-East route table, and configure the route propagation for the local Direct Connect Gateway and VPN attachments.
- DEnable dynamic BGP route propagation for the TGW peering attachment in TGW-East, allowing TGW-West to advertise the prefix with a larger AS-Path attribute than the local VPN connection.
- EDeploy a single NAT Gateway in a public subnet of the us-east-1 VPCs, and route all outbound on-premises traffic through it to translate the source IP to a public IP before reaching the peered TGW connection.