A digital learning platform is launching a real-time examination service. During school exams, the platform experiences a sudden surge in traffic. Because exams are scheduled independently by thousands of schools throughout the day, the spikes are frequent but unpredictable at the global platform level, making manual pre-warming requests impractical. When an exam starts, submission traffic spikes from to within . The system must process these submissions, save them to a relational database, and immediately update a real-time monitor dashboard for instructors. The dashboard queries are highly concurrent and read-heavy, requiring sub- latency. Which architectural design will meet these scalability and performance requirements while preventing dropped requests?
- Deploy a Network Load Balancer (NLB) to route incoming traffic to the application tasks. Store the data in an Amazon Aurora PostgreSQL DB cluster. Create an Aurora Auto Scaling policy for Aurora Replicas to scale out the read capacity of the cluster, and configure the dashboard to query the Aurora reader endpoint.Answer
- BDeploy a Network Load Balancer (NLB) to route incoming traffic to the application tasks. Store the data in an Amazon RDS for PostgreSQL DB instance in a Multi-AZ deployment. Configure the dashboard to query the secondary standby DB instance in the secondary Availability Zone to offload read traffic from the primary instance.
- CDeploy an Application Load Balancer (ALB) to route incoming traffic to the application tasks. Store the data in an Amazon RDS for PostgreSQL DB instance in a Multi-AZ deployment. Configure the dashboard to query the secondary standby DB instance using its node-specific DNS endpoint to distribute the read-heavy queries.
- DDeploy an Application Load Balancer (ALB) to route incoming traffic to the application tasks. Store the data in an Amazon Aurora PostgreSQL DB cluster. Configure a target tracking scaling policy on the ALB to scale the database writer instance size vertically using AWS Lambda when CPU utilization exceeds .