professional-cloud-data-engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
A data engineering team is deploying a critical daily data pipeline in Google Cloud Composer. The pipeline extracts transactional records, transforms them, and writes them to BigQuery.
The pipeline must satisfy the following operational resilience and error handling requirements:
Which configuration should you implement in the DAG definition?
This configuration leverages Apache Airflow's built-in resilience and callback mechanisms within Cloud Composer to manage task retries, cross-run dependencies, and terminal failure handling.
retries alongside retry_exponential_backoff=True ensures that if a task fails or is interrupted during Cloud Composer maintenance windows, Airflow retries the task while exponentially increasing the delay (retry_delay) between attempts to prevent hammering transiently degraded systems.wait_for_downstream=True enforces that a task in DAG run N cannot run until all tasks immediately downstream of that same task in DAG run N-1 have succeeded, maintaining strict pipeline integrity across consecutive runs.on_failure_callback hook triggers exclusively when a task reaches a terminal failed state (after all allotted retries have been exhausted), preventing premature alert noise during intermediate retries.This approach uses standard, declarative DAG parameters without requiring custom scheduling loops or external monitoring agents, providing a robust operational error handling posture.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.