Which solution will meet these requirements?
Configure an Application Load Balancer to distribute traffic properly to the instances.
Configure a dynamic scaling policy for the Auto Scaling group to launch new instances based on memory utilization.
Configure a dynamic scaling policy for the Auto Scaling group to launch new instances based on CPU utilization.
Configure a scheduled scaling policy for the Auto Scaling group to launch new instances before peak hours.
Explanations:
An Application Load Balancer helps distribute traffic across instances but does not directly address the timing of instance availability during peak hours. It cannot resolve the issue of slow performance at the start of peak hours if instances are not ready to handle the load.
Configuring a dynamic scaling policy based on memory utilization may not effectively address the slow performance at the start of peak hours. Memory usage might not be a direct indicator of when to scale, and the slow performance is likely due to insufficient instances being available at peak time.
While a dynamic scaling policy based on CPU utilization could help manage resource allocation during peak hours, it is reactive rather than proactive. If the application users experience slow performance at the start of peak hours, it indicates that additional instances need to be available before that time.
Configuring a scheduled scaling policy allows the Auto Scaling group to proactively launch additional instances before the expected peak hours, ensuring that the application has the necessary resources to handle the load as soon as peak usage begins. This approach directly addresses the timing issue related to user performance complaints.