A company has established hybrid connectivity using an AWS Transit Gateway. The Transit Gateway is attached to three VPCs. To connect to the on-premises network (CIDR ), the company uses a primary AWS Direct Connect connection with a Transit Virtual Interface (Transit VIF) terminated on a Direct Connect Gateway. As a backup, they have configured an AWS Site-to-Site VPN connection attached directly to the Transit Gateway. Both connections are advertising the prefix via dynamic BGP, and both attachments have route propagation enabled in the Transit Gateway route table. During a maintenance window, a SysOps administrator needs to temporarily force all outbound traffic destined for the on-premises network to use the Site-to-Site VPN backup path. Which action will achieve this goal with the least administrative effort?
- AConfigure BGP AS Path prepending on the on-premises router to prepend its Autonomous System Number (ASN) three times for the prefix advertised over the Direct Connect connection.
- Add a static route for pointing to the Site-to-Site VPN attachment in the Transit Gateway route table.Answer
- CConfigure the on-premises router to advertise a lower Multi-Exit Discriminator (MED) value for the prefix over the Site-to-Site VPN connection than over the Direct Connect connection.
- DCreate a private hosted zone in Amazon Route 53 and configure a routing policy to resolve the on-premises IP addresses to the VPN gateway endpoint.