A fleet management company collects real-time GPS telemetry from vehicles. The telemetry data is sent continuously at a highly predictable rate of writes per second. Users frequently query the GPS coordinate data from the last hours via a monitoring dashboard. Historical data older than hours is rarely accessed but must be retained for up to years for regulatory compliance. The company wants to design a highly cost-optimized database and storage architecture. Which two database configurations should a solutions architect recommend to meet these requirements? (Select TWO).
- Configure the Amazon DynamoDB table using provisioned capacity mode with Auto Scaling enabled to store the active data.Cevap
- Enable DynamoDB Time to Live (TTL) on the table to automatically delete items older than hours, and use DynamoDB Streams to archive the deleted records to Amazon S3.Cevap
- CConfigure the Amazon DynamoDB table using on-demand capacity mode to handle the continuous vehicle write traffic.
- DStore the active telemetry data in an Amazon RDS for PostgreSQL database with Multi-AZ enabled, using Read Replicas as the primary database failover target.
- EArchive the historical telemetry data to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) and configure an S3 Lifecycle policy to delete the files after days.
Cevap
The solutions architect should recommend configuring the Amazon DynamoDB table with provisioned capacity mode and Auto Scaling enabled for the active data, and enabling DynamoDB Time to Live (TTL) to automatically delete records older than hours while archiving them to Amazon S3 via DynamoDB Streams.
The correct options are configuring the Amazon DynamoDB table with provisioned capacity mode and Auto Scaling enabled, and enabling DynamoDB TTL combined with DynamoDB Streams to archive deleted records to Amazon S3. Provisioned capacity mode with Auto Scaling is highly cost-effective for continuous, predictable workloads because it avoids the higher per-request cost of on-demand capacity mode. Enabling TTL automatically removes data older than hours from DynamoDB at no cost, and archiving those records via streams to Amazon S3 ensures that long-term historical data is stored in a cost-optimized storage tier rather than expensive database storage.
Adım Adım Çözüm
Anahtar Kavram
Selecting the most cost-effective database capacity mode and establishing tiered storage policies to minimize long-term data retention costs.