AWS Certified Solutions Architect – Professional — Question 913

If you have a running instance using an Amazon EBS boot partition, you can call the _______ API to release the compute resources but preserve the data on the boot partition.

Answer options

Correct answer: A

Explanation

Calling the StopInstances API transitions the EC2 instance to a stopped state, which relinquishes the physical host compute resources while preserving the data on the Amazon EBS boot volume. TerminateInstances would permanently delete the instance and its associated resources, while other API actions like RebootInstances or RegisterImage do not release compute resources while preserving data in this manner.