
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A solutions architect needs to ensure that API calls to Amazon DynamoDB from Amazon EC2 instances in a VPC do not travel across the internet. Which combination of steps should the solutions architect take to meet this requirement? (Choose two.)
A
Create a route table entry for the endpoint.
B
Create a gateway endpoint for DynamoDB.
Explanation:
To ensure that API calls to Amazon DynamoDB from Amazon EC2 instances in a VPC do not travel across the internet, the solutions architect should:
B. Create a gateway endpoint for DynamoDB - This is the primary requirement. A VPC endpoint for DynamoDB is a gateway endpoint that provides a private connection between your VPC and DynamoDB without requiring an internet gateway, NAT device, VPN connection, or AWS Direct Connect connection.
A. Create a route table entry for the endpoint - After creating the gateway endpoint, you need to add a route to your route table that directs traffic destined for DynamoDB to the VPC endpoint. This ensures that traffic stays within the AWS network.
C. Create an interface endpoint for Amazon EC2 - Interface endpoints are for AWS services that use PrivateLink (like Amazon S3, Amazon SNS, etc.), not for DynamoDB. DynamoDB uses gateway endpoints.
D. Create an elastic network interface for the endpoint in each of the subnets of the VPC - This is required for interface endpoints (PrivateLink), not for gateway endpoints. Gateway endpoints don't use ENIs.
E. Create a security group entry in the endpoint's security group to provide access - Gateway endpoints don't have security groups. Security groups are associated with interface endpoints, not gateway endpoints.