PrepAway - Latest Free Exam Questions & Answers

Will the console allow the user to delete the VPC?

A user has created a VPC with CIDR 20.0.0.0/16 using the wizard. The user has created public

and VPN only subnets along with hardware VPN access to connect to the user’s data centre. The
user has not yet launched any instance as well as modified or deleted any setup. He wants to
delete this VPC from the console. Will the console allow the user to delete the VPC?

PrepAway - Latest Free Exam Questions & Answers

A.
Yes, the console will delete all the setups and also delete the virtual private gateway

B.
No, the console will ask the user to manually detach the virtual private gateway first and then
allow
deleting the VPC

C.
Yes, the console will delete all the setups and detach the virtual private gateway

D.
No, since the NAT instance is running

Explanation:
The user can create subnets as per the requirement within a VPC. If the user wants to connect
VPC from his own data centre, he can setup a public and VPN only subnet which uses hardware
VPN access to connect with his data centre. When the user has configured this setup with Wizard,
it will create a virtual private gateway to route all traffic of the VPN subnet. If the virtual private
gateway is attached with VPC and the user deletes the VPC from the console it will first detach the
gateway automatically and only then delete the VPC.

5 Comments on “Will the console allow the user to delete the VPC?

  1. Flyboy says:

    Wasn’t there an earlier question about getting an error when deleting the VPC? You could not do so until the NAT instance was deleted?




    0



    0
  2. Bala says:

    Answer C

    I verified this practically .

    Scenario 1 : use VPC Wizard to create public and VPN only subnets along with hardware VPN access to connect to the user’s data centre.

    Explanation : In this case the VPC Virtal Priv Gateway is created which connects the VPN Only Subnet to the Users Data Center . There is no NAT instance created in this case Hence when you delete the VPC , the console will delete all the setups and also delete the virtual private gateway

    Scenario 2 : use VPC Wizard to create public and private subnets only .
    In this case the NAT instance is created on the Amazon Public Subnet with the wizard and there is no Virtual Private Gateway Involved .
    Deleting the VPC means , we have to make sure the NAT instance is shutdown or else while deleting VPC we will run into an error.




    0



    0

Leave a Reply

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