A retail company is designing a hybrid network to connect its on-premises corporate offices to a multi-account environment on AWS in the us-west-2 Region. The AWS environment contains a central network services account, a Production account, and a Development account. The Production and Development accounts each contain one spoke VPC.
The company has deployed an AWS Transit Gateway (TGW) in the central network services account and attached the spoke VPCs. To establish connectivity to the corporate offices, the company provisions a 1 Gbps AWS Direct Connect (DX) connection with a transit virtual interface (VIF) attached to a Direct Connect Gateway (DXGW), which is associated with the TGW. For high availability, they also configure a backup IPsec Site-to-Site VPN over the internet to the same TGW.
The company has the following requirements:
- The DX connection must serve as the primary path, and the Site-to-Site VPN must serve as a standby path that only handles traffic if the DX connection is down.
- Workloads in the spoke VPCs must be able to resolve DNS names of on-premises resources.
- All outbound internet traffic from the spoke VPCs must route through a centralized egress VPC in the network services account in a highly available manner.
Which combination of actions should the Solutions Architect take to meet these requirements? (Select TWO.)
- On the customer gateway device, set a higher BGP Local Preference for routes received from AWS via the Direct Connect Transit VIF compared to the Site-to-Site VPN, and advertise the identical corporate network CIDR block over both paths.Answer
- In the central network services account, create a Route 53 Resolver outbound endpoint, define a Resolver rule for the on-premises domain pointing to corporate DNS servers, and associate the rule with the Production and Development spoke VPCs.Answer
- CAssociate the Direct Connect Gateway directly with the spoke VPCs using private virtual interfaces (VIFs), and use the Transit Gateway exclusively to manage the Site-to-Site VPN routing domain for backup traffic.
- DConfigure a Route 53 Private Hosted Zone (PHZ) for the corporate domain in the central network services account, and enable DNS support on the Transit Gateway to automatically propagate resolution to all attached spoke VPCs.
- EDeploy a single NAT Gateway in the public subnet of the central egress VPC, and configure the route tables of the Production and Development VPCs to route outbound internet traffic through this NAT Gateway via Transit Gateway.