Google Cloud Professional Machine Learning Engineer · Free practice question 1 of 12
BigQuery ML k-means customer segments
Marketing at Juniperhill Outfitters wants to group 3 million loyalty members into about eight segments by spend, visit frequency and product mix. No segment labels exist, and the data is already in BigQuery. Which BigQuery ML model type should the team train?
- A.LOGISTIC_REG
- B.ARIMA_PLUS
- C.KMEANS
- D.BOOSTED_TREE_REGRESSOR
Show answer and explanation
Correct answer: C. KMEANS
Why: k-means is an unsupervised clustering model in BigQuery ML; with num_clusters set to eight it assigns each member to a segment, and ML.PREDICT returns the nearest centroid for new members. Logistic regression and boosted tree regression are supervised and need labels. ARIMA_PLUS is for time-series forecasting.
More free Google Cloud Professional Machine Learning Engineer questions
- Speech-to-Text for call recordings
- AutoML object detection annotations
- Scheduled notebook runs with the executor
- TensorBoard Profiler for input bottlenecks
- TFX InfraValidator before pushing
- Runtime parameters for compiled pipelines
- CPU machines for scikit-learn serving
- Model cards for responsible AI documentation
- tf.data prefetch and parallel map
- Grounding with Google Search
- Point-in-time joins for training data