Home › Certifications › GCP Professional ML Engineer › Low-Code AI — BigQuery ML and AutoML
20 multiple-choice questions and 9 flashcards on Low-Code AI — BigQuery ML and AutoML, about 7% of the GCP Professional ML Engineer bank. Every one carries a written rationale.
Low-Code AI — BigQuery ML and AutoML is one of 8 chapters in CoStudy's GCP Professional ML Engineer bank, and it holds 20 of the bank's 300 multiple-choice questions — roughly 7% of the total. That proportion is not arbitrary: chapters follow the certifying body's published exam outline, and the number of questions in each is set by that domain's published weight, so the share of your practice time this chapter takes matches the share of the real exam it accounts for.
Studying by chapter is worth doing once you have a diagnostic score. A single overall percentage tells you whether you are close; it does not tell you which domain is dragging. Working a weak chapter in isolation, and re-testing it in isolation, is the fastest way to move a score that has stalled — and it is why the mock exams in CoStudy report by domain rather than as one number.
5 questions drawn from this chapter, with the full rationale shown — the controlling principle behind the right answer, and why each wrong option tempts and fails.
An analytics team has 4 TB of retail transactions in BigQuery and needs a churn classifier within two days. Nobody on the team writes Python. The MOST appropriate first approach is to:
Answer: C — Create a logistic regression model in BigQuery ML with SQL over the existing table in place
C) Correct — BigQuery ML trains in place with SQL only, which fits a SQL-only team on data already in BigQuery and removes all export and infrastructure work. A) Exporting to a custom container is the right pattern when you need a bespoke architecture, but it demands Python skills the team lacks and adds days of setup. B) Ray targets distributed Python workloads; it solves a scale problem this team does not have and requires the most engineering. D) Sampling into a notebook still requires Python and discards data that BigQuery could use in full.
After training a BigQuery ML binary classifier on a dataset that is 2% positive, ML.EVALUATE reports accuracy of 0.98. The analyst should FIRST:
Answer: C — Inspect precision, recall and ROC AUC at the operating threshold instead
C) Correct — on a 2% positive base rate, predicting the majority class always yields 0.98, so accuracy carries no information; threshold-aware metrics reveal whether the model finds positives at all. A) Accepting it treats a degenerate baseline as a success. B) More trees optimizes a metric that is already uninformative. D) Downsampling negatives is a legitimate technique but it is premature — you first need to know whether a real problem exists, and undersampling distorts the calibration of predicted probabilities.
BigQuery ML is BEST suited for:
Answer: B — Modeling data already resident in BigQuery using SQL
A) Image work belongs in AutoML or custom training, not SQL. B) Correct — BigQuery ML runs regression, classification, clustering, time series and boosted trees through CREATE MODEL with no data movement. C) Not part of the BigQuery ML model catalog. D) Remote models can call an LLM, but BigQuery ML does not pre-train one.
A SQL-only analyst wants k-means clustering over a customer table. Best approach?
Answer: A — BigQuery ML CREATE MODEL with model_type='KMEANS'
A) Correct — K-means is a native BigQuery ML model type, trained and scored with SQL over the customer table. B) Requires Python the analyst does not write. C) Wrong modality entirely. D) A cluster is far more machinery than a single SQL statement needs.
A team uses BigQuery ML CREATE MODEL but wants to call PaLM 2 for text summarization. Correct construct?
Answer: A — ML.GENERATE_TEXT over a remote model wrapping the LLM
A) Correct — a remote model registers the hosted LLM endpoint inside BigQuery, and ML.GENERATE_TEXT then invokes it from SQL over a table. B) A numeric regression type cannot summarize text. C) Workable but leaves SQL entirely and loses set-based processing. D) Remote models exist precisely for this.
4 cards from the 9 in this chapter.
BigQuery for ML?
Data warehouse — store + query petabyte-scale data. BigQuery ML lets you train models with SQL.
When is managed AutoML the right choice over writing custom training code?
When the team needs a high-quality model on tabular, image, text or video data without ML engineering effort, and the value is in the result rather than in controlling the architecture. AutoML handles architecture search, feature engineering and tuning, at the cost of little control over the model internals.
BigQuery ML CREATE MODEL syntax basics?
CREATE MODEL `project.dataset.model` OPTIONS (model_type='LOGISTIC_REG') AS SELECT … . Use ML.PREDICT() to predict.
State the decision rule for choosing among BigQuery ML, AutoML and custom training.
BigQuery ML when the data already lives in BigQuery and the team works in SQL • AutoML when higher accuracy is needed on standard data types without ML code • custom training when you need a specific architecture, custom loss, unusual data or full control of the training loop. Move up the ladder only when the simpler option fails a requirement.
These are a sample. The full Low-Code AI — BigQuery ML and AutoML chapter runs 29 items with per-chapter progress tracking, on the web and in the iOS app.
Open GCP Professional ML Engineer in CoStudy →