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.)
Select an option, then click Submit answer.
Reference / correct answer:
Create a gateway endpoint for DynamoDB.
Most accepted answer: B. Create a gateway endpoint for DynamoDB.
Community votes: A=10, B=13, E=3
Selected Answer: AB https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints-ddb.html upvoted 13 times
Selected Answer: BE The reasons are: A gateway endpoint for DynamoDB enables private connectivity between DynamoDB and the VPC. This allows EC2 instances to access DynamoDB APIs without traversing the internet. A security group entry is needed to allow the EC2 instances access to the DynamoDB endpoint over the VPC. An interface endpoint is used for services like S3 and Systems Manager, not DynamoDB. Route table entries route traffic within a VPC but do not affect external connectivity. Elastic network interfaces are not needed for gateway endpoints. upvoted 10 times allanm 11 months, 3 weeks ago Gateway VPC endpoints provide reliable connectivity to Amazon S3 and DynamoDB without requiring an internet gateway or a NAT device for your VPC. Gateway endpoints do not use AWS PrivateLink, unlike other types of VPC endpoints. https://docs.aws.amazon.com/vpc/latest/privatelink/gateway-endpoints.html B is correct upvoted 2 times ... unbendable 2 years, 9 months ago "The outbound rules for the security group for instances that access DynamoDB through the gateway endpoint must allow traffic to DynamoDB", https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints-ddb.html The option however is talking about the security group of the endpoint upvoted 3 times ...
Gateway VPC endpoints provide reliable connectivity to Amazon S3 and DynamoDB without requiring an internet gateway or a NAT device for your VPC. Gateway endpoints do not use AWS PrivateLink, unlike other types of VPC endpoints. https://docs.aws.amazon.com/vpc/latest/privatelink/gateway-endpoints.html B is correct upvoted 2 times
"The outbound rules for the security group for instances that access DynamoDB through the gateway endpoint must allow traffic to DynamoDB", https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints-ddb.html The option however is talking about the security group of the endpoint upvoted 3 times
Selected Answer: AB A & B are correct https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/vpc-endpoints-dynamodb.html E is incorrect. There's no need for security group. From the URL above: "Once the VPC subnet’s gateway endpoint has been granted access to DynamoDB, any AWS account with access to that subnet can use DynamoDB." upvoted 2 times