Courseiva
Data Operations and Support →mediumMultiple Choice

DEA-C01 Data Operations and Support Practice Question

A data engineer is using AWS Step Functions to orchestrate a data pipeline that includes an AWS Glue job, an Amazon EMR step, and an Amazon Redshift stored procedure. The engineer needs to ensure that if the AWS Glue job fails, the pipeline retries the job up to three times before failing the entire execution. Which Step Functions state should the engineer use to implement this retry logic?

⚠ Common exam trap

Test-takers frequently confuse retry mechanisms with error handling states like Catch or Parallel, which serve different purposes and do not provide per-task retry counts.

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

✓

Task state with a Retry field configured with MaxAttempts set to 3.

AWS Step Functions Task states support a Retry field that allows you to specify retry behavior for a task, including the maximum number of attempts. By setting MaxAttempts to 3, the state machine will automatically retry the AWS Glue job up to three times if it fails. This is the standard and recommended way to implement retry logic for individual tasks.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Wait state with a Retry field to pause and then retry.

    Why it's wrong here

    A Wait state delays execution for a specified time. It does not execute tasks and cannot retry a failed task. While you could combine a Wait state with a Catch to implement a custom retry loop, Step Functions provides native retry functionality on Task states, which is simpler and more appropriate. A Wait state alone cannot achieve the required retry logic.

  • ✗

    Map state with a Retry field to iterate over the Glue job.

    Why it's wrong here

    A Map state is used to iterate over an array of items, running a set of steps for each item. It can have a Retry field, but that would retry the entire Map state, not a single Glue job. Since the requirement is to retry the Glue job specifically, a Map state is not appropriate unless the job is part of an iteration, which is not indicated.

  • ✓

    Task state with a Retry field configured with MaxAttempts set to 3.

    Why this is correct

    In AWS Step Functions, a Task state can include a Retry field that specifies the number of retry attempts and the interval between them. Setting MaxAttempts to 3 will retry the task up to three times upon failure. This is the correct way to implement retry logic for a specific task, such as the AWS Glue job, within the state machine.

  • ✗

    Parallel state with a Catch field to handle failures.

    Why it's wrong here

    A Parallel state is used to execute multiple branches concurrently. While it can have a Catch field to handle errors, it does not provide retry logic for individual tasks. Using Parallel would not directly implement retries for the AWS Glue job; it would complicate the workflow. Retries are configured on Task states, not Parallel states.

About these practice questions

One of 1,321 original DEA-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 and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint

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.