An e-commerce startup is launching a temporary promotional microservice that expects highly unpredictable, bursty traffic with long periods of zero activity. The development team wants to deploy a relational database and a non-relational database to support this microservice while minimizing costs. Which TWO of the following configurations are the most cost-effective database capacity choices for these workloads? (Select TWO.)
- Amazon DynamoDB configured with on-demand capacity mode for the non-relational databaseCevap
- Amazon Aurora Serverless v2 for the relational database to scale capacity automatically based on database usageCevap
- CAmazon DynamoDB configured with provisioned capacity mode and a high baseline to absorb sudden traffic bursts
- DAmazon RDS for PostgreSQL with a Read Replica configured as the destination for automatic application failover during outages
- EAmazon DynamoDB configured with provisioned capacity mode and Auto Scaling enabled to scale up from zero activity
Cevap
Amazon DynamoDB configured with on-demand capacity mode for the non-relational database, and Amazon Aurora Serverless v2 for the relational database to scale capacity automatically based on database usage.
For highly unpredictable workloads with long periods of zero activity, serverless options provide the best cost optimization. Amazon DynamoDB on-demand capacity mode eliminates the need to estimate throughput and does not charge for read/write capacity when there is no traffic. Amazon Aurora Serverless v2 dynamically scales capacity units in response to active database usage, minimizing costs during idle periods compared to running provisioned DB instances.
Adım Adım Çözüm
Anahtar Kavram
Selecting serverless capacity modes (DynamoDB On-Demand and Aurora Serverless) is the most cost-effective approach for highly unpredictable, bursty database workloads with periods of zero activity.