A retail company expects a massive surge in website traffic during an upcoming marketing campaign. The company needs to design a high-performing data ingestion solution to collect clickstream data in JSON format, transform it into Apache Parquet format, and store it in Amazon S3 for near-real-time analytics. The volume of incoming data is highly unpredictable and fluctuates rapidly. The solution must scale automatically to handle peak throughput without any manual intervention or administrative overhead. Which solution meets these requirements with the highest performance and the least operational effort?
- Deploy Amazon Kinesis Data Firehose to ingest the clickstream data, configure it to invoke an AWS Lambda function for inline data transformation, and set the destination to Amazon S3.Cevap
- BCreate an Amazon Kinesis Data Stream with a fixed pool of provisioned shards, and deploy a custom consumer script running on Amazon EC2 instances to read, transform, and write the data to Amazon S3.
- CPublish the incoming clickstream events to a standard Amazon SQS queue, and trigger an AWS Lambda function to process the messages, transform the payload, and write them sequentially to Amazon S3.
- DConfigure the web application to write raw log files to Amazon S3, and trigger an AWS Lambda function running continuously on a scheduled basis to poll, transform, and rewrite the files to Parquet format.
Cevap
Deploy Amazon Kinesis Data Firehose to ingest the clickstream data, configure it to invoke an AWS Lambda function for inline data transformation, and set the destination to Amazon S3.
The correct option is to use Amazon Kinesis Data Firehose with inline AWS Lambda transformation. Kinesis Data Firehose is a fully managed streaming service that scales automatically to accommodate unpredictable traffic spikes without manual intervention. It offers native integration with AWS Lambda to perform serverless, real-time data transformations (such as converting JSON to Parquet) before delivering the data directly to Amazon S3, maximizing ingestion performance while minimizing operational overhead.
Adım Adım Çözüm
Anahtar Kavram
High-performing streaming data ingestion with automatic scaling and inline serverless transformation using Kinesis Data Firehose and AWS Lambda.
Tahmini Süre:1m 30s