Bird
0
0

Which of the following is the correct AWS CLI command to accept a VPC peering connection request?

easy📝 Syntax Q3 of 15
AWS - VPC Fundamentals
Which of the following is the correct AWS CLI command to accept a VPC peering connection request?
Aaws ec2 accept-vpc-peering-connection --vpc-peering-connection-id pcx-123abc
Baws ec2 create-vpc-peering-connection --vpc-id vpc-123abc
Caws ec2 delete-vpc-peering-connection --vpc-peering-connection-id pcx-123abc
Daws ec2 describe-vpc-peering-connections
Step-by-Step Solution
Solution:
  1. Step 1: Identify command to accept peering

    The command to accept a peering request is 'accept-vpc-peering-connection'.
  2. Step 2: Match command syntax

    aws ec2 accept-vpc-peering-connection --vpc-peering-connection-id pcx-123abc uses the correct command and requires the peering connection ID.
  3. Final Answer:

    aws ec2 accept-vpc-peering-connection --vpc-peering-connection-id pcx-123abc -> Option A
  4. Quick Check:

    Accept peering = accept-vpc-peering-connection [OK]
Quick Trick: Accept peering with 'accept-vpc-peering-connection' CLI command [OK]
Common Mistakes:
MISTAKES
  • Using create instead of accept to approve peering
  • Deleting peering instead of accepting
  • Describing peering instead of accepting

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes