PrepAway - Latest Free Exam Questions & Answers

What will happen in this scenario?

A user has created a VPC with public and private subnets using the VPC wizard. The user has not launched any
instance manually and is trying to delete the VPC. What will happen in this scenario?

PrepAway - Latest Free Exam Questions & Answers

A.
It will not allow to delete the VPC as it has subnets with route tables

B.
It will not allow to delete the VPC since it has a running route instance

C.
It will terminate the VPC along with all the instances launched by the wizard

D.
It will not allow to delete the VPC since it has a running NAT instance

Explanation:
A Virtual Private Cloud (VPC. is a virtual network dedicated to the user’s AWS account. A user can create a
subnet with VPC and launch instances inside that subnet. If the user has created a public private subnet, the
instances in the public subnet can receive inbound traffic directly from the Internet, whereas the instances in
the private subnet cannot. If these subnets are created with Wizard, AWS will create a NAT instance with an
elastic IP. If the user is trying to delete the VPC it will not allow as the NAT instance is still running.

11 Comments on “What will happen in this scenario?

  1. HotTea says:

    D, b/c Deletion of the VPC, possible only after terminating all instances within the VPC, deletes all the components with the VPC for e.g. subnets, security groups, network ACLs, route tables, Internet gateways, VPC peering connections, and DHCP options




    0



    0
  2. s.c says:

    Just tested. i have created a VPC with public and private subnets using the wizard. once done, i was able to deleted the VPC without the need to manually delete the NAT or the router instance.
    correct answer is C.




    0



    0
  3. Lucky says:

    Could be that this was changed by AWS. I guess NAT instance was replaced by NAT Gateway. And it seems that now, deletion of VPC is allowed.




    2



    0

Leave a Reply

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