Bird
0
0

Which AWS CLI command is used to create a VPC endpoint for DynamoDB?

easy📝 Syntax Q12 of 15
DynamoDB - Security and Access Control
Which AWS CLI command is used to create a VPC endpoint for DynamoDB?
Aaws s3 create-vpc-endpoint --service-name com.amazonaws.region.s3
Baws dynamodb create-endpoint --vpc-id vpc-123456
Caws ec2 create-vpc-endpoint --service-name com.amazonaws.region.dynamodb
Daws ec2 create-vpc --service-name dynamodb
Step-by-Step Solution
Solution:
  1. Step 1: Identify correct AWS CLI service for VPC endpoints

    VPC endpoints are managed via the EC2 service commands, not DynamoDB or S3 commands.
  2. Step 2: Match correct syntax for DynamoDB endpoint

    The command uses 'aws ec2 create-vpc-endpoint' with the service name for DynamoDB in the region.
  3. Final Answer:

    aws ec2 create-vpc-endpoint --service-name com.amazonaws.region.dynamodb -> Option C
  4. Quick Check:

    EC2 CLI + DynamoDB service name = create VPC endpoint [OK]
Quick Trick: VPC endpoints use EC2 CLI, not DynamoDB CLI [OK]
Common Mistakes:
MISTAKES
  • Using dynamodb CLI instead of ec2 CLI
  • Confusing S3 service name with DynamoDB
  • Trying to create VPC instead of VPC endpoint

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More DynamoDB Quizzes