SAA-C03 Question 431
Single answerA company runs a web application that experiences unpredictable traffic patterns. During peak times, the application requires additional compute capacity to handle the load, but during off-peak hours, the compute usage drops significantly. The company wants to optimize costs while ensuring the application remains highly available and can scale automatically. Which solution best meets these requirements?
- A
Use On-Demand Instances for all compute needs to ensure flexibility and high availability.
- B
Use Reserved Instances for all compute needs to reduce costs.
- C
Use a combination of On-Demand Instances and Spot Instances with an Auto Scaling group to handle traffic changes.
- D
Use a combination of Reserved Instances and Dedicated Hosts for predictable performance.
Show answer and explanation
Correct answer: C
Explanation
The combination of On-Demand Instances and Spot Instances with an Auto Scaling group is the most cost-optimized solution for handling unpredictable traffic patterns. Spot Instances provide significant cost savings, while On-Demand Instances ensure the application remains highly available. The Auto Scaling group dynamically adjusts the number of instances based on traffic, ensuring efficient use of resources.
- A. Incorrect.
Using On-Demand Instances for all compute needs provides flexibility and high availability but is not cost-optimized, especially for unpredictable traffic patterns.
- B. Incorrect.
Reserved Instances offer cost savings but require a long-term commitment and are not suitable for handling unpredictable traffic patterns effectively.
- C. Correct.
Combining On-Demand Instances and Spot Instances with an Auto Scaling group provides cost optimization while maintaining the ability to scale automatically based on traffic. Spot Instances offer significant cost savings, and On-Demand Instances ensure high availability for critical workloads.
- D. Incorrect.
Using Reserved Instances and Dedicated Hosts provides predictable performance but is not cost-optimized for handling unpredictable traffic patterns. Dedicated Hosts are also expensive and unnecessary for this scenario.