Soru

Zorluk: OrtaPerformance and Scalability Optimization

A digital media company is hosting a live pay-per-view sporting event. Within a 55-minute window before the broadcast begins, the web portal is expected to experience a sudden surge in traffic from 500500 requests per second to 300,000300,000 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.)

  1. 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
  2. Submit a request to AWS Support to pre-warm the Application Load Balancer (ALB) to handle the expected traffic volume of 300,000300,000 requests per second.Cevap
  3. C
    Rely on the Application Load Balancer's (ALB) built-in auto-scaling capabilities to handle the sudden burst of 300,000300,000 requests per second without administrative intervention.
  4. D
    Configure Amazon RDS Multi-AZ standby instances in the Aurora cluster to accept read connections and dynamically scale under the CPU spike.
  5. E
    Deploy 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

1
Evaluate the database scaling requirements for read-heavy workloads.
Identify that Aurora Replicas can be scaled dynamically using Aurora Auto Scaling and that queries should be directed to the reader endpoint.
This offloads read traffic from the primary writer node and distributes the database read load.
2
Evaluate the load balancer's behavior during sudden, massive surges.
Determine that standard ALB scaling is too slow for a surge from 500500 to 300,000300,000 requests per second within 55 minutes.
Pre-warming the ALB ensures the load balancing layer is scaled beforehand to prevent connection timeouts and service failures.

Anahtar Kavram

Handling flash traffic surges and scaling read workloads in AWS requires pre-warming the load balancer and dynamically scaling database read replicas.
Bu soruyu puanla