A financial services company is designing a hybrid network architecture for its AWS multi-account environment. The environment consists of several Production spoke VPCs and Non-Production spoke VPCs, all connected to a central AWS Transit Gateway (TGW) in a network transit account. The company has the following requirements for connectivity to their on-premises network ():
- Production traffic must utilize a primary Gbps Direct Connect (DX) connection at DX-Location-A. If DX-Location-A fails, traffic must fail over to a Gbps DX connection at DX-Location-B. If both DX connections fail, production traffic must fail over to a backup Site-to-Site VPN connection.
- Non-Production traffic must only use the DX connection at DX-Location-B to preserve bandwidth on the primary connection. It must never use DX-Location-A or the Site-to-Site VPN under any circumstances.
- Asymmetric routing between the on-premises network and AWS must be prevented.
Which combination of architectural and routing configurations must the Solutions Architect implement to meet these requirements? (Select TWO.)
- Establish two separate Direct Connect Gateways: DXGW-A connected to the Transit VIF of DX-Location-A, and DXGW-B connected to the Transit VIF of DX-Location-B. Associate both DXGWs and the Site-to-Site VPN with the TGW. Create separate TGW route tables for Production and Non-Production. Associate the Non-Production TGW route table only with the DXGW-B attachment, and the Production TGW route table with DXGW-A, DXGW-B, and the VPN attachments.Answer
- Advertise the on-premises prefix via BGP over all paths. On DX-Location-B, prepend the AS-Path times, and on the VPN connection, prepend the AS-Path times. In the TGW association for DXGW-B, configure prefix-level AS-Path prepending for the Production VPC CIDR blocks advertised to the on-premises router.Answer
- CDeploy a single Direct Connect Gateway (DXGW) and terminate both Transit VIFs on it. Create separate TGW route tables for Production and Non-Production. In the Non-Production TGW route table, create a static route for pointing to the DXGW attachment, and configure a TGW route table policy to filter out traffic destined for the DX-Location-A VIF.
- DEstablish a single Direct Connect Gateway (DXGW) and terminate both Transit VIFs on it. Use BGP communities advertised from the on-premises router (such as local preference community for DX-Location-A and for DX-Location-B) to force the TGW to route Non-Production traffic exclusively through DX-Location-B and Production traffic through DX-Location-A.
- ESet up a Transit Gateway peering connection between the Production and Non-Production TGW route tables. Configure the customer gateway to advertise more specific prefixes (such as subnets of ) over the VPN connection to force failover routing, and associate a shared Route 53 Private Hosted Zone (PHZ) across all VPCs to resolve the gateway endpoints.