PDE Ingesting and Processing the Data Practice Question
Your team uses dbt to transform data in BigQuery. You need to schedule dbt runs to refresh materialized tables and views every hour. The transformations include both full refreshes and incremental models. What is the most efficient way to orchestrate these dbt runs on Google Cloud?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Use Cloud Composer (Airflow) to schedule and run dbt commands.
Cloud Composer (Airflow) is the recommended orchestration tool for complex workflows like dbt runs, supporting dependencies, retries, and scheduling. Cloud Scheduler alone cannot run dbt directly; it can trigger a Cloud Function to run dbt, but that is less maintainable. Cloud Build is CI/CD, not scheduling. Using a cron job on Compute Engine is possible but not managed.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Use Cloud Composer (Airflow) to schedule and run dbt commands.
Why this is correct
Cloud Composer runs Airflow DAGs that invoke dbt commands, giving dependency management, retries and hourly scheduling across both full-refresh and incremental models. Airflow's operators orchestrate the dbt runs and surface failures, which raw cron or Cloud Scheduler cannot manage as cleanly.
- ✗
Use Cloud Build with a trigger to run dbt every hour.
Why it's wrong here
Cloud Build triggers fire on repository events such as commits or tags, not on a recurring hourly timetable, so nothing initiates the dbt runs on schedule. It is tempting because Cloud Build genuinely suits CI/CD pipelines that execute dbt on code changes, which is a different requirement from time-based orchestration.
- ✗
Use Cloud Scheduler to trigger a Cloud Function that runs dbt.
Why it's wrong here
Cloud Scheduler plus a Cloud Function executes dbt in a short-lived serverless runtime with a timeout ceiling, unsuitable for long full refreshes and incremental runs. It is tempting because it is fully managed and event-driven, and would suit lightweight, short-lived scheduled tasks.
- ✗
Set up a cron job on a Compute Engine instance to run dbt.
Why it's wrong here
A Compute Engine cron job runs dbt on a persistent VM, requiring manual scheduling, credential handling and no native retry or dependency orchestration. It is tempting because cron is familiar and works for simple scripts, and would suit a one-off batch job outside a managed pipeline.
Go deeper
Related to this question
About these practice questions
This PDE question is part of Courseiva's 747-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PDE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PDE exam.