An Amazon EMR cluster runs restartable Spark batch jobs and stores intermediate data in HDFS on core nodes. Which purchasing strategy reduces compute costs while minimizing the risk of losing HDFS data to Spot interruptions?
Show the answer
Correct answerB. Use On-Demand Instances for core nodes and Spot Instances for task nodes.
AWhy not this: Core nodes store HDFS data, so using Spot for them exposes that data to interruption risk.
BWhy this is right: On-Demand core nodes protect HDFS availability while Spot task nodes reduce the cost of restartable computation.
CWhy not this: On-Demand capacity avoids Spot interruptions but misses the cost savings available for restartable task-node computation.
DWhy not this: Spot capacity throughout the cluster reduces prices but puts HDFS-bearing core nodes at risk of interruption.
Task nodes provide compute without storing HDFS data, so Spot task nodes offer savings without directly risking HDFS blocks. Spot core nodes can lower costs but expose HDFS storage to interruptions.