Security and Compliance

An EC2 application in a private subnet must retrieve Secrets Manager secrets without internet access or a NAT gateway. Which configuration provides private connectivity using the standard regional service hostname?

Show the answer

Correct answerC. A Secrets Manager interface endpoint with private DNS enabled

AWhy not this: Replication does not provide a private network path to Secrets Manager.

BWhy not this: A KMS endpoint provides access to KMS APIs, not the Secrets Manager retrieval API.

CWhy this is right: The interface endpoint provides private connectivity, and private DNS resolves the standard hostname to it.

DWhy not this: An S3 gateway endpoint routes S3 requests, not Secrets Manager requests.

A Secrets Manager interface VPC endpoint provides private access through AWS PrivateLink, and private DNS supports the standard service hostname. A KMS endpoint serves KMS API requests, not Secrets Manager retrieval requests.