A company is designing a database architecture for a multi-tenant web application. The database tier has two distinct workloads:
First, a tenant metadata and configuration store which experiences predictable, steady read/write volume throughout the day, requiring high availability with a recovery point objective (RPO) of .
Second, an analytics database that ingests large batches of telemetry data from tenants during random, unpredictable -minute windows, remaining completely idle for the rest of the day.
Which combination of database configurations will meet these requirements in the most cost-effective manner? (Select TWO.)
- Configure an Amazon RDS for PostgreSQL Multi-AZ DB instance deployment using gp3 storage volumes for the tenant metadata.Answer
- Configure an Amazon DynamoDB table in On-Demand capacity mode for the analytics telemetry store.Answer
- CConfigure an Amazon RDS for PostgreSQL Single-AZ DB instance with an active Read Replica, relying on the replica as the automatic failover target to guarantee a recovery point objective (RPO) of zero.
- DConfigure an Amazon DynamoDB table in Provisioned capacity mode with Auto Scaling enabled to automatically adjust capacity units from zero to peak during ingestion windows.
- EConfigure Amazon RDS for PostgreSQL in a Multi-AZ DB instance deployment and purchase a Compute Savings Plan to discount the hourly database instance compute costs.
Answer
Configure an Amazon RDS for PostgreSQL Multi-AZ DB instance deployment using gp3 storage volumes for the tenant metadata, and configure an Amazon DynamoDB table in On-Demand capacity mode for the analytics telemetry store.
The correct architecture combines an Amazon RDS Multi-AZ DB instance deployment with gp3 storage for the tenant metadata, and an Amazon DynamoDB table in On-Demand capacity mode for the telemetry store. The RDS Multi-AZ deployment ensures high availability and zero recovery point objective (RPO) through synchronous replication. Utilizing gp3 volumes allows the company to optimize storage costs by configuring performance independent of storage size. DynamoDB On-Demand capacity mode is ideal for the telemetry store because it instantly handles unpredictable, short-duration spikes without throttling and incurs no charges when the database is idle.
Step-by-Step Solution
Key Concept
Cost-Optimized Database Capacity Planning and Storage Selection