A logistics company is designing an ingestion pipeline for real-time tracking data from a fleet of delivery vehicles. Each vehicle transmits a JSON location update every . The company has two primary requirements: real-time route optimization calculations with a latency of less than one second, and storing the data in Amazon S3 in Apache Parquet format for long-term historical query analysis using Amazon Athena. Which combination of actions will meet these requirements with the highest performance? (Select two.)
- Configure an Amazon Kinesis Data Stream with at least 15 shards to ingest the tracking data, and use a real-time consuming application to process the stream for route optimization.Cevap
- Configure an Amazon Kinesis Data Firehose delivery stream with the Kinesis Data Stream as the source to convert the JSON payloads to Apache Parquet using AWS Glue, and deliver the data to Amazon S3.Cevap
- CIngest the tracking data using a standard Amazon SQS queue, and configure Amazon Kinesis Data Firehose to poll the queue to deliver data directly to the route optimization application.
- DConfigure an Amazon Kinesis Data Stream with 5 provisioned shards, using the vehicle's unique device ID as the partition key, to stream data to the route optimization application.
- EUse a standalone Amazon Kinesis Data Firehose delivery stream with a buffer interval of 1 second to write the incoming data directly to Amazon S3, and have the route optimization application read from S3.
Cevap
Configure an Amazon Kinesis Data Stream with at least 15 shards to ingest the tracking data for real-time processing, and configure an Amazon Kinesis Data Firehose delivery stream with the Kinesis Data Stream as the source to convert the data to Apache Parquet and deliver it to Amazon S3.
To process the ingestion of records/sec at , Amazon Kinesis Data Streams is provisioned with at least 15 shards because each shard supports up to write throughput or records/sec. A real-time consumer application processes the stream directly to achieve sub-second latency. To satisfy the storage and query optimization requirements, Kinesis Data Firehose is configured to read from the Kinesis Data Stream, convert the format to Apache Parquet using AWS Glue, and write the records to Amazon S3.
Adım Adım Çözüm
Anahtar Kavram
Designing high-performing real-time data ingestion pipelines with Kinesis Data Streams and Firehose, calculating shard requirements, and performing schema-based conversions.
Tahmini Süre:1m 30s