AWS Certified Solutions Architect – Associate (SAA-C03) — Question 167

An application runs on Amazon EC2 instances in private subnets. The application needs to access an Amazon DynamoDB table.

What is the MOST secure way to access the table while ensuring that the traffic does not leave the AWS network?

Answer options

Correct answer: A

Explanation

The most secure way to access DynamoDB from private subnets is by using a VPC endpoint, which keeps all traffic within the AWS network. Using a NAT gateway or NAT instance would route traffic through the internet, compromising security and potentially increasing latency. An internet gateway would not be suitable as it allows traffic to leave the AWS network, which contradicts the requirement.