AWS Certified Solutions Architect – Associate (SAA-C02) — Question 17

A company runs an internal browser-based application. The application runs on Amazon EC2 instances behind an Application Load Balancer. The instances run in an Amazon EC2 Auto Scaling group across multiple Availability Zones. The Auto Scaling group scales up to 20 instances during work hours, but scales down to
2 instances overnight. Staff are complaining that the application is very slow when the day begins, although it runs well by mid-morning.
How should the scaling be changed to address the staff complaints and keep costs to a minimum?

Answer options

Correct answer: A

Explanation

The correct answer is A because implementing a scheduled action to set the desired capacity to 20 just before office hours ensures that the application has the necessary resources to handle the initial load of users. Options B and C involve dynamic scaling based on CPU usage, which may not effectively anticipate the surge in demand at the start of the day. Option D sets both minimum and maximum capacity to 20, which is unnecessary and could lead to higher costs without addressing the timing issue.