Skip to content

Scheduling jobs so they run repeatably

Google Cloud offers multiple layers for scheduling and orchestrating repeatable data workloads, from simple time-based triggers to complex multi-step DAGs with dependencies. Choosing the right tool depends on complexity: Cloud Scheduler for simple cron-based triggers, Workflows for lightweight service orchestration, and Cloud Composer for complex, stateful pipeline orchestration with rich dependency management.

Must-know

  • Cloud Scheduler is a fully managed cron job service used to trigger HTTP endpoints, Pub/Sub messages, or App Engine tasks on a schedule, but it has no built-in concept of task dependencies or retries beyond simple retry configs.
  • Cloud Composer is Google's managed Apache Airflow service, ideal for orchestrating complex DAGs with task dependencies, backfills, SLAs, and sensors across multiple GCP and external services; it requires provisioning an environment (GKE-based) with ongoing cost even when idle.
  • Workflows is a serverless orchestrator best suited for chaining API calls and GCP service invocations with conditional logic and error handling, without the overhead of managing an Airflow environment, but it lacks Airflow's rich scheduling primitives like backfill and complex retry/dependency graphs.
  • For BigQuery-specific recurring transformations, scheduled queries provide a lightweight native option, but they cannot express dependencies on other jobs, which is where Composer or Workflows become necessary for multi-step pipelines.
  • Dataflow and Dataproc jobs can be triggered on a schedule via Cloud Scheduler, Workflows, or Composer, and Composer's Airflow operators (e.g., DataflowStartFlexTemplateOperator, DataprocSubmitJobOperator) are the standard way to manage their lifecycle including polling for completion and handling failures.
  • Idempotency and retry design matter more than tool choice: exam scenarios often test whether you design jobs to be safely re-runnable (e.g., using partitioned overwrite in BigQuery, deterministic file naming in GCS) so orchestrators can retry without duplicating or corrupting data.

Coverage checked against the published exam guide on Aug 11, 2026.

These are independent practice questions, written against this certification's published exam guide. They are not the certification vendor's own questions, and not the real exam.