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.)
- Deploy database read replicas to handle the high volume of read-only queries.Cevap
- Request pre-warming of the Application Load Balancer from AWS Support before the scheduled monthly traffic spikes.Cevap
- CEnable Multi-AZ deployment for the database and route read queries to the standby instance.
- DRely on standard Application Load Balancer auto-scaling to automatically scale out during the sudden traffic spikes.
- EDecrease 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
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