Networking and Content Delivery

Two VPCs in the same account are peered, but a private hosted zone is associated only with VPC A. Instances in VPC B use Amazon-provided DNS and cannot resolve its records; how should an engineer provide resolution with the least operational overhead?

Show the answer

Correct answerB. Associate the private hosted zone with VPC B.

AWhy not this: Publishing the records changes their visibility instead of providing access to the existing private namespace.

BWhy this is right: A private hosted zone can be associated with multiple VPCs, providing direct resolution without additional endpoints.

CWhy not this: An inbound endpoint would require additional DNS forwarding configuration and cost that a zone association avoids.

DWhy not this: Peering DNS resolution settings do not make a private hosted zone associated with one VPC available to its peer.

Associating the private hosted zone with VPC B makes its records available through that VPC's Resolver. Peering DNS resolution settings do not extend private hosted zone associations to the peer VPC.