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?
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
Suggested Answer:D🗳️
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.
It is D.
actually, when we select the "VPC with Public and Private Subnets" configuration through the VPC Wizard, it automatically creates also a Nat gateway in the public subnet to us. Then if we want to delete the VPC we need to firt delete the nat gateway.
Is this an outdated question? I thought AWS was pushing for NAT Gateways instead of instances. Confused by why a wizard would use an instance instead of a Gateway.
Correct Answer: D
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.
Created VPC via wizard with NAT Instance. When I tried to delete VPC, it says 'unable to delete' as one or more instances (EC2) is running and also one or more in-use network instances. Correct answer is D
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
jk0
Highly Voted 6 months, 3 weeks agodavidy2020
6 months, 1 week agoxxxdolorxxx
Most Recent 6 months agoTroyMcLure
6 months, 1 week agoDrey
6 months, 2 weeks agotrulyrajiv
6 months, 2 weeks agonzieno
6 months, 3 weeks agoawscertified
6 months, 3 weeks agokarmaah
6 months, 4 weeks agoAWS_Noob
6 months, 3 weeks ago