A professional certification organization is launching a high-stakes synchronous online exam. The platform must support candidates logging in and downloading their customized exam profiles within a -minute window starting at exactly 14:00 UTC. The current architecture consists of an Application Load Balancer (ALB) routing to an Auto Scaling group (ASG) of Amazon EC2 instances, with an Amazon Aurora PostgreSQL database cluster containing one writer and two reader instances. During a load simulation, the reactive scaling policies failed to provision EC2 instances in time, the ALB dropped connection requests, and the database reader instances experienced CPU exhaustion and query timeouts. Which strategy should a solutions architect recommend to ensure the platform scales and maintains performance during the exam launch?
- ARely on the ALB's default automatic scaling to handle the traffic. Configure the ASG with a target tracking policy based on average CPU utilization, setting the scaling cooldown period to seconds. Enable Aurora Auto Scaling based on average CPU utilization, and configure the application to direct read queries to the RDS Multi-AZ standby instance of the database writer to handle the initial surge.
- BRequest ALB pre-warming from AWS Support. Set up a scheduled scaling policy on the ASG to scale out to the maximum capacity minutes prior to the exam. Deploy Amazon ElastiCache for Memcached to cache the customized exam profiles, enabling multi-AZ replication to ensure cache availability, and configure the application to query the cache before the Aurora reader instances.
- Request ALB pre-warming from AWS Support for the expected traffic profile. Set up a scheduled scaling policy on the ASG to launch the required number of EC2 instances minutes before the exam starts. Pre-provision additional Aurora Replicas in the cluster before the exam begins, and configure an Aurora Auto Scaling policy to handle any additional read queries during the test.Cevap
- DRequest ALB pre-warming from AWS Support. Configure a target tracking scaling policy on the ASG using a CPU utilization target of , setting the cooldown period to seconds. Configure Aurora Auto Scaling to scale reader instances dynamically based on average CPU utilization, relying on the cluster reader endpoint to distribute query loads during the initial burst.