An enterprise has a multi-account AWS environment with a Transit Gateway (TGW) deployed in the Region. The enterprise requires high-availability hybrid connectivity to its on-premises data center. To achieve this, the enterprise establishes two AWS Direct Connect (DX) connections:
- Connection A: A primary DX connection at a Virginia DX location.
- Connection B: A backup DX connection at a Chicago DX location.
Both connections terminate on the same customer gateway router on-premises. The Solutions Architect creates a Transit Virtual Interface (Transit VIF) for each connection and associates them with a single Direct Connect Gateway (DXGW), which is attached to the TGW in .
The enterprise has the following traffic requirements:
- Requirement 1: Traffic from AWS to the on-premises network must prefer Connection A. If Connection A fails, traffic must fail over to Connection B.
- Requirement 2: Traffic from the on-premises network to AWS must prefer Connection A. If Connection A fails, traffic must fail over to Connection B.
Which combination of BGP routing configurations will meet these requirements while preventing asymmetric routing?
- For AWS-to-on-premises traffic, configure the customer gateway to advertise the on-premises prefixes to AWS with the BGP community over Connection A, and with the BGP community over Connection B. For on-premises-to-AWS traffic, configure the customer gateway to set a higher local preference for routes received over Connection A containing the BGP community compared to routes received over Connection B containing the BGP community .Cevap
- BFor AWS-to-on-premises traffic, configure the customer gateway to advertise the on-premises prefixes to AWS with the BGP community over Connection A, and with the BGP community over Connection B. For on-premises-to-AWS traffic, configure the customer gateway to set a higher local preference for routes received over Connection A containing the BGP community compared to routes received over Connection B containing the BGP community .
- CFor AWS-to-on-premises traffic, configure the customer gateway to advertise the on-premises prefixes with a shorter AS path over Connection A, and a longer AS path over Connection B using AS-Path prepending. For on-premises-to-AWS traffic, associate a Route 53 Private Hosted Zone with Connection A to dynamically resolve the on-premises DNS endpoints, while keeping Connection B as a standby DNS resolver.
- DFor AWS-to-on-premises traffic, configure a static route on the Transit Gateway route table pointing to Connection A as the primary target and Connection B as the secondary target. For on-premises-to-AWS traffic, deploy a NAT Gateway in a transit VPC associated with the Transit Gateway to route outbound traffic preferentially through Connection A.