Skip to content

Automating and orchestrating ingestion jobs with Composer or Workflows

Cloud Composer (managed Apache Airflow) and Cloud Workflows are the two primary GCP services for orchestrating data pipelines and automating job dependencies. Composer excels at complex, DAG-based workflows with rich scheduling and dependency logic across many services, while Workflows is a lightweight, serverless orchestrator ideal for simple, fast, event-driven sequences of HTTP/API calls.

1 · Learn the must-know

  • Cloud Composer runs on GKE and uses Python-defined DAGs (Directed Acyclic Graphs) to orchestrate tasks across GCP and external services, making it ideal for complex ETL/ELT pipelines with many interdependent steps.
  • Cloud Workflows is fully serverless (no infrastructure to manage), defined in YAML/JSON, and is best suited for simpler, low-latency orchestration like chaining API calls, Cloud Functions, or Cloud Run services.
  • Composer has higher latency and cost overhead (always-on environment) compared to Workflows, which only incurs cost per execution step, so choose Workflows for lightweight automation and Composer for heavy, scheduled batch orchestration.
  • Cloud Composer integrates natively with GCP operators (BigQueryOperator, DataflowOperator, DataprocOperator, etc.) via Airflow provider packages, simplifying orchestration of native GCP data services.
  • Cloud Scheduler is often used alongside Workflows or Cloud Functions for simple cron-based triggering, whereas Composer has its own internal scheduler for DAG-based timing.
  • A common gotcha: Composer environments require careful version compatibility between Airflow, Composer image versions, and Python dependencies, and upgrades can cause DAG breakage if not tested.

2 · Check your understanding

Check this objectiveFree · always available

A data engineering team runs a Cloud Composer environment where a DAG includes a task using GCSObjectExistenceSensor in the default poke mode to wait for an upstream file that sometimes takes several hours to arrive. They notice this single task occupies a worker slot for the entire wait, which delays other scheduled DAGs because no workers are free. What should they change to resolve the worker starvation while still efficiently waiting for the file?

Your objective map0 tried · 0 answered correctly · 67 untouched

What you have tried across GCP PDE's objectives, not a readiness score.

Designing data processing systems~22% of the exam0 of 17 tried
Ingesting and processing the data~25% of the exam0 of 11 tried
Storing the data~20% of the exam0 of 13 tried
Preparing and using data for analysis~15% of the exam0 of 11 tried
Maintaining and automating data workloads~18% of the exam0 of 15 tried

3 · Keep going