AWS Certified SysOps Administrator – Associate (legacy) — Question 421
Do Amazon EBS volumes persist independently from the running life of an Amazon EC2 instance?
Answer options
- A. No, they are dependent.
- B. No, you cannot attach EBS volumes to an instance.
- C. Yes, they do but only if they are detached from the instance.
- D. Yes, they do, if the Delete on termination flag is unset.
Correct answer: D
Explanation
Amazon EBS volumes can persist independently of an EC2 instance's lifecycle, provided that the DeleteOnTermination attribute is disabled (set to false) for that volume. If this flag is active, the volume is automatically deleted when the associated EC2 instance is terminated. Detaching the volume beforehand is not required for persistence as long as this setting is correctly configured.