PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

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

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.

One Comment on “How can the user change the size of the VPC?

  1. guy says:

    https://aws.amazon.com/vpc/faqs/

    Q. Can I change a VPC’s size?

    Yes. You can expand your existing VPC by adding four (4) secondary IPv4 IP ranges (CIDRs) to your VPC. You can shrink your VPC by deleting the secondary CIDR blocks you have added to your VPC. You cannot however change the size of the IPv6 address range of your VPC.




    13



    1

Leave a Reply

Your email address will not be published. Required fields are marked *