0 votes
in AWS by

Your company has an online game application deployed in an Auto Scaling group. The traffic of the application is predictable. Every Friday, the traffic starts to increase, remains high on weekends and then drops on Monday. You need to plan the scaling actions for the Auto Scaling group. Which method is the most suitable for the scaling policy? 

A. Configure a scheduled CloudWatch event rule to launch/terminate instances at the specified time every week.

B. Create a predefined target tracking scaling policy based on the average CPU metric and the ASG will scale automatically.

C. Select the ASG and on the Automatic Scaling tab, add a step scaling policy to automatically scale-out/in at fixed time every week.

D. Configure a scheduled action in the Auto Scaling group by specifying the recurrence, start/end time, capacities, etc.

1 Answer

0 votes
by

D. Configure a scheduled action in the Auto Scaling group by specifying the recurrence, start/end time, capacities, etc.

The correct scaling policy should be scheduled scaling as it defines your own scaling schedule. Refer to https://docs.aws.amazon.com/autoscaling/ec2/userguide/schedule_time.html for details.
Option​ ​A ​is​ ​incorrect:​ This option may work. However, you have to configure a target such as a Lambda function to perform the scaling actions.
Option​ ​B ​is​ ​incorrect:​ The target tracking scaling policy defines a target for the ASG. The scaling actions do not happen based on a schedule. 
Option​ ​C ​is​ ​incorrect:​ The step scaling policy does not configure the ASG to scale at a specified time.
Option​ ​D ​is​ CORRECT:​ With scheduled scaling, users define a schedule for the ASG to scale. This option can meet the requirements.

Related questions

0 votes
asked Aug 31, 2022 in AWS by sharadyadav1986
0 votes
asked Aug 30, 2022 in AWS by sharadyadav1986
...