nerdexam
Amazon

DEA-C01 · Question #89

A data engineer must build an extract, transform, and load (ETL) pipeline to process and load data from 10 source systems into 10 tables that are in an Amazon Redshift database. All the source…

The correct answer is B. Use an Amazon EventBridge rule to invoke an AWS Glue workflow job every 15 minutes. D. Configure an AWS Lambda function to invoke an AWS Glue workflow when a file is loaded into. To process diverse file types into Redshift every 15 minutes, handle schema changes, and manage diverse file sizes, AWS Glue workflows are ideal, triggered by either a time-based EventBridge rule or an S3 event-driven Lambda function.

Data Ingestion and Transformation

Question

A data engineer must build an extract, transform, and load (ETL) pipeline to process and load data from 10 source systems into 10 tables that are in an Amazon Redshift database. All the source systems generate .csv, JSON, or Apache Parquet files every 15 minutes. The source systems all deliver files into one Amazon S3 bucket. The file sizes range from 10 MB to 20 GB. The ETL pipeline must function correctly despite changes to the data schema. Which data pipeline solutions will meet these requirements? (Choose two.)

Options

  • AUse an Amazon EventBridge rule to run an AWS Glue job every 15 minutes. Configure the AWS
  • BUse an Amazon EventBridge rule to invoke an AWS Glue workflow job every 15 minutes.
  • CConfigure an AWS Lambda function to invoke an AWS Glue crawler when a file is loaded into the
  • DConfigure an AWS Lambda function to invoke an AWS Glue workflow when a file is loaded into
  • EConfigure an AWS Lambda function to invoke an AWS Glue job when a file is loaded into the S3

How the community answered

(63 responses)
  • A
    17% (11)
  • B
    71% (45)
  • C
    5% (3)
  • E
    6% (4)

Why each option

To process diverse file types into Redshift every 15 minutes, handle schema changes, and manage diverse file sizes, AWS Glue workflows are ideal, triggered by either a time-based EventBridge rule or an S3 event-driven Lambda function.

AUse an Amazon EventBridge rule to run an AWS Glue job every 15 minutes. Configure the AWS

An AWS Glue job typically processes a single, predefined task. For an ETL pipeline with 10 source systems, different file types, and schema changes, a single job is insufficient; a workflow is needed to orchestrate multiple jobs and crawlers.

BUse an Amazon EventBridge rule to invoke an AWS Glue workflow job every 15 minutes.Correct

An Amazon EventBridge rule scheduled every 15 minutes can reliably trigger an AWS Glue workflow. An AWS Glue workflow can orchestrate multiple AWS Glue jobs and crawlers, allowing it to process different file types (.csv, JSON, Parquet), handle large file sizes, and manage schema evolution with crawlers, then load data into Redshift in a structured and resilient manner.

CConfigure an AWS Lambda function to invoke an AWS Glue crawler when a file is loaded into the

Invoking an AWS Glue crawler when a file is loaded only updates the Data Catalog schema; it does not perform the extract, transform, and load operations required for the full ETL pipeline.

DConfigure an AWS Lambda function to invoke an AWS Glue workflow when a file is loaded intoCorrect

Configuring an AWS Lambda function to invoke an AWS Glue workflow when a new file is loaded into S3 provides an event-driven mechanism. This allows the ETL pipeline to react immediately to new data. Similar to the EventBridge trigger, the AWS Glue workflow provides the necessary orchestration for processing diverse file types, handling schema changes via crawlers, and loading data into Redshift for varying file sizes.

EConfigure an AWS Lambda function to invoke an AWS Glue job when a file is loaded into the S3

Invoking an individual AWS Glue job for each file upload is less efficient for managing a complex ETL process involving multiple source systems, schema evolution, and diverse file types compared to orchestrating these tasks within an AWS Glue workflow.

Concept tested: AWS Glue workflow orchestration

Source: https://docs.aws.amazon.com/glue/latest/dg/workflows-how-it-works.html

Topics

#AWS Glue#ETL Pipeline#Schema Evolution#Data Pipeline Orchestration

Community Discussion

No community discussion yet for this question.

Full DEA-C01 Practice