A financial service provider is designing a real-time fraud detection and auditing solution. The solution must ingest transaction logs from millions of globally distributed POS terminals, with peak traffic reaching and up to transactions per second. The transactions must be processed in the exact order they are received for each terminal to ensure accurate validation. The raw transactions must also be stored in Apache Parquet format on Amazon S3 with low operational overhead.
Which combination of actions should the solutions architect recommend to meet these requirements? (Select two.)
- Create an Amazon Kinesis Data Stream in Provisioned mode with shards, and write transactions using the terminal ID as the partition key.Cevap
- Create an Amazon Data Firehose delivery stream with Amazon S3 as the destination, set the Kinesis Data Stream as the source, and enable data format conversion to Apache Parquet using an AWS Glue table.Cevap
- CCreate an Amazon SQS standard queue to ingest the transaction logs from the POS terminals, and configure an AWS Lambda function to process the logs.
- DCreate an Amazon Kinesis Data Stream in Provisioned mode with shards, and rely on Kinesis Auto Scaling to dynamically provision additional shards as throughput increases.
- ECreate an Amazon Kinesis Data Stream in Provisioned mode with shards, and write transactions using the transaction timestamp as the partition key.
Cevap
Create an Amazon Kinesis Data Stream in Provisioned mode with shards using the terminal ID as the partition key, and create an Amazon Data Firehose delivery stream using the Kinesis Data Stream as the source with inline conversion to Apache Parquet using AWS Glue.
To ingest transaction logs at a peak rate of and transactions per second while maintaining strict order per terminal, an Amazon Kinesis Data Stream in Provisioned mode with at least shards is required. Using the terminal ID as the partition key ensures that records for each terminal are routed to the same shard in order. For the transformation and S3 delivery, Amazon Data Firehose can ingest from the Kinesis Data Stream and perform inline data format conversion to Apache Parquet using AWS Glue with minimal operational overhead.
Adım Adım Çözüm
Anahtar Kavram
High-Performing Data Ingestion and Transformation Solutions