A financial services company runs a high-volume trading platform on AWS. The application tier runs on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB). The database tier uses an Amazon Aurora PostgreSQL database cluster with one writer and two readers. Every morning at the market open, the platform experiences an instantaneous, massive spike in traffic. During these events, users experience HTTP 503 Service Unavailable errors and dashboard widgets fail to load or display stale data. Investigation reveals that the ALB drops connections during the initial minute of the spike before scaling, and the database reader instances experience CPU utilization near 100% with elevated replication lag. Which two actions should a Solutions Architect recommend to optimize the performance of the compute and storage layers during these spikes? (Select TWO).
- Enable Aurora Auto Scaling for the Aurora Replicas in the database cluster to dynamically scale horizontal read capacity based on average CPU utilization.Answer
- Configure an Amazon EC2 Auto Scaling warm pool to keep pre-initialized instances ready, and request AWS Support to pre-warm the Application Load Balancer prior to the scheduled market opening times.Answer
- CEnable read routing to the RDS Multi-AZ standby database instance to distribute read queries across both the active and standby nodes.
- DAdjust the Application Load Balancer target tracking scaling policy thresholds to trigger scaling earlier, relying on dynamic scaling to absorb the instantaneous traffic spikes.
- EPurchase EC2 Instance Savings Plans to cover the compute costs of the EC2 instances, AWS Fargate tasks, and AWS Lambda functions.