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.0.1/24. How can the user create the second subnet?
A.
There is no need to update the subnet as VPC automatically adjusts the CIDR of the first subnet based on the second subnet's CIDR
B.
The user can modify the first subnet CIDR from the console
C.
It is not possible to create a second subnet as one subnet with the same CIDR as the VPC has been created
D.
The user can modify the first subnet CIDR with AWS CLI
Suggested Answer:C🗳️
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 the 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. The user cannot modify the CIDR of a subnet once it is created. Thus, in this case if required, the user has to delete the subnet and create new subnets.
The user cannot create a second subnet with the CIDR 20.0.0.1/24 because it overlaps with the CIDR of the first subnet (20.0.0.0/16). Subnets within a VPC must have non-overlapping CIDR ranges. In this case, the CIDR range of the second subnet falls within the CIDR range of the first subnet, which is not allowed.
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 agoxxxdolorxxx
2 years agoTroyMcLure
2 years agoDrey
2 years agoawscertified
2 years, 1 month ago