
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
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?
A
Configure an Application Load Balancer to distribute traffic properly to the instances.
B
Configure a dynamic scaling policy for the Auto Scaling group to launch new instances based on memory utilization.
C
Configure a dynamic scaling policy for the Auto Scaling group to launch new instances based on CPU utilization.
D
Configure a scheduled scaling policy for the Auto Scaling group to launch new instances before peak hours.
Explanation:
The correct answer is D because:
Predictable Peak Hours: The problem states that application peak hours occur at the same time each day, which is a predictable pattern.
Performance Issue Timing: Users report slow performance at the start of peak hours, but the application performs normally 2-3 hours after peak hours begin. This indicates that the Auto Scaling group eventually scales up based on metrics (likely CPU utilization), but this reactive scaling happens too slowly.
Scheduled Scaling vs. Dynamic Scaling:
Why not the other options:
Best Practice: For predictable traffic patterns, AWS recommends using scheduled scaling actions to ensure capacity is available before the load increases, rather than waiting for metrics to trigger scaling.
Key AWS Concepts: