A company uses an AWS Transit Gateway to connect multiple VPCs to its on-premises network. Hybrid connectivity is established using a AWS Direct Connect connection (via a Transit VIF and a Direct Connect Gateway) as the primary path, and an AWS Site-to-Site VPN connection as the backup path. The administrator configures dynamic BGP routing on the Direct Connect connection, which dynamically propagates the on-premises prefix to the Transit Gateway route table. The Site-to-Site VPN is configured with a static route for pointing to the VPN attachment in the Transit Gateway route table. During a failover test, the administrator observes that all outbound traffic destined for the on-premises network continues to be sent over the backup VPN connection, even though the Direct Connect connection is fully operational. Which of the following actions will ensure that the Transit Gateway routes traffic to the on-premises network via the Direct Connect connection as the primary path under normal operating conditions?
- Reconfigure the Site-to-Site VPN connection to use dynamic BGP routing, propagate the on-premises prefix to the Transit Gateway route table, and delete the static route pointing to the VPN attachment.Cevap
- BUpdate the VPC subnet route tables to direct the prefix directly to the Direct Connect Gateway target rather than the Transit Gateway.
- CConfigure BGP path prepending on the customer gateway to increase the AS-Path length of the static VPN connection route advertised to the Transit Gateway.
- DDeploy an AWS NAT Gateway in a public subnet within each VPC and update the subnet route tables to forward all traffic through the NAT Gateway.