AWS Certified Database – Specialty — Question 271

A company has a hybrid environment in which a VPC connects to an on-premises network through an AWS Site-to-Site VPN connection. The VPC contains an application that is hosted on Amazon EC2 instances. The EC2 instances run in private subnets behind an Application Load Balancer (ALB) that is associated with multiple public subnets. The EC2 instances need to securely access an Amazon DynamoDB table.

Which solution will meet these requirements?

Answer options

Correct answer: C

Explanation

Routing DynamoDB traffic back through the Site-to-Site VPN to the on-premises network infrastructure ensures that all data access complies with strict corporate security policies requiring centralized on-premises inspection. This configuration prevents the EC2 instances from directly accessing the public internet or utilizing AWS-native endpoints that bypass the corporate firewall. Other solutions like NAT gateways or internet gateways would route the traffic over the public internet, violating the security requirement for on-premises routing control.