Bird
0
0

If a DynamoDB table is accessed from an EC2 instance inside a VPC with a correctly configured VPC endpoint, what will be the network path for the request?

medium📝 query result Q4 of 15
DynamoDB - Security and Access Control
If a DynamoDB table is accessed from an EC2 instance inside a VPC with a correctly configured VPC endpoint, what will be the network path for the request?
AThe request is routed through the VPC endpoint directly to DynamoDB
BThe request is routed through a NAT gateway before reaching DynamoDB
CThe request goes through the internet gateway to DynamoDB
DThe request is blocked because VPC endpoints do not support DynamoDB
Step-by-Step Solution
Solution:
  1. Step 1: Understand VPC endpoint routing

    With a VPC endpoint, traffic to DynamoDB stays within the AWS network and uses the endpoint instead of the internet.
  2. Step 2: Apply to EC2 inside VPC scenario

    Requests from EC2 inside the VPC use the VPC endpoint to reach DynamoDB privately without internet or NAT.
  3. Final Answer:

    The request is routed through the VPC endpoint directly to DynamoDB -> Option A
  4. Quick Check:

    Network path with VPC endpoint = Private route [OK]
Quick Trick: VPC endpoint routes traffic privately inside AWS [OK]
Common Mistakes:
MISTAKES
  • Assuming traffic goes through internet gateway
  • Thinking NAT gateway is required
  • Believing VPC endpoints block DynamoDB access

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More DynamoDB Quizzes