An educational technology (EdTech) platform delivers online exams to hundreds of thousands of concurrent students. The application's backend database is an Amazon RDS for PostgreSQL DB instance. During peak testing hours, the database experiences performance degradation, resulting in high query latencies and database connection exhaustion. Analysis reveals two primary bottlenecks: read-heavy queries for static exam questions and test structures, which are updated rarely; and a massive surge of write-heavy transactions when students submit their answers simultaneously. The Solutions Architect must optimize the database and caching efficiency. The caching layer must support replication and automatic failover to prevent database stampedes in the event of a cache node failure, and the write bottleneck must be mitigated while limiting the rate of concurrent database connections. Which two of the following actions should the Solutions Architect implement to meet these requirements? (Select TWO.)
- Implement Amazon ElastiCache for Redis in a Multi-AZ replication group to cache the static exam questions and test structures.Cevap
- BImplement Amazon ElastiCache for Memcached in a multi-node cluster to cache the static exam questions and test structures, configuring it for automatic failover and replication across Availability Zones.
- Decouple the quiz submission process by sending student responses to an Amazon SQS queue, and configure an AWS Lambda function with reserved concurrency to poll the queue and write answers to the RDS database in batches.Cevap
- DModify the RDS for PostgreSQL DB instance to use a Multi-AZ deployment, and configure the application to route read queries for exam questions directly to the standby replica.
- EDecouple the quiz submission process by sending student responses to an Amazon SQS queue, and trigger an AWS Lambda function with unreserved concurrency to write each response to the RDS database immediately.