Retraining a BigQuery ML model weekly with scheduled queries
Short answer
A Schedule the BigQuery ML retraining query with BigQuery's built-in scheduled queries to retrain the linear regression model weekly at minimal effort and cost.
Question
Key Takeaways
The test is recognizing that a BigQuery ML retraining job is just a SQL statement, so BigQuery's native scheduled query satisfies both the "minimize development effort" and "minimize scheduling cost" constraints — the trap is reaching for orchestration services that add code, deployment, and billing layers.
This PMLE question asks how to retrain a BigQuery ML linear regression model on cumulative weekly data while minimizing development effort and scheduling cost. The correct answer is A: use BigQuery's built-in scheduled query service to run the CREATE OR REPLACE MODEL query on a weekly cadence.
Common mistake: Option B (Vertex AI Pipelines plus Cloud Scheduler) is the most tempting trap because pipelines look like the "proper" MLOps answer, but it demands a hand-authored DAG, extra execution charges, and a second scheduling layer — maximizing exactly the effort and cost the question asks you to minimize.
Expert Analysis
Read the qualifiers first. The question asks for a retraining job for an existing BigQuery ML linear regression model on cumulative weekly data, and it constrains the choice twice: "minimize the development effort" and "minimize the scheduling cost." Those two qualifiers, not model accuracy, decide the answer. The answer must be the option with the fewest moving parts and the cheapest scheduler.
Option A fits both constraints. BigQuery's built-in scheduled queries let you save the CREATE OR REPLACE MODEL SQL and have BigQuery run it on a weekly cadence. Nothing is deployed, no code is written, and the only recurring charge is the query bytes you would process anyway — the scheduling itself adds essentially no extra cost. This is exactly "retrain the model with minimal development effort and minimal scheduling cost."
Option B fails both. Vertex AI Pipelines requires authoring a pipeline DAG (KFP components, a pipeline runner, orchestration service account, and a pipeline execution charge on top of the query), and Cloud Scheduler then has to invoke it. That is maximum development effort and maximum scheduling cost — the opposite of what the question requests.
Option C fails on cost and effort. Cloud Scheduler firing a Cloud Function means a new function, packaging, IAM bindings, a scheduler target, and separate per-invocation billing layers. More moving parts than a scheduled query, for the identical outcome.
Option D fails the same way. BigQuery API Connector plus Workflows plus Cloud Scheduler is a three-service orchestration chain with connector and workflow-execution charges. It is designed for cross-service orchestration, not a single weekly SQL job.
So the wording "minimize the development effort and the scheduling cost" eliminates B, C and D one by one: each adds at least one extra deployed service with its own code and its own billing line. A is the only option that adds neither code nor a new billed component. Community reasoning independently lands on A for the same reasons: no additional setup, no custom code, no new dependencies, and the built-in scheduler in the BigQuery interface.
Official Reference
- https://cloud.google.com/bigquery/docs/scheduling-queries
- https://cloud.google.com/bigquery/docs/running-queries
These links open the official vendor documentation in a new tab.
Exam Strategy
On PMLE cost-and-effort questions, treat "minimize development effort" and "minimize scheduling cost" as elimination filters: strike every option that introduces a new deployed service, a new billing line, or custom code. When the workhorse resource already has a native scheduler (BigQuery scheduled queries, Pub/Sub-triggered jobs, Eventarc), prefer it over bolting on Cloud Scheduler plus a function, workflow, or pipeline. Only choose the heavier orchestration option when the question explicitly asks for multi-step, cross-service, or reusable pipeline logic.
Frequently Asked Questions
Why not use Vertex AI Pipelines to retrain a BigQuery ML model?
How does a BigQuery scheduled query retrain a linear regression model?
Does BigQuery's scheduled query incur extra scheduling charges?
Community Votes
100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 5 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 5
-
daidai75 👍 7 Answered ANo additional setup: BigQuery's scheduling feature is built-in, eliminating the need to create pipelines, functions, or workflows. Straightforward configuration: Setting up a schedule for a query is a simple process within the BigQuery interface.
-
pikachu007 👍 3 Answered AOption B: Vertex AI Pipelines offer flexibility for complex workflows, but it involves more development effort and potential costs for pipeline execution. Option C: Cloud Functions provide a serverless way to execute code, but they incur execution costs and require additional configuration for triggering and permissions. Option D: Workflows can manage complex orchestration, but configuring the BigQuery API Connector and Cloud Scheduler adds complexity and potential costs.
-
b1a8fae 👍 3 Answered ANo-brainer A.
-
AzureDP900 👍 2A is right Using BigQuery's scheduling service allows you to automate the retraining process without needing to write custom code or manage additional dependencies.
-
taylz876 👍 1 Answered AWhy A is right • Minimal development effort: you already have a BigQuery ML model, and retraining is just a SQL query (CREATE OR REPLACE MODEL on the latest cumulative data). A scheduled query runs that query on a timetable, with no code, no extra services and no orchestration. • Minimal scheduling cost: a scheduled query is built into BigQuery. You pay for the query itself, as you would anyway, and there's no extra scheduler, function or workflow to pay for. • Weekly: scheduled queries can run on a regular schedule such as every week. Why the others are wrong • B: A Vertex AI pipeline plus the Cloud Scheduler API adds pipeline infrastructure for something a single query does. That's more effort and more cost. • C: Cloud Scheduler plus a Cloud Function means writing, deploying and maintaining a function just to run one query. • D: The BigQuery API Connector, Cloud Scheduler and Workflows is the most complicated chain, with three services to configure and pay for.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All PMLE Questions
Access 65 questions with complete answers and detailed explanations.
View Full PMLE Practice Test →