AWS Certified Solutions Architect – Associate (SAA-C02) — Question 268

A company runs an application on an Amazon EC2 instance backed by Amazon Elastic Block Store (Amazon EBS). The instance needs to be available for 12 hours daily. The company wants to save costs by making the instance unavailable outside the window required for the application. However, the contents of the instance's memory must be preserved whenever the instance is unavailable.
What should a solutions architect do to meet this requirement?

Answer options

Correct answer: B

Explanation

Hibernating an Amazon EC2 instance saves the contents of its RAM to the EBS root volume, allowing the instance to resume from its exact state when restarted, which fulfills the memory preservation requirement. Stopping the instance clears the RAM, while terminating the instance deletes the instance entirely. Auto Scaling would launch new instances from scratch, losing any in-memory state.