
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company has batch workloads that need to run for short periods of time on Amazon EC2. The workloads can handle interruptions and can start again from where they ended.
What is the MOST cost-effective EC2 instance purchasing option to meet these requirements?
A
Reserved Instances
B
Spot Instances
C
Dedicated Instances
D
On-Demand Instances
Explanation:
Spot Instances are the most cost-effective option for this scenario because:
Cost Savings: Spot Instances offer up to 90% discount compared to On-Demand Instances
Interruption Tolerance: The workloads can handle interruptions, which is perfect for Spot Instances since AWS can reclaim them with a 2-minute warning when capacity is needed
Resume Capability: The workloads can start again from where they ended, making them ideal for Spot Instances that might be interrupted
Batch Workloads: Short-running batch jobs are ideal candidates for Spot Instances
Short Duration: Since the workloads run for short periods, the risk of interruption is minimized
Why not the other options:
Reserved Instances: Require 1-3 year commitment, not suitable for short-term workloads
Dedicated Instances: Most expensive option, provides physical isolation but unnecessary for this use case
On-Demand Instances: More expensive than Spot Instances and don't provide the same cost savings
Spot Instances are specifically designed for fault-tolerant, flexible workloads like batch processing, data analysis, and background processing that can withstand interruptions.