Data Protection

An application uses the standard Regional AWS Secrets Manager hostname, but DNS returns public addresses despite an available interface VPC endpoint. VPC DNS support and DNS hostnames are enabled; what should the engineer change to use the endpoint without modifying the application?

Show the answer

Correct answerD. Enable private DNS on the interface endpoint.

AWhy not this: TLS enforcement controls transport encryption, not hostname resolution or endpoint selection.

BWhy not this: A NAT gateway provides outbound connectivity but does not direct the hostname to the interface endpoint.

CWhy not this: Secrets Manager supports interface endpoints, not gateway endpoints.

DWhy this is right: Private DNS maps the standard service hostname to the interface endpoint's private IP addresses.

Private DNS makes the standard Regional Secrets Manager hostname resolve to the interface endpoint's private addresses inside the VPC. Requiring TLS protects transport but does not change DNS resolution or select a private network path.