A multinational pharmaceutical company is designing a highly available, multi-region hybrid network. The company has spoke VPCs in the `eu-west-2` Region and spoke VPCs in the `ap-southeast-1` Region, all managed under a single AWS Organization. The company requires primary connectivity to on-premises data centers in London and Singapore via dedicated AWS Direct Connect (DX) connections using Transit virtual interfaces (VIFs) connected to a shared Direct Connect Gateway (DXGW). An IPsec VPN over the public internet must serve as the backup connection for each region. A centralized Route 53 Private Hosted Zone (PHZ) for internal tooling (`corp.internal`) is hosted in a shared services account in `eu-west-2` and must be resolvable by all spoke VPCs in both regions.
The design must satisfy the following requirements:
* On-premises traffic must always prefer the Direct Connect path over the backup VPN when the Direct Connect connection is healthy.
* Spoke VPCs must route to their local regional data center but must be restricted from using the cross-region Transit Gateway peering connection to reach the remote regional data center.
* In the event of a regional Direct Connect outage, traffic must fail over to the local IPsec VPN instead of routing transitively through the peer region's Direct Connect.
* DNS resolution for `corp.internal` must be available in all spoke VPCs without exposing the zone to the public internet.
Which two configurations should a Solutions Architect implement to meet these requirements?
- In each region, associate a Spoke VPC Route Table with all spoke VPC attachments. In this route table, add a route for the local on-premises CIDR pointing to the local Transit Gateway (TGW) attachment to the DXGW, and propagate the local VPN attachment. In the TGW peering route table, only propagate or add routes for the remote VPC CIDR blocks, excluding the remote on-premises network prefixes.Answer
- On the on-premises customer gateway routers, configure BGP local preference to prefer routes received via the Direct Connect Transit VIFs over those received via the backup VPN tunnels. For outbound traffic from AWS, rely on the Transit Gateway's default path selection, which automatically prefers the Direct Connect Gateway attachment over the VPN attachment for the same propagated prefix.Answer
- CUse the Direct Connect Gateway to perform transitive routing between the two regional Transit Gateways. In the Direct Connect Gateway, configure prefix filters to allow VPC-to-VPC routing across regions while blocking cross-region traffic from reaching the remote on-premises networks.
- DAssociate the central Route 53 Private Hosted Zone (PHZ) in the shared services account with the Transit Gateway in each region, allowing all spoke VPCs connected to the Transit Gateways to resolve the hosted zone's records without further association.
- EDeploy a single shared transit VPC in each region containing a single NAT Gateway. Route all hybrid outbound traffic and backup VPN traffic from the spoke VPCs through the Transit Gateway to this NAT Gateway to centralize egress routing and reduce NAT Gateway hourly charges.