Building CLV Models with BigQuery ML in Vertex AI Workbench
Short answer
D Create a Vertex AI Workbench notebook to perform exploratory data analysis, use IPython magics to create input features and the model, and validate results within the same environment.
Question
Key Takeaways
The trap is confusing 'simplest' with 'AutoML' or 'Console-only'; the correct path integrates EDA, modeling, and viz into one notebook workflow using BQML SQL statements.
To build a Customer Lifetime Value model simply with visualization capabilities, use Vertex AI Workbench notebooks to run BigQuery ML commands directly via IPython magics.
Common mistake: Choosing Option B because AutoML is perceived as simpler, but it fails the visualization requirement and misapplies the `CREATE MODEL` syntax for AutoML workflows.
Expert Analysis
The question imposes two primary constraints: the model must be built using the simplest approach, and the user requires access to visualization tools.
First, analyze the modeling approach. The prompt specifies using BigQuery ML (BQML). BQML offers two main modes: standard SQL CREATE MODEL statements and AutoML tables. While AutoML is often considered 'simple' for feature engineering, it does not support direct prediction of Customer Lifetime Value (CLV) via standard BQML AutoML interfaces in the same straightforward manner as regression models created via SQL. More importantly, Option B suggests running CREATE MODEL from the console to create an AutoML model. This phrasing is technically contradictory; you do not run CREATE MODEL SQL commands to trigger AutoML UI workflows. Furthermore, the BigQuery Console itself lacks native, comprehensive visualization tools for EDA or model inspection compared to a notebook environment.
Next, evaluate the workflow simplicity and visualization requirements. Options A, C, and D all involve Vertex AI Workbench notebooks. Notebooks provide powerful visualization libraries (Matplotlib, Seaborn), satisfying the 'access to visualization tools' constraint. Option C involves exporting data to CSV and re-importing, which adds unnecessary complexity and latency, violating the 'simplest approach' constraint.
Between A and D, we look at the execution flow. Option A separates the feature creation (%%bigquery magic to create a table) from the model training (CREATE MODEL in the console). This splits the workflow between the notebook and the web console. Option D keeps the entire lifecycle—EDA, feature creation via IPython magics, model training via CREATE MODEL, and validation via ML.EVALUATE/ML.PREDICT—within the single Vertex AI Workbench notebook environment. Community comments highlight that this centralized workflow is cleaner and easier to reproduce. By keeping everything in the notebook, you leverage the visualization tools throughout the process without context-switching to the BigQuery Console UI, making it the most streamlined and integrated solution for the stated goals.
Exam Strategy
When questions ask for the 'simplest' approach involving BigQuery ML, always check if 'AutoML' is a viable option for the specific task (e.g., classification vs. regression). If the question emphasizes 'visualization' and 'workflow integration', prefer Vertex AI Workbench notebooks over raw console commands, as they combine EDA, coding, and SQL execution in one interface. Avoid options that require moving data out of BigQuery (like CSV exports) unless explicitly required, as these add complexity.
Frequently Asked Questions
Does BigQuery Console have built-in visualization tools?
Why not use AutoML for Customer Lifetime Value?
Community Votes
46% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 18 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 18
-
rcapj 👍 6D Vertex AI Workbench notebook: Provides an environment for data analysis, model building, and visualization tools all in one place. IPython magics: Allows seamless interaction with BigQuery for data exploration and feature creation directly within the notebook. CREATE MODEL statement: Enables model creation within the notebook environment, simplifying the workflow. ML.EVALUATE and ML.PREDICT statements: Facilitate model validation directly within the notebook for assessing performance.
-
pertoise 👍 6Option B because there's no mention of "flexibility". Easy access to viz tools with Looker
-
omermahgoub 👍 3B. Use Bigquery ML Features to create, evaluate and predict
-
Antmal 👍 2 Answered DI think D is the best and simplest approach. Here’s why: 1. Centralised Workflow: Everything from data exploration to model validation happens within a single Vertex AI notebook. This is clean, organised, and easily reproducible. 2. Powerful Visualisations: Notebooks allow you to use powerful Python libraries like Matplotlib, Seaborn, and Plotly for rich, interactive EDA. 3. Seamless BigQuery Integration: Using IPython magics (e.g., %%bigquery) allows you to run SQL queries directly on your BigQuery data from within the notebook, making it easy to create feature tables, train models (CREATE MODEL), and evaluate them (ML.EVALUATE) without ever leaving the notebook environment.
-
OpenKnowledge 👍 2 Answered DAlthough option B provides the simplest model (i.e., AutoML), it doesn't provide a visualization tool; because BigQuery ML itself does not have a built-in, comprehensive visualization tool for exploring models or their results. However, it integrates seamlessly with various visualization tools within the Google Cloud ecosystem and beyond. So, B is not an option for it. The other three options uses Vertex AI Workbench which will have access to comprehensive Visualization tools. Among the three options, D is the simplest approach which uses iPython magics (or simply, magics) for interactive shell
Show 13 more comments
-
pikachu007 👍 2 Answered AOption B: While AutoML simplifies model selection and training, it lacks the flexibility and visualization capabilities of Vertex AI Workbench. Option C: Manually saving features as CSV files and importing them back into BigQuery involves unnecessary data movement and complexity. Option D: Completing all steps within the notebook is possible but requires more coding and might not be as intuitive for those less familiar with BigQuery ML syntax.
-
LaxmanTiwari 👍 2 Answered BAs requested :" simplest approach", the option B is the best choice.
-
andymetzen 👍 2Option D is the answer given by an official Google trainer.
-
b1a8fae 👍 2Simplest approach that allows visualization is option B.
-
Dirtie_Sinkie 👍 2 Answered DGoing for D
-
lance_yu 👍 1 Answered DThe question specifically mentions: want to have access to visualization tools A Vertex AI Workbench notebook provides: Exploratory Data Analysis (EDA) Charts and visualizations (Pandas, Matplotlib, Plotly) Direct BigQuery integration through IPython magics (%%bigquery) Ability to create and evaluate BigQuery ML models from the notebook This combines: Visualization Feature engineering Model training Model evaluation in one environment.
-
Wuthuong1234 👍 1 Answered BThe correct answer is probably B. AutoML does the feature engineering for you, so it requires the least amount of effort. For all other options, you have to do the exploration and feature engineering yourself, which will take a lot of time. In a real world scenario you'd expect to do a bit of EDA to identify and deal with missing values and to check the data quality though... even if you go for the B option.
-
NithishReddyNY 👍 1 Answered DOption D provides the best balance of simplicity and meeting all requirements. It allows for visualization and EDA in Vertex AI Workbench and uses the simplest modeling approach (BQML via SQL commands) executed directly from the notebook environment using IPython magics, creating a cohesive and straightforward workflow.
-
8c200dd 👍 1 Answered Bin question the said simple implementation, so ML.EVALUATE and ML.PREDICT
-
winston9 👍 1 Answered Ball the other options create a new BQ table, I don't think it's needed.
-
tardigradum 👍 1Simple training and integration with visualization tools = BQ
-
nnn245bbb 👍 1 Answered DBased on ChatGPT answer
-
b1a8fae 👍 1 Answered BForgot to vote.
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 →