A logistics company runs an on-demand delivery platform. The backend API layer runs on Amazon Elastic Container Service (Amazon ECS) on AWS Fargate and connects to an Amazon Aurora PostgreSQL database cluster. During peak morning dispatch periods, database CPU utilization exceeds and the application experiences connection exhaustion, leading to degraded query response times. Application analysis reveals a high volume of read queries for delivery driver session states and route calculations. The application requires that driver session states be cached with sub-millisecond latency. Furthermore, the cache must survive node restarts and support replication across multiple Availability Zones to maintain high availability. Additionally, the database connections must be managed efficiently to handle high connection spikes from the containerized tasks.
Which of the following actions should a Solutions Architect recommend to improve database and caching efficiency? (Select TWO.)
- Deploy an Amazon ElastiCache for Redis cluster with replication and automatic failover enabled to cache the session states.Cevap
- BDeploy an Amazon ElastiCache for Memcached cluster with multi-node replication to cache the session states.
- CConfigure the application to direct read traffic to the secondary standby instance of the database cluster.
- Implement Amazon RDS Proxy to manage connection pooling and reduce CPU overhead on the database cluster.Cevap
- EUse Amazon ElastiCache for Memcached with append-only file (AOF) persistence enabled to cache the session states.