Cloud Digital Leader free question 6 / 10 · Domain 3: Innovating with Google Cloud Artificial Intelligence
A team of data analysts is good at aggregating with SQL but has no experience writing ML programs in Python. It wants to build a churn prediction model without moving data out of the data warehouse. Which approach matches the Google Cloud documentation?
- Move the data to Cloud Storage and write code to build a prediction model
- Build the model with a SQL query in BigQuery ML without moving any data
- Export the data to CSV and train a prediction model in Python
- Pass SQL aggregation results to a BI tool and have people read the trends
Show the answer and explanation
Answer: B
Why this is correct
The BigQuery ML introduction explains that with BigQuery ML you can create and run ML models using GoogleSQL queries or the Google Cloud console. Doing ML on large data normally takes a lot of programming and knowledge of ML frameworks, which leaves out data analysts who know the data well but have little ML and programming experience. With BigQuery ML, people who work in SQL can build and evaluate models with the SQL tools and skills they already have, without writing programs in Python or Java. It also lists as benefits that you no longer need to move data out of the data warehouse and that bringing ML to the data means fewer tools, lower complexity, and a shorter time to production.
Why the other options are wrong
"Export the data to CSV and train a prediction model in Python" … The page says BigQuery ML saves the effort of moving and shaping large amounts of data to train with Python-based ML frameworks. Exporting and training in Python goes against both requirements: not moving the data and not writing Python.
"Pass SQL aggregation results to a BI tool and have people read the trends" … Having people read aggregated results is analysis, and it does not produce a model that predicts churn. The page says the predictive analytics of BigQuery ML can guide decision-making across the organization.
"Move the data to Cloud Storage and write code to build a prediction model" … Moving the data and writing code does not match the conditions that the analysts cannot write Python and the data should stay in place. The benefit the page lists is building with SQL without moving the data.
Flexibility with data
BigQuery ML models are stored in a BigQuery dataset the way tables and views are. You can build a model with the default settings of CREATE MODEL without deep ML knowledge, but the page adds that knowing the basics of feature engineering and model training lets you optimize the data and the model for better results.
Go to the Cloud Digital Leader practice app (10 free questions; purchase unlocks all questions)