exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 166 discussion

Exam question from Amazon's AWS-SysOps
Question #: 166
Topic #: 1
[All AWS-SysOps Questions]

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
Show Suggested Answer Hide Answer
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.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
jk0
Highly Voted 6 months, 3 weeks ago
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.
upvoted 7 times
davidy2020
6 months, 1 week ago
Ans D is correct https://docs.aws.amazon.com/AmazonECS/latest/developerguide/create-public-private-vpc.html
upvoted 1 times
...
...
xxxdolorxxx
Most Recent 6 months ago
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.
upvoted 1 times
...
TroyMcLure
6 months, 1 week ago
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.
upvoted 1 times
...
Drey
6 months, 2 weeks ago
I think the VPC would be deleted.
upvoted 1 times
...
trulyrajiv
6 months, 2 weeks ago
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
upvoted 1 times
...
nzieno
6 months, 3 weeks ago
This question doesn't even reference a nat instance
upvoted 3 times
...
awscertified
6 months, 3 weeks ago
D. It will not allow to delete the VPC since it has a running NAT instance
upvoted 1 times
...
karmaah
6 months, 4 weeks ago
I think Ans D Explanation should refer NAT Gateway Instead of Nat Instance, anyway EIP required.
upvoted 2 times
AWS_Noob
6 months, 3 weeks ago
Agreed. The original question doesn't seem to have been extracted correctly
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago