SAA-C03 Question 244
Select 3A company is running a web application on a fleet of Amazon EC2 instances behind an Application Load Balancer. The traffic to the application is highly variable, with significant spikes during certain times of the day. The company wants to ensure the solution is cost-effective while maintaining high performance and elasticity. Which combination of actions should you take to meet these requirements?
- A
Use an Auto Scaling group to automatically scale the EC2 instances based on demand.
- B
Configure the Auto Scaling group to use Scheduled Scaling to handle predictable traffic patterns.
- C
Replace the EC2 fleet with a single, larger EC2 instance to handle peak traffic.
- D
Enable Elastic Load Balancing to distribute traffic among multiple availability zones.
- E
Use Spot Instances in the Auto Scaling group to reduce costs for non-critical workloads.
Show answer and explanation
Correct answers: A, B, D
Explanation
To design a high-performing and elastic compute solution for variable workloads, you should use Auto Scaling to dynamically adjust resources and Scheduled Scaling to handle predictable patterns. Elastic Load Balancing ensures traffic is evenly distributed across instances in multiple availability zones, improving resilience and performance. Avoid using a single large instance, as it is neither elastic nor fault-tolerant, and Spot Instances are inappropriate for critical workloads that require consistent availability.
- A. Correct.
Auto Scaling groups dynamically adjust the number of EC2 instances based on demand, ensuring elasticity and cost-effectiveness.
- B. Correct.
Scheduled Scaling allows you to pre-configure scaling actions at specific times to handle predictable traffic patterns, such as daily peaks.
- C. Incorrect.
Replacing the fleet with a single, larger EC2 instance is not a cost-effective or elastic solution, as it introduces a single point of failure and may not handle variable workloads efficiently.
- D. Correct.
Elastic Load Balancing ensures traffic is distributed evenly across instances in multiple availability zones, improving performance and fault tolerance.
- E. Incorrect.
While Spot Instances reduce costs, they are not suitable for critical workloads as they can be interrupted. This scenario does not indicate the traffic is non-critical, so this is not the best option.