A company connects its multi-VPC environment using an AWS Transit Gateway. The primary connection to the corporate datacenter is a AWS Direct Connect (DX) connection using a Transit Virtual Interface (Transit VIF) through a Direct Connect Gateway (DXGW). A Site-to-Site VPN is configured directly to the Transit Gateway as a backup path. The on-premises database subnet resides in the CIDR block ``, which belongs to the larger corporate network range of ``. During a routine audit, a SysOps administrator notices that database-bound traffic is routing over the VPN tunnel instead of the DX connection, even though the DX connection is fully operational and has low utilization. In the Transit Gateway route table, the administrator identifies a propagated route for `` pointing to the DXGW and a propagated route for `` pointing to the VPN attachment.
Which two actions should the SysOps administrator take to ensure that traffic to the database subnet primarily uses the Direct Connect connection and only fails over to the VPN if the Direct Connect connection becomes unavailable? (Select TWO.)
- Advertise the `` prefix over the Direct Connect BGP session from the on-premises router.Answer
- Configure the customer gateway to only advertise the summarized `` prefix over the Site-to-Site VPN BGP session, removing the `` prefix advertisement.Answer
- CConfigure AS Path prepending on the Site-to-Site VPN BGP session from the customer gateway to deprioritize the `` route.
- DAdd a static route for `` pointing to the Transit Gateway attachment in all VPC subnet route tables.
- EConfigure a static route for `` pointing to the Direct Connect Gateway attachment in the Transit Gateway route table.