MLS-C01 exam dumps

MLS-C01 practice question 30 of 389

AWS Certified Machine Learning - Specialty. Expert level, Amazon Web Services. Free question with the correct answer and a full explanation.

MLS-C01 Question 30

Single answer

A company is using Amazon Kinesis Data Streams to process real-time streaming data from IoT devices. The data is processed by an AWS Lambda function. Recently, the company observed an increase in the number of records being produced, leading to throttling and slower processing times. What is the most effective way to handle the increased data volume while ensuring optimal performance?

  1. A

    Increase the retention period of the Kinesis data stream.

  2. B

    Increase the number of shards in the Kinesis data stream.

  3. C

    Enable enhanced fan-out for the Kinesis data stream.

  4. D

    Use Amazon Kinesis Data Firehose instead of Kinesis Data Streams.

Show answer and explanation

Correct answer: B

Explanation

When using Amazon Kinesis Data Streams, each shard has a specific throughput limit. If the data volume exceeds this limit, throttling occurs. To handle the increased data volume, the number of shards in the stream should be increased, as this directly increases the throughput capacity. Other options, such as retaining data longer or enabling enhanced fan-out, do not address the root cause of the issue in this scenario.

  • A. Incorrect.

    Increasing the retention period only retains the data for a longer time but does not help with processing higher data volumes. This option does not address the current performance issue.

  • B. Correct.

    Increasing the number of shards in the Kinesis data stream increases the throughput capacity, allowing the system to handle higher volumes of data without throttling. This is the correct approach to address the problem.

  • C. Incorrect.

    Enabling enhanced fan-out improves the performance for multiple consumers by giving each consumer its own read throughput. However, it does not directly resolve the issue of throttling caused by insufficient shard capacity.

  • D. Incorrect.

    Amazon Kinesis Data Firehose is a managed service designed for data delivery, not for real-time processing with Lambda. Switching to Kinesis Data Firehose would not resolve the performance issue in this scenario.

Timed practice exam

Take a MLS-C01 practice test under exam conditions

65 questions in 180 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam