1. A company runs an Amazon EMR cluster to process daily batch workloads. The jobs are fault-tolerant and can tolerate interruptions. The cluster runs for approximately four hours each night and uses r5.2xlarge instances for core and task nodes. The team wants to minimize compute costs. Which change will provide the GREATEST cost reduction with the LEAST risk to job completion?
- A. Replace all core nodes with EC2 Spot Instances to maximize savings across the full cluster.
- B. Keep core nodes as On-Demand instances and replace task nodes with EC2 Spot Instances, using instance fleets with multiple instance types to reduce interruption risk.✓ Correct
- C. Switch the cluster to EMR Serverless so that compute is billed only during active task execution.
- D. Purchase one-year Convertible Reserved Instances for the r5.2xlarge instance type used by the cluster.
Explanation
Task nodes do not store HDFS data, so Spot interruptions on task nodes do not cause data loss or job failure—EMR simply removes the task node and redistributes work. Using instance fleets with multiple instance types increases Spot availability and reduces interruption probability. Keeping core nodes On-Demand protects HDFS data integrity. This combination maximizes cost savings with minimal risk. Option A is incorrect because replacing core nodes with Spot Instances risks data loss if they are interrupted; HDFS blocks on a terminated core node become unavailable. Option C (EMR Serverless) is a valid cost-optimization path but involves architectural change and may not provide greater savings than Spot for a well-defined four-hour batch window. Option D is incorrect because Reserved Instances require a one-year commitment for a nightly four-hour workload; the cluster is idle most of the time, making reservations inefficient compared to Spot.