exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 160 discussion

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

A user has created a public subnet with VPC and launched an EC2 instance within it. The user is trying to delete the subnet. What will happen in this scenario?

  • A. It will delete the subnet and make the EC2 instance as a part of the default subnet
  • B. It will not allow the user to delete the subnet until the instances are terminated
  • C. It will delete the subnet as well as terminate the instances
  • D. The subnet can never be deleted independently, but the user has to delete the VPC first
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
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. When an instance is launched it will have a network interface attached with it. The user cannot delete the subnet until he terminates the instance and deletes the network interface.

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
BATSIE
8 months ago
Selected Answer: B
AWS prevents you from deleting a subnet if it contains any active network interfaces (such as EC2 instances). You must terminate all instances within the subnet before deleting it " https://docs.aws.amazon.com/vpc/latest/userguide/subnet-deleting.html"
upvoted 1 times
...
mgurkan
3 years ago
I go for B
upvoted 1 times
...
awscertified
3 years, 1 month ago
B. It will not allow the user to delete the subnet until the instances are terminated
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago