How can the user change the size of the VPC?

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

Answer: B

Explanation:

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.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments