A solutions architect is designing a database solution for a global fleet tracking application. The application must ingest real-time telemetry data from over 100,000 delivery vehicles, resulting in millions of write transactions per minute. The system requires consistent sub-millisecond write latency. The fleet operations are highly dynamic, with write traffic peaking heavily during business hours and dropping to near zero at night. Each telemetry record includes a unique vehicle identifier (VehicleID), a monotonically increasing timestamp (Timestamp), and location coordinates. The architect selects Amazon DynamoDB as the datastore. Which database design and configuration should the solutions architect implement to meet these requirements?
- Design the DynamoDB table with VehicleID as the partition key and Timestamp as the sort key, and configure the table with On-Demand capacity mode.Cevap
- BDesign the DynamoDB table with Timestamp as the partition key and VehicleID as the sort key, and configure the table with Provisioned Capacity Mode.
- CMigrate the database to Amazon RDS for PostgreSQL with Multi-AZ, and configure Read Replicas in the primary Availability Zone to automatically scale and failover the write operations during peak hours.
- DDesign the DynamoDB table with VehicleID as the partition key and Timestamp as the sort key, and configure Provisioned Capacity Mode with static read/write capacity units calculated from the average daily traffic.