Soru

Zorluk: KolayPerformance and Scalability Optimization

A company is designing a new reporting dashboard that queries a relational database. The application experiences a high volume of read-only queries during business hours. Additionally, at the beginning of each month, the application experiences a sudden, massive spike in users accessing the system within a few minutes. Which two solutions should the solutions architect implement to ensure the application remains scalable and performant during these times? (Select TWO.)

  1. Deploy database read replicas to handle the high volume of read-only queries.Cevap
  2. Request pre-warming of the Application Load Balancer from AWS Support before the scheduled monthly traffic spikes.Cevap
  3. C
    Enable Multi-AZ deployment for the database and route read queries to the standby instance.
  4. D
    Rely on standard Application Load Balancer auto-scaling to automatically scale out during the sudden traffic spikes.
  5. E
    Decrease the Auto Scaling group cooldown period to be shorter than the instance initialization time to add instances faster.

Cevap

Deploy database read replicas to handle the high volume of read-only queries, and request pre-warming of the Application Load Balancer from AWS Support before the scheduled monthly traffic spikes.
Deploying read replicas allows the application to offload read-heavy query traffic from the primary database instance. Requesting Application Load Balancer (ALB) pre-warming ensures that the load balancer has sufficient capacity configured in advance to handle the sudden, massive traffic spike at the start of the month, preventing dropped connections.

Adım Adım Çözüm

1
Analyze the database workload query type.
Identify that the primary bottleneck during business hours is read-only query traffic.
This guides the selection of read-scaling mechanisms, such as read replicas, rather than write-scaling or high-availability features.
2
Assess the performance characteristics of the load balancer under flash traffic conditions.
Understand that the monthly traffic spike occurs instantly and that standard load balancer auto-scaling takes time to provision capacity.
This establishes the need for pre-warming the Application Load Balancer to avoid dropped requests during sudden spikes.
3
Combine the database and load balancer scaling strategies.
Implement read replicas for daily performance and ALB pre-warming for scheduled traffic surges.
This provides a comprehensive optimization architecture that addresses both database and traffic scalability concerns.

Anahtar Kavram

Scaling read-heavy database workloads and handling sudden flash traffic load balancing spikes.

Alternatif Yöntem

For database read scaling, Amazon ElastiCache could be deployed in front of the database to cache common query results, reducing the query load on the database engine. However, implementing database read replicas is a more direct database-native solution for offloading read traffic.
Tahmini Süre:2m 0s
Bu soruyu puanla