Soru

Zorluk: OrtaAWS Pricing Models

A software development firm runs integration tests on Amazon EC2 instances. These tests are triggered automatically throughout the day whenever developers commit code. Each test run takes between 15 to 45 minutes to complete. The testing environment must start immediately upon trigger and cannot tolerate any interruptions during execution. Which Amazon EC2 pricing model is the most cost-effective for this workload?

  1. On-Demand InstancesCevap
  2. B
    Spot Instances
  3. C
    Reserved Instances
  4. D
    Savings Plans

Cevap

On-Demand Instances
On-Demand Instances are the most appropriate choice because they provide reliable compute capacity with no long-term commitment. They start immediately upon request, are billed per second (with a 60-second minimum), and will not be interrupted by AWS during the test execution, perfectly matching the requirements of short-term, unpredictable, and non-interruptible workloads.

Adım Adım Çözüm

1
Analyze the workload requirements: it runs sporadically throughout the day for short durations (15 to 45 minutes), requires immediate availability, and cannot tolerate interruptions.
This eliminates options that allow resource interruption or require continuous, long-term resource commitments.
Understanding constraints is critical to matching the workload to the correct pricing model.
2
Evaluate the pricing options against these requirements: Spot Instances can be interrupted, and Reserved Instances or Savings Plans require a 1-year or 3-year commitment which leads to paying for idle time.
On-Demand Instances provide immediate availability, guarantee no interruptions, and charge only for the exact seconds the instance runs.
On-Demand matches the requirement for reliable, short-term, and irregular compute capacity.

Anahtar Kavram

Selecting the optimal Amazon EC2 pricing model based on workload patterns and constraints

Alternatif Yöntem

Analyzing the trade-off between flexible consumption and long-term commitment helps identify On-Demand as the only model that offers per-second billing with guaranteed availability and zero interruption risk.
Tahmini Süre:1m 30s
Bu soruyu puanla