AWS Certified SysOps Administrator – Associate (legacy) — Question 330

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 in this VPC. The user is trying to create another subnet with the same VPC for CIDR 20.0.0.1/24. What will happen in this scenario?

Answer options

Correct answer: D

Explanation

In AWS VPC, subnet CIDR blocks must not overlap with any existing subnets within the same VPC. Since the first subnet was allocated the entire 20.0.0.0/16 range, attempting to create a second subnet with 20.0.0.1/24 will fail and trigger a CIDR overlap error. AWS does not automatically modify existing subnet CIDRs to prevent conflicts.