AWS Certified Data Engineer Associate 2026 - Hands On!

Managing and Orchestrating AWS ETL Pipelines

Learn how ETL and ELT pipelines extract, transform, and load data while handling integrity, timing, missing values, failures, and AWS orchestration services.

AWS Certified Data Engineer Associate 2026 - Hands On!AWS Certified Data Engineer Associate 2026 - Hands On!Updated Aug 17, 2026
Study options
WatchComing later
ListenComing later
ReadAvailable
ReviewComing later

Study guide

Technical reference and lesson notes

Managing and Orchestrating ETL Pipelines

Purpose of This Lesson

ETL pipelines move data from one or more source systems into a target data warehouse or repository. The core process is extract, transform, and load, but production-quality pipelines must also address data integrity, timing, failure handling, missing values, and orchestration.

For data lakes, the same activities are commonly described as ELT: extract, load, and transform. The difference is primarily when transformation occurs. Data warehouses generally transform data before loading it into the target structure, while data lakes may retain raw data and transform it later, often on demand.

Key Concepts

Extract

Extraction retrieves raw data from source systems such as:

  • External databases
  • Customer relationship management systems such as Salesforce
  • Flat files and log files
  • APIs
  • Other data repositories

Extraction is more than simply reading records. The pipeline must preserve data integrity and define how it handles failures, including whether failed API calls are retried and how frequently retries occur.

Extraction timing is also a design decision. Data may be collected in:

  • Real time, as data is generated
  • Near real time, within a short delay
  • Batch intervals, such as nightly or weekly loads

The appropriate choice depends on how quickly the data is generated, how it will be queried, and how current the analysis must be.

Transform

Transformation converts raw extracted data into a form suitable for the target system. Common transformations include:

  • Cleansing erroneous data
  • Removing duplicates
  • Imputing or otherwise handling missing values
  • Enriching data with information from other sources
  • Combining multiple extractions
  • Converting strings into dates or other appropriate data types
  • Converting text into integers, binary data, or other representations
  • Calculating aggregates such as totals and averages
  • Encoding or decoding data
  • Decrypting data when required before it can be used
  • Compressing, decompressing, or changing storage formats

Missing-value handling must follow the data requirements. Possible approaches include dropping invalid rows, inserting a placeholder or imputed value, or rejecting the records and producing a report for follow-up.

Load

Loading moves transformed data into the target data warehouse or repository. Loads may be performed as scheduled batches or as streaming/real-time writes.

The load strategy depends on data volume, data velocity, and how quickly analysts or applications need access to the results. Load integrity is essential: write failures, backed-up systems, and other problems must be detected and handled so data is not silently lost.

Orchestration

A pipeline contains multiple dependent steps. Orchestration coordinates those steps so that they run in the correct order, on the correct schedule, and in response to the appropriate events.

AWS services identified in this lesson include:

  • AWS Glue: Can perform ETL or ELT and can respond when data is received or when relevant events occur. Glue also supports workflows for coordinating Glue-related processing.
  • Amazon EventBridge: Provides event-oriented orchestration and can initiate processing in response to events.
  • Amazon Managed Workflows for Apache Airflow: A managed orchestration option based on Apache Airflow.
  • AWS Step Functions: A workflow orchestration service for coordinating steps.
  • AWS Lambda: Can execute processing or coordination logic as part of a pipeline.

The central distinction is that ETL or ELT performs the data work, while orchestration manages when and how the work proceeds across multiple steps.

ETL and ELT Design Context

The same extraction, transformation, and loading concerns exist in both warehouses and lakes, but the order and timing differ:

PatternTypical sequenceTransformation emphasis
ETLExtract → Transform → LoadPrepare data before writing it to the warehouse or target repository
ELTExtract → Load → TransformPreserve or load data first, then transform it later or on demand

The choice is driven by target architecture and requirements rather than by the labels alone. In either pattern, the pipeline must account for source diversity, data quality, format conversion, missing data, processing velocity, and failure recovery.

Exam- or Assessment-Relevant Takeaways

  • Recognize ETL as extract, transform, load, and ELT as the same operations with transformation and loading reversed.
  • Match extraction and loading modes to data volume, velocity, and freshness requirements.
  • Do not treat extraction as a simple read operation: failed API calls, retries, and data integrity are part of the design.
  • Identify cleansing, deduplication, enrichment, type conversion, aggregation, encoding/decoding, and missing-value handling as transformation activities.
  • Missing data does not have one universally correct solution. Dropping rows, imputing values, or rejecting records depends on the requirements.
  • Loading must detect failed writes and backed-up destinations; silently losing records is unacceptable.
  • Distinguish data-processing services from orchestration services. Glue can perform ETL/ELT, while EventBridge, Managed Workflows for Apache Airflow, Step Functions, Lambda, and Glue workflows can coordinate pipeline activity.
  • When evaluating a pipeline scenario, first identify the required freshness and data-quality behavior, then select the processing and orchestration approach.

Tool / Feature Decision Guide

Requirement or situationRelevant choiceDecisive consideration
Data must be processed as it arrives or after an arrival eventAWS Glue with event-driven processing, potentially coordinated by EventBridge or another workflow serviceThe trigger is an incoming data event rather than only a fixed schedule
A pipeline has several ordered and dependent stepsStep Functions, Managed Workflows for Apache Airflow, or AWS Glue workflowsThe primary need is reliable coordination and sequencing
A small piece of custom processing or coordination is neededLambda as part of the pipelineThe pipeline needs executable logic in addition to other services
Data can be processed on a nightly or weekly scheduleBatch extraction and loadingThe analysis does not require immediate data availability
Data must be available with minimal delayReal-time or near-real-time extraction and loadingFreshness requirements outweigh the simplicity of periodic batches
A required column cannot contain nullsDrop, impute, or reject affected records according to the requirementData-quality policy determines the correct response; there is no automatic universal answer
Data is intended for a data warehouseETL is the commonly described sequenceTransformation occurs before loading into the target structure
Raw data should be retained and transformed laterELT is the commonly described sequenceLoading precedes transformation, often allowing later or on-demand processing

Common Traps / Misconceptions

  • ETL and ELT are not different sets of operations. Both involve extraction, transformation, and loading; the sequence differs.
  • Transformation is not limited to changing columns. It can include cleansing, deduplication, enrichment, aggregation, encoding, decoding, and missing-data decisions.
  • Batch is not automatically better. Real-time, near-real-time, and batch modes must be selected based on freshness, volume, velocity, and query requirements.
  • Missing values should not always be replaced with a default. A placeholder may be inappropriate; records may need to be dropped or rejected instead.
  • A successful extraction does not guarantee a successful pipeline. The load stage can still fail because writes fail or the destination becomes backed up.
  • AWS Glue and orchestration services are not interchangeable concepts. Glue can perform ETL/ELT, while orchestration coordinates steps, schedules, and event-driven execution.
  • Ignoring failed API calls or writes creates silent data loss. Retry and failure-handling policies must be explicit.

Real-World Engineer / Analyst Notes

  • Start with freshness and query requirements before choosing batch, near-real-time, or real-time processing.
  • Treat source interfaces as unreliable dependencies. API failures, malformed data, duplicates, and inconsistent formats should be expected and observable.
  • Define the contract for invalid or incomplete records before implementation. Decide whether to repair, enrich, impute, drop, or reject them, and preserve enough reporting to investigate rejected data.
  • Validate integrity at both boundaries: during extraction from the source and during loading into the target.
  • Separate pipeline responsibilities conceptually: processing changes the data, while orchestration controls dependencies, order, schedules, and event responses.
  • Consider the data’s eventual use when deciding how much transformation to perform up front. A warehouse-oriented design may require prepared data before loading, while a lake-oriented ELT design may defer some transformations.

Quick Reference Summary

  • E — Extract: Retrieve raw data from databases, CRM systems, files, APIs, or repositories while protecting integrity and defining retry behavior.
  • T — Transform: Clean, deduplicate, enrich, reformat, type-convert, aggregate, encode/decode, and handle missing values.
  • L — Load: Write processed data to the target warehouse or repository in batches or continuously, while detecting write failures and backups.
  • ETL: Transform before loading, commonly associated with data warehouse processing.
  • ELT: Load before transforming, commonly associated with data lake processing.
  • Orchestration: Coordinates pipeline order, schedules, dependencies, and event responses.
  • AWS services: AWS Glue, EventBridge, Amazon Managed Workflows for Apache Airflow, AWS Step Functions, Lambda, and Glue workflows can participate in pipeline automation and coordination.
  • Primary design drivers: Data volume, data velocity, freshness requirements, data quality rules, and failure-handling needs.

Flashcards

Q: A pipeline receives data from Salesforce, an external database, and log files. Which ETL phase interfaces with these systems, and what additional concern must be addressed beyond retrieval?

A: The extract phase interfaces with the source systems. It must also preserve data integrity and define behavior for failures such as unsuccessful API calls.

Q: When would a nightly batch extraction be more appropriate than real-time extraction?

A: Use a batch approach when the analysis does not require immediate updates and the data volume, velocity, and query requirements can be satisfied by periodic processing.

Q: What is the defining sequence difference between ETL and ELT?

A: ETL transforms data before loading it, while ELT loads extracted data before transforming it, often allowing transformation later or on demand.

Q: A source stores dates as strings, but the target requires date-time values. Which pipeline phase should handle this change?

A: The transform phase should convert the string representation into the required date-time format before the data is written to the target when using ETL.

Q: A required column cannot contain nulls. What determines whether the pipeline should drop rows, impute values, or reject records?

A: The data-quality and business requirements determine the response. There is no universally correct missing-value strategy.

Q: Which transformation is appropriate when records from two source extractions must be combined before loading?

A: The transform phase can enrich or combine the extractions to produce the required target representation.

Q: What is the main operational risk if load failures are not monitored?

A: Data can be silently lost when writes fail or the destination backs up, leaving the target incomplete without an obvious indication.

Q: A pipeline contains several dependent steps that must run in order. What capability is required?

A: Orchestration is required to coordinate dependencies, ordering, schedules, and event-driven execution across the steps.

Q: How do AWS Glue and AWS Step Functions differ conceptually in a pipeline?

A: Glue can perform ETL or ELT processing, while Step Functions is an orchestration service used to coordinate workflow steps. They can be used together rather than treated as identical tools.

Q: When might EventBridge be relevant to an ETL pipeline?

A: EventBridge is relevant when processing should be initiated in response to an event, such as data becoming available, rather than only by a fixed schedule.

Q: What is the tradeoff between real-time and batch loading?

A: Real-time loading provides fresher data but may require more continuous processing and failure handling. Batch loading is periodic and may be simpler when immediate availability is unnecessary.

Q: Why can transformation include decoding or decompression rather than only cleansing?

A: Transformation converts raw input into a usable target representation, which can require decoding, decrypting, decompressing, or changing storage formats.

Q: What is the trap in assuming that every missing value should be imputed?

A: Imputation may violate the data requirements or introduce misleading information. The correct response could instead be dropping the row or rejecting it for investigation.

Q: Which broad factors should guide extraction and load timing decisions?

A: Consider data volume, data velocity, how quickly the data must be available for querying, and the overall analysis requirements.

Practice Questions

Question 1

A reporting team only refreshes its warehouse every morning. The source produces a large amount of data throughout the day, and immediate visibility is not required. Which approach best fits the stated requirements?

A. Real-time extraction and loading for every record
B. Near-real-time processing with no scheduled runs
C. Batch extraction and loading on a periodic schedule
D. Load first and transform only when an analyst queries the data

Correct answer: C. The stated freshness requirement is daily, so a periodic batch approach is appropriate. The decision is driven by the required availability of the data, not simply by the fact that the source produces data continuously.

Question 2

An API occasionally fails while a pipeline is extracting customer data. Which design response is most appropriate?

A. Ignore the failure and continue without recording it
B. Define a retry frequency and failure-handling policy
C. Convert the failed response into a null record automatically
D. Treat the load phase as responsible for recovering the missing source data

Correct answer: B. Extraction must protect data integrity and explicitly handle failed API calls, including whether and how often to retry.

Question 3

A data-quality rule states that a particular target column must not contain nulls. Some incoming records lack that field, and the business has not yet specified whether a default value is valid. What should the engineer do first?

A. Impute zero for every missing value
B. Drop every affected record without reporting it
C. Clarify the requirement and choose among dropping, imputing, or rejecting records accordingly
D. Load the nulls and repair them later regardless of the target rule

Correct answer: C. The correct handling depends on the requirements. The available strategies include dropping rows, imputing a placeholder, or rejecting records and reporting them.

Question 4

A workflow must respond when data arrives, run multiple processing steps in a specific order, and avoid silently losing records when a write fails. Which set of concerns is being addressed?

A. Only schema conversion
B. Only source extraction
C. Transformation and compression, but not orchestration
D. Event-driven orchestration plus integrity checks during loading

Correct answer: D. The arrival trigger and ordered execution require orchestration, while failed writes require load-stage integrity handling.

WordPress Metadata

Suggested Slug:
managing-orchestrating-aws-etl-pipelines

Meta Description:
Learn how ETL and ELT pipelines extract, transform, and load data while handling integrity, timing, missing values, failures, and AWS orchestration services.

Tags:
AWS Glue, ETL, ELT, data pipelines, data orchestration, AWS Step Functions, Amazon EventBridge, Apache Airflow, AWS Lambda, data warehouses, data lakes, data quality, batch processing, streaming data