
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
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?
A
10.0.1.0/32
B
192.168.0.0/24
C
192.168.1.0/32
D
10.0.1.0/24
Explanation:
For VPC peering connections, the CIDR blocks of the peered VPCs must not overlap. The development VPC has CIDR block 192.168.0.0/24, which covers IP addresses from 192.168.0.0 to 192.168.0.255.
Let's analyze each option:
A. 10.0.1.0/32 - This is a single IP address (10.0.1.0). It doesn't overlap with 192.168.0.0/24, so it's valid. However, it's not the smallest CIDR block.
B. 192.168.0.0/24 - This is identical to the development VPC's CIDR block, so it would overlap completely. This is invalid for VPC peering.
C. 192.168.1.0/32 - This is a single IP address (192.168.1.0). This address is outside the range of 192.168.0.0/24 (which only covers 192.168.0.0-255). This is valid and is a /32 CIDR block (smallest possible).
D. 10.0.1.0/24 - This covers IP addresses from 10.0.1.0 to 10.0.1.255. It doesn't overlap with 192.168.0.0/24, so it's valid, but it's a /24 block (256 addresses), not the smallest.
Key Points:
/32 is the smallest possible CIDR block (single IP address)192.168.1.0/32 doesn't overlap with 192.168.0.0/24 because 192.168.1.0 is in a different subnetTherefore, C. 192.168.1.0/32 is the correct answer as it's the smallest valid CIDR block that doesn't overlap with the development VPC's CIDR range.