A logistics organization tracks real-time location telemetry for its fleet of vehicles. The fleet operations generate a highly predictable write volume: from Monday through Friday between 08:00 and 18:00, telemetry ingestion averages write requests per second, whereas overnight and during weekends, it drops to a baseline of write requests per second. Additionally, once a month, an internal audit team executes a heavy read-intensive batch job that scans the entire database to generate compliance reports, which takes approximately 2 hours. Which TWO of the following configurations represent the most cost-effective database capacity design to meet these requirements?
- Configure the Amazon DynamoDB table in Provisioned Capacity Mode and implement Application Auto Scaling with scheduled actions to scale up Write Capacity Units (WCUs) to before 08:00 on weekdays and scale down to WCUs during off-peak hours.Cevap
- Enable Point-in-Time Recovery (PITR) on the DynamoDB table, export the table data directly to Amazon S3 once a month, and perform the compliance audit queries using Amazon Athena.Cevap
- CConfigure the Amazon DynamoDB table in On-Demand Capacity Mode to dynamically accommodate the writes per second during weekdays and automatically scale down to writes per second overnight.
- DConfigure the database on an Amazon RDS Multi-AZ DB instance deployment, and configure the monthly compliance audit job to read directly from the passive standby DB instance to avoid performance impact on the primary instance.
- EExport the DynamoDB table data to Amazon S3 Standard-Infrequent Access (S3 Standard-IA), execute the compliance queries using Amazon Athena, and immediately delete the exported data in S3 after the 2-hour audit completes to minimize storage costs.
Cevap
Configure the DynamoDB table in Provisioned Capacity Mode with scheduled scaling to transition between and WCUs, and export the table data via Point-in-Time Recovery (PITR) to Amazon S3 to query using Amazon Athena.
The correct database design incorporates Provisioned Capacity Mode with scheduled scaling for writes, combined with PITR exports to Amazon S3 and Amazon Athena for read-heavy compliance audits. Scheduled scaling aligns capacity with predictable changes, reducing write costs by over 85% compared to On-Demand capacity mode. Exporting DynamoDB table data using PITR does not consume any live table capacity, eliminating the need to provision high Read Capacity Units (RCUs) for monthly 2-hour compliance scans.
Adım Adım Çözüm
Anahtar Kavram
Using scheduled scaling for predictable capacity adjustments and offloading read-heavy analytical scans using serverless query engines on exported data to minimize total database costs.
Tahmini Süre:3m 0s