SAP-C02 Question 582
Select 3A company is building a new e-commerce platform on AWS and expects unpredictable spikes in traffic during sales events. They want to ensure high availability and fault tolerance for the application. The architecture includes an Application Load Balancer (ALB) in front of multiple EC2 instances. The company requires that the solution scales automatically to handle traffic spikes and minimizes costs during periods of low activity. Which of the following solutions will meet these requirements?
- A
Set up an Auto Scaling group with dynamic scaling policies based on CPU utilization thresholds.
- B
Enable Elastic Load Balancing (ELB) Cross-Zone Load Balancing on the Application Load Balancer.
- C
Configure the Auto Scaling group to use scheduled scaling policies for predictable traffic patterns.
- D
Use Spot Instances in the Auto Scaling group to reduce costs during low traffic periods.
- E
Deploy the EC2 instances in a single Availability Zone to minimize data transfer costs.
Show answer and explanation
Correct answers: A, C, D
Explanation
To meet the requirements of high availability, fault tolerance, scalability, and cost optimization, an Auto Scaling group should be configured with both dynamic scaling to handle unpredictable traffic and scheduled scaling for predictable traffic patterns. Additionally, using Spot Instances in the Auto Scaling group can help reduce costs during low activity, provided the application can handle instance interruptions. Deploying resources across multiple Availability Zones ensures fault tolerance and high availability, which is essential for the e-commerce platform.
- A. Correct.
Correct: Dynamic scaling policies allow the Auto Scaling group to automatically adjust the number of instances based on real-time metrics, such as CPU utilization, ensuring that the application can handle traffic spikes while scaling down during low activity.
- B. Incorrect.
Incorrect: While enabling Cross-Zone Load Balancing improves traffic distribution across multiple Availability Zones, it does not directly address scaling or cost optimization requirements.
- C. Correct.
Correct: Scheduled scaling policies allow the Auto Scaling group to scale in advance for predictable traffic patterns, complementing dynamic scaling for handling unpredictable spikes.
- D. Correct.
Correct: Using Spot Instances can significantly reduce costs during low traffic periods, as long as the application can tolerate interruptions. This aligns with the cost optimization requirement.
- E. Incorrect.
Incorrect: Deploying in a single Availability Zone reduces fault tolerance and availability, which is a key requirement for the solution.