AWS Certified Solutions Architect – Professional — Question 29
A user has created a VPC with CIDR 20.0.0.0/16 using the VPC wizard. The user has created public and VPN only subnets along with hardware VPN access to connect to the user's data center. 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?
Answer options
- A. Yes, the user can detach the virtual private gateway and then use the VPC console to delete the VPC.
- B. No, since the NAT instance is running, the user cannot delete the VPC.
- C. Yes, the user can use the CLI to delete the VPC that will detach the virtual private gateway automatically.
- D. No, the VPC console needs to be accessed using an administrator account to delete the VPC.
Correct answer: A
Explanation
The correct answer is A because the user can detach the virtual private gateway from the VPC and then proceed to delete it through the console. The other options are incorrect: B is wrong because there is no mention of a NAT instance being present, C is incorrect as the question specifically asks about using the console, and D is false since administrator access is not a requirement for deleting a VPC.