AWS Certified Solutions Architect – Professional — Question 595

A user has created a VPC with CIDR 20.0.0.0/16. The user has created one subnet with CIDR 20.0.0.0/16 by mistake. The user is trying to create another subnet of CIDR 20.0.1.0/24.
How can the user create the second subnet?

Answer options

Correct answer: D

Explanation

In AWS VPC, once a subnet is created, its CIDR block cannot be modified or resized. Because the first subnet occupies the entire 20.0.0.0/16 range, any attempt to create a second subnet within that range will fail due to overlapping IP addresses. The only solution is to delete the original subnet and then recreate the subnets with non-overlapping, smaller CIDR blocks.