Q53 — AWS SAA-C03 Ch.11

Question 53 of 100 | ← Chapter 11

Q753. A company hosts an application on Amazon EC2 On-Demand Instances in an Auto Scaling group. Application peak hours occur at the same time each day. Application users report slow application performance at the start of peak hours. The application performs normally 2-3 hours after peak hours begin. The company wants to ensure that the application works properly at the start of peak hours.Which solution will meet these requirements?

Correct Answer: D. Configure a scheduled scaling policy for the Auto Scaling group to launch new instances before peak hours.

Explanation

To ensure that the application works properly at the start of peak hours, the most suitable solution is:D. Configure a scheduled scaling policy for the Auto Scaling group to launch new instances before peak hours.The issue described in the scenario suggests that the application experiences slow performance at the start of peak hours and then returns to normal after 2-3 hours. This indicates that the existing instances may not have sufficient capacity to handle the sudden increase in traffic at the beginning of peak hours.By configuring a scheduled scaling policy for the Auto Scaling group to launch new instances before peak hours, you can proactively increase the capacity of the application environment in anticipation of the peak traffic. This ensures that there are enough resources available right from the start of peak hours, minimizing or eliminating the performance issues reported by the application users.Option A, configuring an Application Load Balancer (ALB) to distribute traffic properly to the instances, is a good practice for load balancing and distributing traffic evenly across multiple instances. However, it does not address the underlying issue of insufficient capacity at the start of peak hours.Options B and C, configuring dynamic scaling policies for the Auto Scaling group based on memory or CPU utilization, focus on scaling based on resource utilization. While dynamic scaling can help in adjusting the capacity of the Auto Scaling group based on current demand, it may not fully address the specific issue of slow performance at the start of peak hours.Therefore, the most appropriate solution in this case is to use a scheduled scaling policy (Option D) to launch new instances before peak hours, ensuring that the application has sufficient capacity right from the beginning of the peak period.