A logistics company is designing a serverless telemetry tracking system for its fleet of delivery vehicles. Each vehicle uploads its GPS coordinates to AWS in unpredictable, sudden bursts throughout the day. The location updates must be processed in the exact order they are received for each vehicle to map route history accurately. The processing execution is lightweight, taking less than per message. The processed coordinates must be stored in a NoSQL database. Which combination of AWS services and configurations will meet these requirements most cost-effectively? (Select TWO.)
- AWS Lambda to process the updates, triggered by an Amazon SQS FIFO queue.Cevap
- Amazon DynamoDB configured with on-demand capacity mode to store the telemetry data.Cevap
- CAmazon SQS standard queue to buffer incoming telemetry messages before sending them to AWS Lambda.
- DAmazon DynamoDB configured with provisioned capacity mode scaled to the maximum expected peak write throughput.
- EA continuously running AWS Lambda function that uses a long-running execution model to poll the telemetry endpoint.
Cevap
AWS Lambda triggered by an Amazon SQS FIFO queue, and Amazon DynamoDB configured with on-demand capacity mode.
The combination of AWS Lambda triggered by Amazon SQS FIFO queues and Amazon DynamoDB on-demand capacity mode provides a fully serverless, automatically scaling, and cost-efficient architecture. AWS Lambda scales dynamically to process bursty incoming messages without charging for idle time, while the SQS FIFO queue ensures coordinates are processed in strict order per vehicle. Amazon DynamoDB on-demand mode handles unpredictable spikes without requiring over-provisioning, ensuring costs directly align with usage.
Adım Adım Çözüm
Anahtar Kavram
Combining event-driven serverless compute (AWS Lambda) with order-preserving message queues (Amazon SQS FIFO) and auto-scaling databases (Amazon DynamoDB On-Demand) to optimize costs for unpredictable, sequential workloads.