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?
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.