AWS Solutions Architect Associate Practice Test

Disable ads (and more) with a membership for a one time $2.99 payment

Study for the AWS Solutions Architect Associate Test. Our comprehensive quiz offers multiple-choice questions that replicate the exam environment. Benefit from detailed explanations and hints. Prepare confidently for your AWS certification exam!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


What happens to the data on the root volume when an EC2 instance backed by an S3-based AMI is terminated?

  1. Data is automatically saved as an EBS snapshot.

  2. Data is automatically saved as an EBS volume.

  3. Data is unavailable until the instance is restarted.

  4. Data is automatically deleted.

The correct answer is: Data is automatically deleted.

When an EC2 instance that is backed by an S3-based AMI (Amazon Machine Image) is terminated, the data on the root volume is automatically deleted. This is because S3-based AMIs are designed to use Amazon S3 for their storage rather than traditional EBS volumes. When the instance is terminated, the data associated with the root volume is not preserved or saved; instead, it is lost, and the storage that was temporarily associated with the instance is deallocated. In contrast to EBS-backed instances, which can create snapshots and keep data on volumes even after instance termination, S3-based instances do not retain the state of the root volume after termination. Therefore, any data that was present on the root volume during the lifetime of the instance will be permanently removed, emphasizing the importance of ensuring that any necessary data is backed up or saved to a persistent storage solution before termination.