CLF-C02 Practice Question 130: No Commitment Compute
AWS Certified Cloud Practitioner (CLF-C02) · Test 13 · question 10 of 10
A company is launching a three-month marketing campaign application on Amazon EC2. It can't predict how much capacity the campaign will need from week to week, the application must not be interrupted while customers are using it, and the company does not want any commitment that lasts beyond the campaign. Which EC2 purchasing option fits best?
Show answer and explanation
Answer:
With On-Demand Instances, you pay for compute capacity by the second with no long-term commitment (60-second minimum), and you fully control when instances are launched, stopped or terminated. AWS recommends On-Demand for applications with short-term, irregular workloads that cannot be interrupted, which describes a three-month campaign with unpredictable demand exactly.
Option A, Spot Instances, cost less but can be interrupted with a two-minute warning when EC2 needs the capacity back, which the application can't tolerate. Options B and D both give real discounts, but only in exchange for a one-year or three-year commitment. The company would keep paying for nine months after the campaign ends, and the unpredictable usage makes it hard to size the commitment correctly anyway.