AWS Certified Cloud Practitioner (CLF-C02) — Question 18
A company is deploying a machine learning (ML) research project that will require a lot of compute power over several months. The ML processing jobs do not need to run at specific times.
Which Amazon EC2 instance purchasing option will meet these requirements at the lowest cost?
Answer options
- A. On-Demand Instances
- B. Spot Instances
- C. Reserved Instances
- D. Dedicated Instances
Correct answer: B
Explanation
Spot Instances are the most cost-effective option for workloads that are flexible in timing and can tolerate interruptions, making them ideal for the ML research project described. On-Demand Instances are more expensive and not suitable for long-term, cost-sensitive tasks. Reserved Instances require a commitment for a longer term, which is unnecessary here, while Dedicated Instances are typically used for compliance and isolation, making them the least cost-effective choice.