AWS Certified Cloud Practitioner — Question 588

A user has a stateless and restartable application that will run on an Amazon EC2 instance for 2 hours at a time.

Which purchase option is the MOST cost-effective?

Answer options

Correct answer: D

Explanation

Spot Instances provide the steepest discounts in AWS and are ideal for stateless, interruptible, and restartable applications that run for short periods. On-Demand Instances are more expensive for short-term workloads, Reserved Instances require long-term commitments unsuitable for 2-hour intermittent jobs, and Dedicated Instances are expensive options reserved for specific compliance or licensing requirements.