SAP-C02 Question 339
Select 2An e-commerce company runs a web application on Amazon EC2 instances behind an Application Load Balancer. The application's traffic increases significantly during the holiday season. To optimize costs, the company wants to commit to a pricing model that provides cost savings for predictable workloads while maintaining flexibility for scaling during peak periods. What combination of pricing models should the company use?
- A
Purchase Reserved Instances for the baseline usage and use On-Demand Instances for peak traffic.
- B
Use Spot Instances for the baseline usage and On-Demand Instances for peak traffic.
- C
Leverage Compute Savings Plans for the baseline usage and use On-Demand Instances for peak traffic.
- D
Purchase Reserved Instances for the baseline usage and use Spot Instances for peak traffic.
- E
Leverage Compute Savings Plans for the baseline usage and use Spot Instances for peak traffic.
Show answer and explanation
Correct answers: A, C
Explanation
The company wants to optimize costs for predictable workloads while maintaining flexibility during peak periods. Reserved Instances and Compute Savings Plans both provide cost savings for predictable usage, with Compute Savings Plans offering more flexibility. On-Demand Instances are a reliable choice for handling unpredictable, short-term traffic spikes, ensuring the application remains available during high-traffic periods. Spot Instances are unsuitable for critical workloads due to their interruptible nature.
- A. Correct.
Reserved Instances provide cost savings for predictable, steady-state workloads. On-Demand Instances are well-suited for handling unpredictable or temporary traffic spikes, making this combination effective for the described scenario.
- B. Incorrect.
Spot Instances are not ideal for baseline usage since they can be interrupted, which is unsuitable for critical workloads like an e-commerce application. This option does not meet the company's requirements for predictable workloads.
- C. Correct.
Compute Savings Plans offer flexibility across instance types and regions, while still providing cost savings for predictable workloads. On-Demand Instances are a good choice for handling peak traffic that is not predictable, making this option suitable for the scenario.
- D. Incorrect.
Spot Instances are not recommended for peak traffic in this use case because they are subject to interruptions, which could disrupt the user experience during critical periods like the holiday season.
- E. Incorrect.
While Compute Savings Plans are suitable for baseline usage, relying on Spot Instances for peak traffic is risky due to potential interruptions, making this option less suitable for the scenario.