nerdexam
Amazon

MLA-C01 · Question #21

A company needs to run a batch data-processing job on Amazon EC2 instances. The job will run during the weekend and will take 90 minutes to finish running. The processing can handle interruptions. The

The correct answer is A. Spot Instances. Spot Instances are the right choice because they offer up to 90% savings over On-Demand pricing, and the key phrase "can handle interruptions" signals that Spot's interruptible nature is acceptable - exactly the use case Spot was designed for. Why the others are wrong: Reserved I

Deployment and Orchestration of ML Workflows

Question

A company needs to run a batch data-processing job on Amazon EC2 instances. The job will run during the weekend and will take 90 minutes to finish running. The processing can handle interruptions. The company will run the job every weekend for the next 6 months. Which EC2 instance purchasing option will meet these requirements MOST cost-effectively?

Options

  • ASpot Instances
  • BReserved Instances
  • COn-Demand Instances
  • DDedicated Instances

How the community answered

(63 responses)
  • A
    71% (45)
  • B
    16% (10)
  • C
    8% (5)
  • D
    5% (3)

Explanation

Spot Instances are the right choice because they offer up to 90% savings over On-Demand pricing, and the key phrase "can handle interruptions" signals that Spot's interruptible nature is acceptable - exactly the use case Spot was designed for.

Why the others are wrong:

  • Reserved Instances (B) require a 1- or 3-year commitment upfront; for a 6-month weekend-only workload, you'd pay for idle capacity the rest of the week - poor value.
  • On-Demand Instances (C) are flexible but carry full price with no discount; they're best for unpredictable or short-lived workloads where cost isn't the priority.
  • Dedicated Instances (D) run on hardware dedicated to a single tenant, addressing compliance/licensing concerns - an irrelevant requirement here that comes at a premium cost.

Memory tip: Look for two keywords together - interruptible (or "can handle interruptions") + cost-effective - and the answer is almost always Spot. If the workload cannot tolerate interruptions but is long-term (1–3 years), think Reserved. If it's short-term and unpredictable, think On-Demand.

Topics

#EC2 Purchasing Options#Spot Instances#Cost Optimization#Batch Processing

Community Discussion

No community discussion yet for this question.

Full MLA-C01 Practice