A fleet logistics company is migrating its real-time telemetry processing platform to AWS. The platform receives data updates from active vehicles globally. Each vehicle transmits updates every seconds, resulting in a write throughput of writes per second. Each update consists of GPS coordinates, speed, and engine metrics. The monitoring dashboard requires real-time access to the most recent coordinate updates per vehicle with sub-millisecond read latency. A solutions architect must design a high-performing database architecture that avoids partition throttling and supports this read/write workload. Which two configurations should the solutions architect implement to meet these requirements? (Select TWO.)
- Provision an Amazon DynamoDB table with a partition key of `VehicleID` and a sort key of `Timestamp` to distribute writes evenly across partitions.Cevap
- Deploy an Amazon DynamoDB Accelerator (DAX) cluster to cache read requests and deliver microsecond response times for the dashboard coordinate lookups.Cevap
- CProvision an Amazon DynamoDB table using `Timestamp` as the partition key and `VehicleID` as the sort key to optimize coordinate queries chronologically.
- DConfigure an Amazon RDS for PostgreSQL database in a Multi-AZ deployment, and configure the application to promote a Read Replica to the primary instance automatically during write spikes to handle write latency issues.
- EDeploy an Amazon CloudFront distribution in front of the dashboard API with a default Time-to-Live (TTL) of zero seconds to cache the real-time coordinates, ensuring the API origin is queried for every read request to maintain coordinate accuracy.
Cevap
To support a write volume of writes per second and sub-millisecond read latency, the solutions architect should provision an Amazon DynamoDB table with `VehicleID` as the partition key and `Timestamp` as the sort key, and deploy an Amazon DynamoDB Accelerator (DAX) cluster to cache read requests.
To scale to writes per second, Amazon DynamoDB is the ideal database choice. Choosing `VehicleID` as the partition key is highly effective because there are unique vehicle identifiers, resulting in a well-distributed hash key structure that avoids write hot spots. To meet the dashboard requirement for sub-millisecond (microsecond) read latency for lookup operations, deploying Amazon DynamoDB Accelerator (DAX) is the best choice because it provides an in-memory caching tier that sits directly in front of the DynamoDB table.
Adım Adım Çözüm
Anahtar Kavram
Designing high-performing, horizontally scalable database solutions in AWS using DynamoDB partitioning strategies and in-memory caching with DAX to prevent write hotspots and read latency bottlenecks.