SAP-C02 Question 522
Select 3A company is running a batch processing application on Amazon EC2 instances in a single AWS Region. The application processes data during non-peak hours and can tolerate interruptions. The workload is currently deployed using On-Demand Instances, leading to high operational costs. As a solutions architect, how would you design a cost-conscious architecture while ensuring operational efficiency?
- A
Use Spot Instances to replace On-Demand Instances for the batch processing application.
- B
Implement an Auto Scaling group with a scaling policy based on the application's CPU utilization.
- C
Switch to Reserved Instances for the batch processing workload to reduce costs.
- D
Use AWS Instance Scheduler to start and stop instances during non-peak hours.
- E
Configure Spot Fleet with mixed instance types and a diversified allocation strategy.
Show answer and explanation
Correct answers: A, B, E
Explanation
To design a cost-conscious architecture for a batch processing workload that can tolerate interruptions, using Spot Instances is the most effective approach to minimize costs. Combining Spot Instances with an Auto Scaling group ensures the application scales efficiently based on demand. Additionally, employing a Spot Fleet with mixed instance types and a diversified allocation strategy enhances availability and cost optimization by distributing workloads across various Spot Instance pools. Reserved Instances and AWS Instance Scheduler are less suitable for this workload due to its intermittent nature and tolerance for interruptions.
- A. Correct.
Correct: Spot Instances are ideal for batch processing workloads that can tolerate interruptions, significantly reducing costs compared to On-Demand Instances.
- B. Correct.
Correct: An Auto Scaling group with a scaling policy based on CPU utilization ensures that the application scales in or out based on demand, optimizing resource usage and costs.
- C. Incorrect.
Incorrect: Reserved Instances are not suitable for workloads that run intermittently or can tolerate interruptions. They are better suited for predictable, steady-state workloads.
- D. Incorrect.
Incorrect: AWS Instance Scheduler is not the most effective solution for this scenario as the application already runs during non-peak hours. Additionally, it doesn't address the need for cost optimization through instance selection.
- E. Correct.
Correct: Spot Fleet with mixed instance types and a diversified allocation strategy increases availability and cost efficiency by leveraging a pool of Spot Instances from multiple instance types and Availability Zones.