An HR-tech SaaS company is deploying a multi-account AWS architecture managed under AWS Organizations. A central `Network-Hub` account hosts a Transit Gateway (TGW) and a shared services VPC. Several consumer VPCs reside in separate production and development accounts, all connected to the TGW. The company maintains an on-premises Active Directory DNS server () in their local datacenter, which is connected to the TGW via an AWS Direct Connect connection. The architecture requires a hybrid DNS resolution strategy where:
1. EC2 instances in the consumer VPCs must resolve internal on-premises domains (`corp.local`).
2. On-premises servers must resolve AWS private domains (`aws.payroll.internal`) hosted in a Route 53 Private Hosted Zone (PHZ) in the `Network-Hub` account.
Which of the following architectures meets these DNS resolution requirements with the least administrative overhead?
- Create Route 53 Resolver inbound and outbound endpoints in the shared services VPC. Associate the `aws.payroll.internal` PHZ with the shared services VPC. Create an outbound resolver rule for `corp.local` forwarding to , associate it with the shared services VPC, and share the rule with the consumer accounts using AWS Resource Access Manager (RAM). In the `Network-Hub` account, authorize the association of the consumer VPCs with the PHZ. In the consumer accounts, associate the consumer VPCs with the PHZ and with the shared resolver rule.Cevap
- BCreate Route 53 Resolver inbound and outbound endpoints in the shared services VPC. Associate the `aws.payroll.internal` PHZ with the shared services VPC. Share the PHZ with the consumer accounts using AWS Resource Access Manager (RAM) to automatically enable DNS resolution in all VPCs. Create an outbound resolver rule for `corp.local` forwarding to , and associate it directly with the Transit Gateway to apply it globally across all connected VPCs.
- CCreate a Route 53 Resolver outbound endpoint in the shared services VPC. Create an outbound resolver rule for `corp.local` forwarding to , and share it with the consumer accounts using AWS Resource Access Manager (RAM). For on-premises query resolution of the `aws.payroll.internal` zone, configure the Transit Gateway to route DNS traffic directed to over the Direct Connect connection to the on-premises environment.
- DCreate Route 53 Resolver inbound and outbound endpoints in the shared services VPC. Associate the `aws.payroll.internal` PHZ with the shared services VPC. Create an outbound resolver rule for `corp.local` forwarding to , and share it with the consumer accounts using AWS Resource Access Manager (RAM). In the `Network-Hub` account, create an outbound resolver rule for `aws.payroll.internal` pointing to the inbound endpoint IP addresses, and share it with the consumer accounts via AWS RAM instead of associating the PHZ with each consumer VPC.