A telematics company is building a connected vehicle platform on AWS to ingest telemetry from a fleet of vehicles. Each vehicle transmits GPS and engine diagnostics every via HTTPS, producing a steady ingestion rate of requests per second. The platform must perform real-time geofencing checks (which require querying spatial boundaries) with a sub- latency target, and persist all incoming telemetry for historical reporting. During peak rush hours, traffic can double within a -minute window. Which of the following architectures is the most performant, scalable, and operationally efficient?
- Deploy a Network Load Balancer (NLB) to ingest the traffic, routing to an Amazon ECS cluster on AWS Fargate. ECS tasks write telemetry data to Amazon Kinesis Data Streams. Configure AWS Lambda functions to consume the stream, perform geofencing checks by querying spatial boundaries cached in Amazon ElastiCache for Redis, and write results to Amazon DynamoDB. Use Amazon Kinesis Data Firehose to archive raw telemetry to Amazon S3.Cevap
- BDeploy a Network Load Balancer (NLB) to ingest the traffic, routing to an Amazon ECS cluster on AWS Fargate. ECS tasks write telemetry data to Amazon Kinesis Data Streams. Configure AWS Lambda functions to consume the stream and perform geofencing checks by querying spatial boundaries from the secondary standby DB instance of a Multi-AZ Amazon RDS for PostgreSQL deployment to offload the primary DB instance.
- CDeploy an Application Load Balancer (ALB) to ingest the traffic, routing to an Amazon ECS cluster on AWS Fargate. Rely on ALB auto-scaling to handle the sudden spikes during peak hours. The ECS tasks write telemetry data to Amazon Kinesis Data Streams, while evaluating geofences using spatial boundaries cached in Amazon ElastiCache for Redis.
- DDeploy a Network Load Balancer (NLB) to ingest the traffic, routing to an Amazon ECS cluster on AWS Fargate. ECS tasks write telemetry to Amazon SQS queues. Configure AWS Lambda functions to poll the queues, perform geofencing checks by querying spatial boundaries cached in Amazon ElastiCache for Memcached, and write every processed message individually to Amazon S3.
Cevap
Deploy a Network Load Balancer (NLB) to ingest the traffic, routing to an Amazon ECS cluster on AWS Fargate. ECS tasks write telemetry data to Amazon Kinesis Data Streams. Configure AWS Lambda functions to consume the stream, perform geofencing checks by querying spatial boundaries cached in Amazon ElastiCache for Redis, and write results to Amazon DynamoDB. Use Amazon Kinesis Data Firehose to archive raw telemetry to Amazon S3.
The correct answer combines a Network Load Balancer (NLB) to handle sudden spikes in traffic, Kinesis Data Streams for high-throughput ingestion buffering, ElastiCache for Redis to store geofence coordinates and execute geospatial lookups with sub-millisecond latency, and Kinesis Data Firehose to aggregate and write raw historical data to Amazon S3.
Adım Adım Çözüm
Anahtar Kavram
Decoupled architecture for high-throughput, low-latency streaming and rapid traffic spikes