A collaborative workspace platform operates a software-as-a-service (SaaS) application that relies on an Amazon RDS for PostgreSQL database. During peak hours of collaboration, the database experiences high CPU utilization consistently exceeding , resulting in application latency and timeouts.
An architectural audit reveals the following details:
* of the database load consists of read queries fetching static document access control lists (ACLs) and workspace folder layouts.
* of the database load consists of write-heavy operations that set and release short-lived document session locks. These session locks are highly dynamic but must be persisted and replicated to survive an Availability Zone outage without losing the state of active user sessions.
* of the load consists of transient database connections opened by short-lived AWS Fargate tasks, leading to the database frequently reaching its maximum connection limits.
Which combination of actions should the Solutions Architect take to improve database and caching efficiency, reduce primary CPU utilization, and prevent connection exhaustion? (Select THREE.)
- Configure Amazon ElastiCache for Redis with Multi-AZ replication and auto-failover enabled, and modify the application to store active session lock states in the cache.Answer
- BConfigure Amazon ElastiCache for Memcached to store active session lock states, and configure auto-discovery to handle node failure and replication.
- Deploy an Amazon RDS Proxy instance between the AWS Fargate tasks and the PostgreSQL database, and configure the application to connect via the proxy.Answer
- Create an Amazon RDS Read Replica for the PostgreSQL database, and update the application logic to direct the read-heavy queries for static document ACLs and folder layouts to the read replica.Answer
- EConfigure the application to route read-heavy queries for static document ACLs and folder layouts to the standby instance of the RDS PostgreSQL Multi-AZ deployment.
- FSet up an AWS Database Migration Service (DMS) replication instance with a Change Data Capture (CDC) task to replicate tables to a secondary database for read queries, leaving the source database configuration unchanged.