AWS Certified Solutions Architect – Professional — Question 469

A company requires that all internal application connectivity use private IP addresses. To facilitate this policy, a solutions architect has created interface endpoints to connect to AWS public services. Upon testing, the solutions architect notices that the service names are resolving to public IP addresses, and that internal services cannot connect to the interface endpoints.
Which step should the solutions architect take to resolve this issue?

Answer options

Correct answer: B

Explanation

Enabling private DNS on the VPC attributes (along with enabling private DNS for the interface endpoint) allows AWS to resolve the public service endpoints to the private IP addresses of the VPC endpoint. Without this setting, DNS queries for the service names will continue to resolve to public IP addresses, preventing internal services from routing traffic through the endpoint. Other options, such as modifying route tables or configuring conditional forwarders, do not address the native DNS resolution behavior of VPC interface endpoints.