An utility company is designing an emergency alert system. During a regional power outage, the system must immediately ingest status updates from up to smart grid sensors within a window. The ingestion layer consists of an Application Load Balancer (ALB) routing requests to EC2 instances, which validate the sensor's digital signature against a relational database before writing the status to the database. The database currently runs on a single Amazon RDS for PostgreSQL DB instance. Which architecture optimization strategy will meet these scalability and latency requirements under sudden load?
- ARely on the default auto-scaling behavior of the Application Load Balancer, and deploy an Amazon RDS for PostgreSQL Read Replica to distribute the validation read queries.
- Pre-warm the Application Load Balancer by contacting AWS Support, migrate the database to Amazon Aurora PostgreSQL, and configure Aurora Auto Scaling for the Aurora Replicas to scale read capacity.Answer
- CPre-warm the Application Load Balancer by contacting AWS Support, enable Multi-AZ on the RDS for PostgreSQL instance, and configure the EC2 instances to route validation read queries to the standby replica.
- DPre-warm the Application Load Balancer by contacting AWS Support, and deploy an Amazon ElastiCache for Memcached replication group across multiple Availability Zones to cache the validation data.
Answer
Pre-warm the Application Load Balancer by contacting AWS Support, migrate the database to Amazon Aurora PostgreSQL, and configure Aurora Auto Scaling for the Aurora Replicas to scale read capacity.
The correct strategy addresses both scaling constraints. First, pre-warming the ALB ensures that the entry point can immediately handle the massive connections from 500,000 smart grid sensors. Second, migrating to Amazon Aurora PostgreSQL and utilizing Aurora Replicas with Aurora Auto Scaling allows the system to scale reads horizontally and dynamic workloads efficiently, which is optimal for validating the sensors' digital signatures during peak events.
Step-by-Step Solution
Key Concept
Handling flash traffic requires pre-warming the load balancer, while scaling relational database reads horizontally requires using replicas rather than passive standby instances.
Estimated Time:2m 0s