0
0
DynamoDBquery~20 mins

VPC endpoints for private access in DynamoDB - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
VPC Endpoint DynamoDB Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
What is the primary benefit of using a VPC endpoint for DynamoDB?
You want to access your DynamoDB tables securely without using the public internet. What is the main advantage of using a VPC endpoint for this?
AIt increases the read and write capacity of DynamoDB tables.
BIt allows private, secure access to DynamoDB without exposing traffic to the public internet.
CIt automatically encrypts all data stored in DynamoDB tables.
DIt enables cross-region replication of DynamoDB tables.
Attempts:
2 left
💡 Hint
Think about how network traffic flows when using a VPC endpoint.
query_result
intermediate
1:30remaining
Identify the correct VPC endpoint policy effect
Given this VPC endpoint policy snippet, what effect does it have on DynamoDB access? { "Statement": [{ "Effect": "Deny", "Action": "dynamodb:DeleteItem", "Resource": "*" }]} What happens when a user tries to delete an item through this endpoint?
AThe delete operation is blocked when using this VPC endpoint.
BThe delete operation is allowed without restrictions.
CThe delete operation is allowed only for specific tables.
DThe delete operation is logged but still allowed.
Attempts:
2 left
💡 Hint
Look at the Effect and Action fields in the policy.
📝 Syntax
advanced
2:00remaining
Which VPC endpoint configuration is valid for DynamoDB private access?
Select the correct AWS CLI command to create a VPC endpoint for DynamoDB with private access in your VPC.
Aaws ec2 create-vpc-endpoint --vpc-id vpc-123abc --service-name com.amazonaws.us-east-1.s3 --vpc-endpoint-type Gateway
Baws ec2 create-vpc-endpoint --vpc-id vpc-123abc --service-name com.amazonaws.us-east-1.dynamodb --vpc-endpoint-type Interface
Caws ec2 create-vpc-endpoint --vpc-id vpc-123abc --service-name com.amazonaws.us-east-1.dynamodb --vpc-endpoint-type Gateway
Daws ec2 create-vpc-endpoint --vpc-id vpc-123abc --service-name com.amazonaws.us-east-1.dynamodb --vpc-endpoint-type GatewayLoadBalancer
Attempts:
2 left
💡 Hint
DynamoDB uses a specific type of VPC endpoint.
optimization
advanced
2:00remaining
How to optimize DynamoDB access latency using VPC endpoints?
You notice high latency accessing DynamoDB from your VPC. Which action can reduce latency when using VPC endpoints?
ACreate VPC endpoints in multiple Availability Zones and configure your application to use them.
BSwitch from Gateway to Interface VPC endpoints for DynamoDB.
CDisable VPC endpoints and access DynamoDB over the public internet.
DIncrease the provisioned throughput of your DynamoDB tables.
Attempts:
2 left
💡 Hint
Think about network proximity and redundancy.
🔧 Debug
expert
2:30remaining
Why does DynamoDB access fail despite VPC endpoint setup?
You created a Gateway VPC endpoint for DynamoDB in your VPC. However, your EC2 instances cannot access DynamoDB privately and get timeout errors. What is the most likely cause?
AThe DynamoDB table is in a different AWS region.
BThe VPC endpoint policy denies all DynamoDB actions.
CThe EC2 instances lack IAM permissions to access DynamoDB.
DThe route tables for the subnets do not have routes pointing to the VPC endpoint.
Attempts:
2 left
💡 Hint
Check network routing configuration in your VPC.