AWS Certified SysOps Administrator – Associate (legacy) — Question 152

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

Correct answer: C

Explanation

The correct answer is C because when a VPC is deleted, the console automatically handles the detachment of the virtual private gateway and removes all associated resources. Options A and B are incorrect as they misrepresent the process and requirements for VPC deletion, while D is irrelevant since the presence of a NAT instance does not prevent VPC deletion.