Featured resource
2026 Tech Forecast
2026 Tech Forecast

1,500+ tech insiders, business leaders, and Pluralsight Authors share their predictions on what’s shifting fastest and how to stay ahead.

Download the forecast
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
Labs

Cloud Composer Orchestration and Failure Recovery

Globomantics publishes daily revenue with a Cloud Composer pipeline, and a single transient error from the partner rates API fails the whole run, so someone reruns the job by hand. In this lab, you will run the workflow and identify the failing task, configure bounded retries with exponential backoff for that task, set up a Cloud Monitoring alert that signals each failed attempt, rerun the workflow under the same failure, and verify in BigQuery that the published data matches finance's control totals.

Lab platform
Lab Info
Level
Advanced
Last updated
Dec 04, 2026
Duration
1h 0m

Contact sales

By clicking submit, you agree to our Privacy Policy and Terms of Use, and consent to receive marketing emails from Pluralsight.
Table of Contents
  1. Challenge

    Run the workflow and identify the failing task
    1. Open the Airflow UI for the orders-composer environment and review the tasks and dependencies of the orders_daily_revenue DAG.
    2. Trigger a run and find the task that fails and the tasks it blocks.
    3. Read the failing task's log and decide whether the error is transient.
    4. Confirm that the failed run published nothing to the reporting table.

    At the end of this objective, you'll know which task fails, why it fails, and what the failure costs the pipeline.

  2. Challenge

    Configure bounded retry and recovery for that task
    1. Open the DAG file from the environment's DAGs folder.
    2. Give only fetch_fx_rates bounded retries with exponential backoff and a time limit.
    3. Save the DAG to the DAGs folder and confirm that Airflow loaded the new settings.

    At the end of this objective, you'll have a task that retries a transient error a bounded number of times before it gives up.

  3. Challenge

    Configure an operational signal for the failure
    1. Create a Cloud Monitoring alerting policy on the Composer task metric for failed attempts of fetch_fx_rates.
    2. Review the policy so that it fires on a failed attempt even when a later retry succeeds.

    At the end of this objective, you'll have an alert that signals each failed attempt, even when the run recovers.

  4. Challenge

    Rerun the workflow under the same failure
    1. Trigger a new run while the rates API still fails the first requests of each batch.
    2. Follow fetch_fx_rates through its retries until it succeeds.
    3. Confirm that the downstream tasks run after the recovery and that the run succeeds.
    4. Confirm that the alerting policy opened an alert for the failed attempts.

    At the end of this objective, you'll have seen the workflow recover by itself from the same failure that stopped it before.

  5. Challenge

    Verify the pipeline reaches the expected final data state
    1. Query the reporting table for the business date and compare it with finance's control totals.
    2. Confirm that no order was published twice.
    3. Confirm that the DAG's own control check passed.

    At the end of this objective, you'll have evidence that the recovered run published complete and correct data.

About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight