Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AWS Certified Solutions Architect - Professional topic 1 question 336 discussion

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?

  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
You can delete your VPC at any time (for example, if you decide it's too small). However, you must terminate all instances in the VPC first. When you delete a
VPC using the VPC console, Amazon deletes all its components, such as subnets, security groups, network ACLs, route tables, Internet gateways, VPC peering connections, and DHCP options. If you have a VPN connection, you don't have to delete it or the other components related to the VPN (such as the customer gateway and virtual private gateway).
Reference:
http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Subnets.html#VPC_Deleting

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
SkyZeroZx
10 months, 1 week ago
Selected Answer: A
To delete a VPC from the console, the user can perform the following steps: A. Yes, the user can detach the virtual private gateway and then use the VPC console to delete the VPC. The correct answer is A. The user can detach the virtual private gateway associated with the VPC and then proceed to delete the VPC from the console. Detaching the virtual private gateway is a necessary step to remove the VPN connection between the VPC and the user's data center before deleting the VPC.
upvoted 1 times
...
Lukasz_Jankowski
2 years, 3 months ago
VPC peering connections are not deleted automatically: https://docs.aws.amazon.com/vpc/latest/userguide/working-with-vpcs.html#VPC_Deleting
upvoted 1 times
...
cldy
2 years, 4 months ago
A. Yes, the user can detach the virtual private gateway and then use the VPC console to delete the VPC.
upvoted 2 times
...
Aline_H
2 years, 5 months ago
https://docs.aws.amazon.com/vpc/latest/userguide/working-with-vpcs.html#VPC_Deleting
upvoted 1 times
...
khksoma
2 years, 5 months ago
Nat Instance will come into play when there is a private subnet. Here its only Public and VPN only subnets
upvoted 3 times
vishg
1 year, 11 months ago
Seems 2 correct
upvoted 1 times
...
...
TechGuru
2 years, 5 months ago
No NAT instance will be created in VPN only flow
upvoted 2 times
...
Warrenn
2 years, 6 months ago
Isn't the answer B as the NAT instance would still be running in the VPC and it needs to be deleted first?
upvoted 1 times
vbal
2 years, 4 months ago
I had the same question and spent sometime to understand it. Since there is no Private Subnet & Internet Gateway in the picture; A is right.
upvoted 3 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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.

SaveCancel
Loading ...