AWS Certified Cloud Practitioner — Question 495

A company runs thousands of simultaneous simulations using AWS Batch. Each simulation is stateless, is fault tolerant, and runs for up to 3 hours.

Which pricing model enables the company to optimize costs and meet these requirements?

Answer options

Correct answer: B

Explanation

Spot Instances are ideal for stateless and fault-tolerant workloads like these simulations because they offer spare compute capacity at steep discounts. Since the simulations can tolerate interruptions and run for a short duration, Spot Instances provide the maximum cost optimization. Other options like On-Demand, Reserved, or Dedicated Instances are significantly more expensive and unnecessary for flexible, interruptible workloads.