Soru

Zorluk: KolayPerformance and Scalability Optimization

A company is launching a flash sale campaign where web traffic is expected to instantly spike from 100 requests per second to 150,000 requests per second. The application runs on Amazon EC2 instances behind an Application Load Balancer (ALB). Which configuration should a Solutions Architect recommend to ensure the load balancer handles this sudden traffic surge without dropping initial requests?

  1. Contact AWS Support to pre-warm the Application Load Balancer with the expected traffic metrics, and configure the EC2 Auto Scaling group to scale out proactively before the campaign starts.Cevap
  2. B
    Rely on the Application Load Balancer's default automatic scaling capabilities to dynamically adjust to the sudden influx of traffic while the EC2 Auto Scaling group scales out using CPU utilization policies.
  3. C
    Enable Multi-AZ deployment for the backend Amazon RDS instance and configure the application to send half of the read traffic to the standby replica instance to offload database queries.
  4. D
    Deploy an Amazon ElastiCache for Memcached cluster with multi-AZ replication enabled to cache database query results and provide session persistence during the flash sale.

Cevap

Contact AWS Support to pre-warm the Application Load Balancer with the expected traffic metrics, and configure the EC2 Auto Scaling group to scale out proactively before the campaign starts.
Pre-warming the Application Load Balancer (ALB) is the standard AWS best practice when preparing for a predictable, massive, and instantaneous traffic surge. Because standard ALB scaling takes time, pre-warming ensures that sufficient resources are provisioned beforehand. Additionally, proactively scaling out the EC2 instances before the event begins ensures the application tier has the compute capacity ready to process the requests.

Adım Adım Çözüm

1
Analyze the scale and rate of the traffic increase.
Traffic goes from 100 to 150,000 requests per second instantly, indicating an extreme flash traffic spike.
This rate of change exceeds standard automatic scaling speeds for both Application Load Balancers and EC2 instances.
2
Select the correct ELB scaling strategy.
Pre-warming the ALB ensures AWS provisions the necessary capacity in advance.
Default ALB auto-scaling is gradual and cannot keep pace with instant spikes of this magnitude.
3
Verify database and caching choices to eliminate incorrect architectures.
Avoid routing reads to RDS Multi-AZ standby instances or using Memcached for multi-AZ replication.
These choices represent fundamental architectural misconceptions regarding AWS service capabilities.

Anahtar Kavram

ELB pre-warming and proactive capacity planning for flash traffic events
Tahmini Süre:1m 0s
Bu soruyu puanla