SOA-C02 Question 295
Select 3Your company runs an application on a fleet of Amazon EC2 instances behind an Application Load Balancer (ALB). You notice that the instances are underutilized during non-peak hours, leading to higher-than-necessary operational costs. As an AWS SysOps Administrator, which of the following actions should you take to optimize costs while ensuring application availability?
- A
Implement an Auto Scaling group with a dynamic scaling policy based on CPU utilization.
- B
Switch the EC2 instances to Reserved Instances with a 3-year term.
- C
Configure Auto Scaling to scale in during non-peak hours and scale out during peak hours.
- D
Replace the EC2 instances with Spot Instances to reduce costs.
- E
Evaluate the use of AWS Savings Plans for predictable workloads.
Show answer and explanation
Correct answers: A, C, E
Explanation
To optimize costs for an application running on EC2 instances, using Auto Scaling with dynamic scaling policies and configuring scale-in and scale-out actions based on workload patterns helps maintain the right number of instances. Additionally, AWS Savings Plans can provide cost savings for predictable workloads. Reserved Instances and Spot Instances have limitations that make them less suitable for scenarios with fluctuating or availability-critical demands.
- A. Correct.
Correct: Implementing an Auto Scaling group with a dynamic scaling policy helps maintain the right number of instances based on demand, reducing costs during periods of low usage.
- B. Incorrect.
Incorrect: While Reserved Instances can reduce costs, they are not ideal for fluctuating workloads where utilization varies significantly during peak and non-peak hours.
- C. Correct.
Correct: Configuring Auto Scaling to scale in and out based on predictable traffic patterns ensures that only the necessary instances are running, optimizing costs.
- D. Incorrect.
Incorrect: Spot Instances are cost-effective but are not ideal for applications requiring consistent availability, as they can be interrupted by AWS with little notice.
- E. Correct.
Correct: AWS Savings Plans can provide cost savings for predictable workloads, especially if the workload has a consistent baseline level of usage.