Skip to main content

Question 219

You orchestrate ETL pipelines by using Cloud Composer. One of the tasks in the Apache Airflow directed acyclic graph (DAG) relies on a third-party service. You want to be notified when the task does not succeed. What should you do?

  • A. Assign a function with notification logic to the on_retry_callback parameter for the operator responsible for the task at risk.
  • B. Configure a Cloud Monitoring alert on the sla_missed metric associated with the task at risk to trigger a notification.
  • C. Assign a function with notification logic to the on_failure_callback parameter tor the operator responsible for the task at risk.
  • D. Assign a function with notification logic to the sla_miss_callback parameter for the operator responsible for the task at risk.

https://airflow.apache.org/docs/apache-airflow/stable/administration-and-deployment/logging-monitoring/callbacks.html