AWS Certified Solutions Architect – Professional — Question 198
A user has created a VPC with a public subnet. The user has terminated all the instances which are part of the subnet.
Which of the below mentioned statements is true with respect to this scenario?
Answer options
- A. The subnet to which the instances were launched with will be deleted
- B. When the user launches a new instance it cannot use the same subnet
- C. The user cannot delete the VPC since the subnet is not deleted
- D. Secondary network interfaces attached to the terminated instances may persist.
Correct answer: D
Explanation
The correct answer is D because secondary network interfaces can persist even after the instances they were attached to are terminated. Options A and B are incorrect since the subnet will not be deleted automatically when instances are terminated, and a new instance can still use the same subnet. Option C is also false because a VPC can be deleted without deleting the subnet first.