Home › Forums › AWS › AWS Certified Solutions Architect Professional › Review Mode Set 2 Question 5 – Disagree with Answer › Reply To: Review Mode Set 2 Question 5 – Disagree with Answer
-
Hello Salient,
Yes, that’s correct. Smart meters > Amazon API Gateway > Kinesis Data Stream automatically distributes the data records across multiple shards based on the partition key. So, in your example:
- Smart meter 1, 2, 3 messages could go to Kinesis Shard 1
- Smart meter 4, 5, 6, 7 messages could go to Kinesis Shard 2
Kinesis Data Streams automatically provisions and manages the number of shards. Then, the Lambda functions are triggered by Kinesis Data Streams to process the batched data records from each shard. This parallelizes the processing and helps to scale the workload across multiple Lambda invocations.
I hope this clarifies your question.
Regards,
Neil @ tutorials dojo