Q70 — AWS SAA-C03 Ch.12

Question 70 of 100 | ← Chapter 12

Q870. A company's application is running on Amazon EC2 instances within an Auto Scaling group behind an Elastic Load Balancing (ELB) load balancer. Based on the application's history, the company anticipates a spike in traffic during a holiday each year. A solutions architect must design a strategy to ensure that the Auto Scaling group proactively increases capacity to minimize any performance impact on application users.Which solution will meet these requirements?

Correct Answer: B. Create a recurring scheduled action to scale up the Auto Scaling group before the expected period of peak demand.

Explanation

To ensure that the Auto Scaling group proactively increases capacity to minimize any performance impact on application users during the anticipated spike in traffic, a solutions architect should recommend:B. Create a recurring scheduled action to scale up the Auto Scaling group before the expected period of peak demand.Here's why:Option A suggests creating a CloudWatch alarm to scale up the EC2 instances when CPU utilization exceeds 90%. While this approach can be effective for scaling based on CPU utilization, it doesn't take into account the specific holiday spike in traffic. It may result in scaling up too late or scaling up unnecessarily during regular usage periods.Option B involves creating a recurring scheduled action. By defining a scheduled action in the Auto Scaling group, you can specify the desired capacity increase at specific times. This approach allows you to proactively scale up the Auto Scaling group before the anticipated peak demand, ensuring that the required capacity is available during the holiday spike.Option C suggests increasing the minimum and maximum number of EC2 instances in the Auto Scaling group during the peak demand period. While this can provide additional capacity, it lacks the proactive nature of scaling up before the anticipated peak. It also requires manual adjustment of the scaling configuration, which may not be efficient or suitable for recurring events.Option D proposes configuring an Amazon SNS notification to send alerts when there are EC2 instance launch events. While this can provide visibility into the launch events, it doesn't address the proactive scaling requirement to minimize performance impact during the holiday spike.In summary, the most appropriate solution is to create a recurring scheduled action (Option B) to scale up the Auto Scaling group before the expected period of peak demand. This approach ensures that the necessary capacity is available when needed, minimizing any performance impact on application users during the holiday spike.