Courseiva
Data EngineeringmediumMultiple ChoiceObjective-mapped

MLS-C01 Data Engineering Practice Question

A company uses Amazon Kinesis Data Firehose to deliver data to Amazon S3. The data must be transformed before delivery using AWS Lambda. The Lambda function adds a timestamp field. The Firehose stream receives up to 10,000 records per second. The transformation currently takes 500 ms per record. What should the team do to ensure the transformation can keep up with the incoming data without data loss?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Increase the Lambda concurrency limit for the function to handle parallel invocations.

Increasing the Lambda concurrency limit allows more parallel invocations, enabling the function to process the high throughput of 10,000 records per second (each taking 500 ms) without falling behind. Option A is incorrect because shards are a concept for Kinesis Data Streams, not Firehose. Option B is incorrect: placing the Lambda function in a VPC typically adds network latency and does not improve performance for this simple transformation. Option D is incorrect: increasing S3 buffer size/interval may delay data delivery but does not increase transformation capacity.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Increase the number of shards in the Kinesis stream.

    Why it's wrong here

    Incorrect. Shards are associated with Kinesis Data Streams, not Firehose. Firehose automatically scales to handle throughput.

  • Place the Lambda function in a VPC to improve network performance.

    Why it's wrong here

    Incorrect. Placing the Lambda function in a VPC can introduce additional latency and is unnecessary for adding a timestamp; it does not help with throughput.

  • Increase the Lambda concurrency limit for the function to handle parallel invocations.

    Why this is correct

    Correct. Increasing the Lambda concurrency limit allows multiple instances of the function to run in parallel, enabling it to keep up with the high record rate and preventing data loss.

  • Increase the S3 buffer size and buffer interval in the Firehose delivery stream.

    Why it's wrong here

    Incorrect. Increasing the S3 buffer size or interval only affects how often data is written to S3, not the transformation speed. It may lead to increased latency or data loss if the buffer fills up.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

One of 1,672 original MLS-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This MLS-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the MLS-C01 exam.