A digital media company is hosting a live pay-per-view sporting event. Within a -minute window before the broadcast begins, the web portal is expected to experience a sudden surge in traffic from requests per second to requests per second. The application runs on Amazon ECS with AWS Fargate behind an Application Load Balancer (ALB) and performs read-heavy entitlement verifications against an Amazon Aurora MySQL database. Which two actions should the solutions architect take to ensure the architecture scales efficiently and handles the sudden traffic spike without performance degradation? (Select TWO.)
- Configure Aurora Auto Scaling to dynamically add Aurora Replicas to the cluster based on average CPU utilization, and configure the application to use the reader endpoint for entitlement queries.Cevap
- Submit a request to AWS Support to pre-warm the Application Load Balancer (ALB) to handle the expected traffic volume of requests per second.Cevap
- CRely on the Application Load Balancer's (ALB) built-in auto-scaling capabilities to handle the sudden burst of requests per second without administrative intervention.
- DConfigure Amazon RDS Multi-AZ standby instances in the Aurora cluster to accept read connections and dynamically scale under the CPU spike.
- EDeploy Amazon ElastiCache for Memcached with multi-AZ replication enabled to cache entitlement lookup results persistently across multiple zones.
Cevap
The solutions architect should configure Aurora Auto Scaling to dynamically add Aurora Replicas to the cluster while pointing the application to the reader endpoint, and submit a support ticket to pre-warm the Application Load Balancer (ALB) for the expected surge.
Pre-warming the Application Load Balancer ensures it is scaled to the target capacity beforehand, avoiding initial packet drops due to the sudden surge. Dynamically scaling Aurora Replicas based on CPU utilization and routing queries to the reader endpoint allows the database layer to handle the load of the read-heavy entitlement checks.
Adım Adım Çözüm
Anahtar Kavram
Handling flash traffic surges and scaling read workloads in AWS requires pre-warming the load balancer and dynamically scaling database read replicas.