Architecture Design and Implementation Built for the Cloud

A public example.com zone contains www and api records; a new private example.com zone is empty. VPC clients must resolve api.example.com to a private address and www.example.com to its existing public address, while internet responses remain unchanged. Which changes meet these requirements? (Choose three.)

Choose 3 answers

Show the answer

Correct answersA. Create a www record with the existing public address in the private hosted zone.D. Associate the private example.com hosted zone with the application VPC.E. Create an api record with the private address in the private hosted zone.

AWhy this is right: The private zone must contain www because missing records do not fall back to the public hosted zone.

BWhy not this: A missing record in a matching private hosted zone produces a negative answer rather than public-zone fallback.

CWhy not this: Changing the public api record changes internet responses and exposes the private address through public DNS.

DWhy this is right: VPC association makes the private namespace available to applications using the VPC Resolver.

EWhy this is right: The private api record supplies the internal address without changing internet-facing DNS responses.

Associate the private zone with the VPC and populate both required names with their intended answers. A matching private hosted zone does not fall back to the public zone when a record is absent, so www must also exist privately.