Q28 — AWS SAA-C03 Ch.1
Question 28 of 65 | ← Chapter 1
Q28. A company has a highly dynamic batch processing job that uses many Amazon EC2 instances to complete it.The job is stateless in nature, can be started and stopped at any given time with no negative impact, and typically takes upwards of 60 minutes total to complete. The company has asked a solutions architect to design a scalable and cost-effective solution that meets the requirements of the job.What should the solutions architect recommend?
- A. Implement EC2 Spot Instances ✓
- B. Purchase EC2 Reserved Instances
- C. Implement EC2 On-Demand Instances
- D. Implement the processing on AWS Lambda
Correct Answer: A. Implement EC2 Spot Instances
Explanation
Using EC2 Spot Instances would be a cost-effective solution for the company's batch processing job. Spot Instances allow customers to bid on spare EC2 capacity, which can result in significant savings compared to On-Demand or Reserved Instances. The stateless nature of the processing job makes it well suited for Spot Instances since these instances can be interrupted at any time when the bidding price exceeds the current market price. However, if the interruption of an instance results in data loss or negatively impacts the overall workflow, this option may not be suitable. Option B is incorrect because purchasing EC2 Reserved Instances requires a long-term commitment and may not be cost-effective for a highly dynamic job that can start and stop at any given time. Option C is also incorrect because using only On-Demand instances will result in higher costs compared to Spot Instances or Reserved Instances.