
Ultimate access to all questions.
Answer-first summary for fast verification
Answer: Set a scheduled action to increase desired capacity to 20 before work hours.
Option A is the correct answer. The issue is that the application is slow at the beginning of the day because the Auto Scaling group needs time to scale up from 2 instances to 20 instances during work hours. By implementing a scheduled action that sets the desired capacity to 20 shortly before the office opens, the instances will already be running and ready to handle the load when work hours begin, thus avoiding the initial delay and improving performance from the start of the day. This approach ensures that the system is pre-scaled and ready to handle the expected traffic, leading to a smoother and more responsive application experience for the staff.
Author: LeetQuiz Editorial Team
An internal browser-based application operates on EC2 instances with an Application Load Balancer, within an Auto Scaling group spanning multiple AZs. It scales to 20 instances during work hours and down to 2 overnight, causing slow performance at day start. How to optimize scaling for performance and cost?
A
Set a scheduled action to increase desired capacity to 20 before work hours.
B
Use a step scaling action with a lower CPU threshold and reduce the cooldown period.
C
Deploy a target tracking action with a lower CPU threshold and shorten the cooldown period.
D
Establish a scheduled action to set both min and max capacity to 20 before work hours.
No comments yet.