AWS Certified SysOps Administrator – Associate — Question 455
A company has two VPC networks named VPC A and VPC B. The VPC A CIDR block is 10.0.0.0/16 and the VPC B CIDR block is 172.31.0.0/16. The company wants to establish a VPC peering connection named pcx-12345 between both VPCs.
Which rules should appear in the route table of VPC A after configuration? (Choose two.)
Answer options
- A. Destination: 10.0.0.0/16, Target: Local
- B. Destination: 172.31.0.0/16, Target: Local
- C. Destination: 10.0.0.0/16, Target: pcx-12345
- D. Destination: 172.31.0.0/16, Target: pcx-12345
- E. Destination: 10.0.0.0/16, Target: 172.31.0.0/16
Correct answer: A, D
Explanation
Every VPC route table automatically includes a default local route for its own CIDR block, which for VPC A is 10.0.0.0/16 mapped to the 'Local' target. To route traffic to the peered VPC B, you must add a custom route with VPC B's CIDR block (172.31.0.0/16) as the destination and the VPC peering connection ID (pcx-12345) as the target.