Courseiva

DEA-C01 Data Ingestion and Transformation Practice Question

A data engineer is setting up an Amazon Kinesis Data Firehose delivery stream to load data into Amazon Redshift. The data is coming from an application that produces JSON records. The engineer needs to transform the data to match the Redshift table schema. Which approach is the MOST cost-effective and requires the least operational overhead?

⚠ Common exam trap

The trap here is that candidates often overestimate the transformation capabilities of Redshift's COPY command, mistakenly believing it can perform complex record-level transformations, when in fact it only supports basic data mapping and format parsing, not arbitrary JSON restructuring.

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

✓

Configure a Lambda function in the Firehose delivery stream to transform records before delivery.

Kinesis Data Firehose natively supports invoking a Lambda function as a transformation step within the delivery stream. This allows the engineer to write a simple Lambda function that parses the incoming JSON records and transforms them to match the Redshift table schema, all without provisioning or managing any additional infrastructure. This approach is the most cost-effective (pay per invocation) and requires the least operational overhead since Firehose handles the orchestration, retries, and delivery to Redshift automatically.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Use AWS Glue as a transformation step between Firehose and Redshift, with a trigger on S3.

    Why it's wrong here

    Glue adds a separate ETL service plus S3 staging and triggers, introducing extra cost and operational overhead beyond Firehose's built-in Lambda transformation. It is tempting because Glue handles complex schema conversion, and would be correct for heavy joins or format changes Firehose cannot perform.

  • ✗

    Use Kinesis Data Firehose with direct PUT to Redshift and rely on Redshift's COPY command to transform.

    Why it's wrong here

    Firehose direct PUT delivers records as-is, and Redshift COPY cannot reshape arbitrary JSON into a target schema, so the transformation requirement goes unmet. It is tempting because COPY with a JSONPaths file loads well-formed JSON, and would be correct when records already match the table structure.

  • ✓

    Configure a Lambda function in the Firehose delivery stream to transform records before delivery.

    Why this is correct

    Firehose invokes a Lambda function inline to transform each JSON record before loading, so no intermediate storage or separate processing cluster is needed. This satisfies the least-operational-overhead and cost-effectiveness constraints, since you pay only per invocation.

  • ✗

    Use the Kinesis Client Library (KCL) to consume the stream, transform in an EC2 instance, and then load to Redshift.

    Why it's wrong here

    KCL requires you to run and scale EC2 consumers, manage checkpoints in DynamoDB, and handle Redshift loading yourself, adding operational overhead and compute cost. It suits custom stream processing with sub-second latency or non-Firehose destinations, not managed delivery with in-flight Lambda transformation.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

About these practice questions

This DEA-C01 question is part of Courseiva's 1,321-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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 DEA-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 DEA-C01 exam.