CloudWatch Logs send log data to a Kinesis data stream that a single consumer Lambda reads and writes to S3. The team observes high latency for some log processing and ingestion. Which actions will reduce that latency? (Choose three.)
Choose an answer
Tap an option to check your answer.
Correct answer: Create a Kinesis data stream consumer that uses enhanced fan-out and set the Lambda processing function as that consumer., Increase the ParallelizationFactor in the Lambda event source mapping for the Kinesis stream., Increase the number of shards in the Kinesis data stream..
Why this is the answer
Enhanced fan-out allows consumers to receive data from Kinesis Data Streams with dedicated throughput, reducing contention and latency compared to shared throughput. Increasing the ParallelizationFactor for the Lambda event source mapping allows a single Kinesis shard to be processed by multiple concurrent Lambda invocations, improving processing speed. Increasing the number of shards in the Kinesis data stream increases the stream's overall throughput capacity, allowing more data to be ingested and processed in parallel. Setting reserved concurrency for the Lambda function ensures that the function always has a minimum number of concurrent executions available, which helps prevent cold starts and throttling but doesn't directly address high latency from the Kinesis stream itself. Increasing the Kinesis event mapping batch size can increase latency because the Lambda function waits longer to accumulate a larger batch before processing. Disabling ReportBatchItemFailures changes error handling but does not reduce latency.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed