Data Ingestion and Transformation
Which Lambda resource polls an Amazon Kinesis data stream and invokes a function with batches of records?
Show the answer
Correct answerC. An event source mapping
AWhy not this: A function URL provides an HTTP endpoint; it does not poll Kinesis.
BWhy not this: A resource-based policy grants access permissions but does not read or deliver stream records.
CWhy this is right: An event source mapping reads records from Kinesis and invokes the associated Lambda function.
DWhy not this: An asynchronous destination routes invocation results rather than reading records from Kinesis.
A Lambda event source mapping polls a Kinesis data stream and invokes the function with record batches. An asynchronous destination routes invocation results; it does not poll a stream.