Bird
0
0

After establishing a VPC peering connection between VPC A and VPC B, which step is necessary to enable communication between instances in both VPCs?

medium📝 service behavior Q13 of 15
AWS - VPC Fundamentals
After establishing a VPC peering connection between VPC A and VPC B, which step is necessary to enable communication between instances in both VPCs?
AAttach a NAT gateway to both VPCs
BCreate an internet gateway in both VPCs
CEnable public IP addresses on all instances
DUpdate route tables in both VPCs to include routes to each other's CIDR blocks
Step-by-Step Solution
Solution:
  1. Step 1: Understand VPC peering communication requirements

    VPC peering connects networks but does not automatically update routing. You must add routes to route tables for traffic to flow.
  2. Step 2: Analyze options

    Only Update route tables in both VPCs to include routes to each other's CIDR blocks correctly describes updating route tables with routes to the peer VPC's CIDR block. Other options relate to internet or NAT, not peering.
  3. Final Answer:

    Update route tables in both VPCs to include routes to each other's CIDR blocks -> Option D
  4. Quick Check:

    Route tables must include peer CIDR for communication [OK]
Quick Trick: Always update route tables after peering [OK]
Common Mistakes:
MISTAKES
  • Assuming internet gateway is needed for peering
  • Thinking public IPs are required
  • Confusing NAT gateway with peering setup

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes