A digital advertising company is designing a real-time bidding (RTB) platform on AWS. The platform must ingest and process bid requests per second from external ad exchanges. Each request has a strict latency budget of for processing, matching with active advertiser campaigns, and returning a bid response. The campaign metadata is currently in size and is updated periodically throughout the day. The architecture must scale horizontally to handle unpredictable spikes in bid requests while maintaining the sub- response time. Which combination of actions should the Solutions Architect take to meet these performance and scalability requirements? (Select TWO.)
- Cache the campaign metadata using Amazon ElastiCache for Redis with cluster mode enabled, and configure the application to read from replica nodes to minimize latency and distribute the query volume.Answer
- BDeploy an Application Load Balancer (ALB) to manage incoming requests, relying on its dynamic auto-scaling to scale the load balancer's capacity without pre-warming during sudden surges.
- Deploy a Network Load Balancer (NLB) to handle incoming traffic, terminating TCP/TLS connections at the load balancer to reduce computing load on target instances.Answer
- DStore the campaign metadata in an Amazon RDS MySQL database in a Multi-AZ deployment, and configure the application instances to direct read traffic to the standby replica in the second Availability Zone to scale out reads.
- EDeploy Amazon ElastiCache for Memcached to store the campaign metadata, and configure multi-AZ replication to ensure the cache stays highly available and in-sync across multiple Availability Zones.
Answer
Deploy a Network Load Balancer (NLB) to handle incoming traffic, terminating TCP/TLS connections at the load balancer, and cache the campaign metadata using Amazon ElastiCache for Redis with cluster mode enabled, reading from replica nodes to minimize latency.
Deploying a Network Load Balancer (NLB) to handle traffic is correct because it scales instantly to support millions of requests per second with ultra-low latency and offloads TLS termination to preserve computing capacity on the application tier. Storing campaign metadata in Amazon ElastiCache for Redis with cluster mode enabled is correct because it fits the dataset in-memory and supports multi-AZ read replication, allowing application instances to execute queries against local replica nodes with sub-millisecond response times.
Step-by-Step Solution
Key Concept
Decoupling high-throughput load balancing and ultra-low latency caching to scale workloads under strict sub-second performance SLAs.