AWS Certified Database – Specialty — Question 354

An ecommerce company uses a backend application that stores data in an Amazon DynamoDB table. The backend application runs in a private subnet in a VPC and must connect to this table.
The company must minimize any network latency that results from network connectivity issues, even during periods of heavy application usage. A database administrator also needs the ability to use a private connection to connect to the DynamoDB table from the application.
Which solution will meet these requirements?

Answer options

Correct answer: B

Explanation

Creating a VPC endpoint for Amazon DynamoDB allows resources in a private subnet to connect privately and securely to the database without traversing the public internet, which minimizes latency and avoids external network issues. Restricting traffic via network ACLs or routing it through an on-premises VPN does not provide a direct, low-latency private path within AWS. Using an intermediate AWS Lambda function introduces unnecessary architectural complexity and added latency without addressing the core network routing requirement.