A telematics system processes telemetry data from a large fleet of commercial delivery vehicles. The architecture consists of an Application Load Balancer (ALB) routing traffic to an Auto Scaling group of EC2 instances, which perform write operations and heavy lookup queries against an Amazon Aurora PostgreSQL database. Every morning at 08:00 UTC, the fleet boots up simultaneously, causing telemetry traffic to spike instantly from requests per second to requests per second. During this time, database read latency increases significantly, causing API request timeouts. Which TWO steps should the solutions architect take to optimize the performance and scalability of this solution? (Select TWO.)
- Contact AWS Support to pre-warm the Application Load Balancer to handle the scheduled daily volume of requests per second.Cevap
- Deploy Aurora Replicas to offload read traffic, configure the application to use the reader endpoint for lookup queries, and apply an Aurora Auto Scaling policy.Cevap
- CAllow the Application Load Balancer to scale automatically using its default behavior, and set the Auto Scaling group cooldown period to seconds to accelerate backend instance launching.
- DConfigure the application to redirect lookup queries to the Amazon RDS Multi-AZ secondary standby instance during peak traffic hours.
- EDeploy Amazon ElastiCache for Memcached with multi-AZ replication enabled to cache the lookup results and maintain session state persistence.
Cevap
To optimize the performance and scalability, the solutions architect should contact AWS Support to pre-warm the Application Load Balancer to handle the sudden morning spike, and deploy Aurora Replicas with Aurora Auto Scaling while directing lookup queries to the reader endpoint.
To successfully handle the sudden daily telemetry spike, two key bottlenecks must be addressed: the load balancer capacity and the database read load. First, the Application Load Balancer must be pre-warmed by contacting AWS Support, as the default scaling algorithm cannot scale up fast enough to handle an instantaneous increase in requests. Second, lookup query performance must be scaled by using Aurora Replicas. By configuring the application to target the Aurora reader endpoint and applying an Aurora Auto Scaling policy, the database tier can handle the read-heavy morning traffic without degrading the performance of the write operations on the primary instance.
Adım Adım Çözüm
Anahtar Kavram
Load Balancer Pre-warming and Database Read Scaling