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.
1 · Learn the 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.
2 · Check your understanding
A data engineering team is building a pipeline that must: load raw files from Cloud Storage into BigQuery, run a transformation query, and only after both succeed, trigger a Dataproc job to export the results. The steps must run in strict order, and the team needs to visualize dependencies and retry individual steps independently. Which service should they use to orchestrate this pipeline?
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
Ready for more? Take a weighted mock or try free practice questions.