AWS Certified Advanced Networking – Specialty (ANS-C00) — Question 242

Your company just acquired a new company. You have two VPCs ?one is 172.31.0.0/16 and one is 10.111.0.0/16. The acquired company uses 10.111.0.0/16 for their VPC. Your VPC "A" has a group of 12 servers in the range 10.111.2.101 ?10.111.2.112. Their VPC "B" has 20 servers from 10.111.2.171 ?10.111.2.190.
You need to access both VPCs from the 172.31.0.0/16 VPC "C".
What is the best way to approach this problem?

Answer options

Correct answer: A

Explanation

The correct answer is A because it specifies the appropriate CIDR for the peering connections, ensuring that all servers in both VPCs can communicate with VPC C. Options B and C do not provide the correct subnet configurations or routes for proper access, while option D suggests a costly and unnecessary change to the CIDR block, which is not required for VPC peering.