Question

Difficulty: EasyAWS Pricing Models

A software startup is setting up two different compute tasks on Amazon EC2:

1. A temporary testing environment that will run for exactly two weeks, where workloads are unpredictable but must run without interruption.
2. A data archiving workflow that runs overnight, can be safely interrupted without losing progress, and requires the lowest possible compute cost.

Which two Amazon EC2 pricing models are most suitable for these tasks? (Select TWO.)

  1. On-Demand InstancesAnswer
  2. Spot InstancesAnswer
  3. C
    Reserved Instances
  4. D
    Savings Plans
  5. E
    Dedicated Hosts

Answer

On-Demand Instances and Spot Instances are the most suitable pricing models for these workloads.
On-Demand Instances are the correct choice for the temporary testing workload because they provide flexible, pay-as-you-go compute capacity without any long-term contract or interruption risks. Spot Instances are the correct choice for the data archiving workflow because they offer the deepest discounts for flexible, fault-tolerant tasks that can be reclaimed by AWS with a short notice.

Step-by-Step Solution

1
Determine the pricing model for the first workload (two-week temporary testing environment with unpredictable, uninterrupted traffic).
On-Demand Instances are selected because they offer low cost and flexibility without any contract or upfront payment, while ensuring the instances are not interrupted.
Short-term workloads (under a year) cannot benefit from long-term commitment savings, and workloads that cannot tolerate interruption are not suitable for Spot Instances.
2
Determine the pricing model for the second workload (overnight data archiving that can be safely interrupted and needs the lowest cost).
Spot Instances are selected because they offer the lowest cost (up to 90% discount compared to On-Demand) and fit workloads that can be interrupted.
Since the data archiving workflow can tolerate interruptions and is highly cost-sensitive, Spot Instances provide the optimal price-to-performance ratio.

Key Concept

Matching workload duration, predictability, and interruption tolerance to the most cost-effective Amazon EC2 pricing model.
Rate this question