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?
A.
The VPC will modify the first subnet CIDR automatically to allow the second subnet IP range
B.
It is not possible to create a subnet with the same CIDR as VPC
Suggested Answer:D🗳️
A Virtual Private Cloud (VPC) is a virtual network dedicated to the user's AWS account. A user can create a subnet with VPC and launch instances inside that subnet. The user can create a subnet with the same size of VPC. However, he cannot create any other subnet since the CIDR of the second subnet will conflict with the first subnet.
Since the CIDR range of the new subnet (20.0.0.1/24) overlaps with the CIDR range of the existing subnet (20.0.0.0/16), it is not possible to create the second subnet without resolving the CIDR conflict. The user will need to choose a non-overlapping CIDR range for the new subnet in order to create it successfully.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
albert_kuo
4 months, 3 weeks agoTroyMcLure
1 year, 12 months agoawscertified
2 years ago