Q23 — AWS SAA-C03 Ch.10

Question 23 of 100 | ← Chapter 10

Q623. A solutions architect is designing the architecture fora software demonstration environment. The environment will run on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB). The system will experience significant increases in traffic during working hours but is not required to operate on weekends.Which combination of actions should the solutions architect take to ensure that the system can scale to meet demand? (Select TWO)

Correct Answer: D. Use a target tracking scaling policy to scale the Auto Scaling group based on instance CPU utilization., E. Use scheduled scaling to change the Auto Scaling group minimum, maximum, and desired capacity to zero for weekends Revert to the default values at the start of the week.

Explanation

To ensure that the system can scale to meet demand for a software demonstration environment running on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB), the solutions architect should take the following actions:D. Use a target tracking scaling policy to scale the Auto Scaling group based on instance CPU utilization. E. Use scheduled scaling to change the Auto Scaling group minimum, maximum, and desired capacity to zero for weekends and revert to the default values at the start of the week. D. Using a target tracking scaling policy to scale the Auto Scaling group based on instance CPU utilization allows the Auto Scaling group to dynamically adjust the number of EC2 instances based on their CPU utilization. This ensures that the system can scale horizontally to handle increased traffic during working hours.E. Using scheduled scaling to change the Auto Scaling group's minimum, maximum, and desired capacity to zero for weekends and reverting to the default values at the start of the week allows the system to be effectively shut down during weekends when it is not required to operate. This helps to save costs by not running any instances during the weekends.Option A is not the best choice:A. Using AWS Auto Scaling to adjust the ALB capacity based on request rate is not directly related to scaling the EC2 instances in this scenario. It focuses on scaling the ALB based on the incoming request rate, but it does not address scaling the underlying instances.Option B is not the best choice either:B. Using AWS Auto Scaling to scale the capacity of the VPC internet gateway is not necessary for scaling the application in this scenario. The VPC internet gateway manages the connectivity between the VPC and the internet and does not directly impact the scalability of the EC2 instances or the ALB.Option C is not the best choice either:C. Launching the EC2 instances in multiple AWS Regions would distribute the load across Regions, but this approach is not necessary for scaling the application in this scenario. It would add complexity and potentially increase costs without providing a direct solution for scaling to meet demand. Therefore, the most appropriate actions to ensure that the system can scale to meet demand in this scenario are to use a target tracking scaling policy to scale the Auto Scaling group based on instance CPU utilization (option D) and to use scheduled scaling to change the Auto Scaling group minimum, maximum, and desired capacity to zero for weekends and revert to the default values at the start of the week (option E).DE (54%)AE (22%)AD (20%