A smart grid utility company collects electricity consumption readings from smart meters every . The total data volume during peak hours reaches of XML data. The company needs to ingest this data, convert the format from XML to JSON in near-real-time, and store the output in Amazon S3 for downstream analytics. The ingestion pipeline must scale automatically to handle load fluctuations and require minimal operational overhead. Which combination of actions should the solutions architect recommend to meet these requirements? (Select two.)
- Use Amazon Kinesis Data Firehose to ingest the data and invoke an AWS Lambda function to transform the format from XML to JSON.Answer
- BIngest the data into an Amazon Kinesis Data Streams stream configured with provisioned mode and a fixed number of shards to handle peak traffic.
- Deliver the transformed JSON records from Amazon Kinesis Data Firehose directly to the target Amazon S3 bucket.Answer
- DSend the readings to an Amazon SQS standard queue to buffer the data and guarantee that messages are processed in strict first-in, first-out (FIFO) order.
- EIngest the readings using an Amazon SQS standard queue and trigger an AWS Lambda function to transform the messages while relying on SQS to preserve the exact order of the data.
Answer
The correct combination of actions is to use Amazon Kinesis Data Firehose to ingest the data and invoke an AWS Lambda function to transform the format from XML to JSON, and to deliver the transformed JSON records from Amazon Kinesis Data Firehose directly to the target Amazon S3 bucket.
Amazon Kinesis Data Firehose is a fully managed service that scales automatically to match stream throughput, satisfying the high performance and low operational overhead criteria. It features built-in integration with AWS Lambda to execute data transformation synchronously as data passes through the delivery stream. Delivering the results directly to Amazon S3 completes a robust, scalable, and serverless ingestion pipeline.
Step-by-Step Solution
Key Concept
Serverless streaming ingestion and transformation using Amazon Kinesis Data Firehose and AWS Lambda.