AWS Certified Solutions Architect – Associate (SAA-C03) — Question 277
A development team has launched a new application that is hosted on Amazon EC2 instances inside a development VPC. A solutions architect needs to create a new VPC in the same account. The new VPC will be peered with the development VPC. The VPC CIDR block for the development VPC is 192.168.0.0/24. The solutions architect needs to create a CIDR block for the new VPC. The CIDR block must be valid for a VPC peering connection to the development VPC.
What is the SMALLEST CIDR block that meets these requirements?
Answer options
- A. 10.0.1.0/32
- B. 192.168.0.0/24
- C. 192.168.1.0/32
- D. 10.0.1.0/24
Correct answer: D
Explanation
For a VPC peering connection to be established, the CIDR blocks of the peered VPCs must not overlap, which rules out option B. Additionally, AWS VPC CIDR block sizes must be between /16 and /28, making the /32 blocks in options A and C invalid. Therefore, 10.0.1.0/24 is the smallest valid, non-overlapping CIDR block option.