A user has created a VPC with CIDR 20.0.0.0/24. The user has used all the IPs of CIDR and wants to increase the size of the VPC. The user has two subnets: public (20.0.0.0/28) and private (20.0.1.0/28). How can the user change the size of the VPC?
A.
The user can delete all the instances of the subnet. Change the size of the subnets to 20.0.0.0/32 and 20.0.1.0/32, respectively. Then the user can increase the size of the VPC using CLI
B.
It is not possible to change the size of the VPC once it has been created
C.
The user can add a subnet with a higher range so that it will automatically increase the size of the VPC
D.
The user can delete the subnets first and then modify the size of the VPC
Suggested Answer:B🗳️
Once the user has created a VPC, he cannot change the CIDR of that VPC. The user has to terminate all the instances, delete the subnets and then delete the VPC. Create a new VPC with a higher size and launch instances with the newly created VPC and subnets.
By adding a subnet with a higher range, the user effectively increases the size of the VPC, allowing for more IP addresses to be allocated to resources within the VPC.
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.
dexdinh91
4 months, 4 weeks agoalbert_kuo
10 months, 4 weeks agoAdeshina
2 years, 2 months agosunilpanda
2 years, 6 months agoMrDEVOPS
2 years, 6 months agoawscertified
2 years, 6 months agoallexxf
2 years, 6 months agoAsds
2 years, 6 months ago