A company’s application runs on Amazon EC2 instances behind an Application Load Balancer (ALB). The instances run in an Amazon EC2 Auto Scaling group across multiple Availability Zones On the first day of every month at midnight the application becomes much slower when the month-end financial calculation batch executes. This causes the CPU utilization of the EC2 instances to immediately peak to 100%. which disrupts the application
What should a solutions architect recommend to ensure the application is able to handle the workload and avoid downtime?
A . Configure an Amazon CloudFront distribution in front of the ALB
B . Configure an EC2 Auto Scaling simple scaling policy based on CPU utilization
C . Configure an EC2 Auto Scaling scheduled scaling policy based on the monthly schedule.
D . Configure Amazon ElastiCache to remove some of the workload from the EC2 instances
Answer: C
Explanation:
Scheduled Scaling for Amazon EC2 Auto Scaling
Scheduled scaling allows you to set your own scaling schedule. For example, let’s say that every week the traffic to your web application starts to increase on Wednesday, remains high on Thursday, and starts to decrease on Friday. You can plan your scaling actions based on the predictable traffic patterns of your web application. Scaling actions are performed automatically as a function of time and date.
https://docs.aws.amazon.com/autoscaling/ec2/userguide/schedule_time.html
Leave a Reply