🔥 40% Off Crucial Exams Memberships — Deal ends today!

2 hours, 31 minutes remaining!

GCP Professional Data Engineer Practice Question

Your team has trained a binary logistic-regression model called marketing.churn_model in BigQuery ML using the default automatic data split (80% training, 20% evaluation). You now want to inspect the model's quality without incurring additional query costs or creating a separate test table. Which SQL statement both satisfies these requirements and returns metrics such as accuracy, precision, recall, F1 score, and log_loss?

  • SELECT * FROM ML.PREDICT(MODEL marketing.churn_model, (SELECT * FROM marketing.customers));

  • SELECT * FROM ML.EVALUATE(MODEL marketing.churn_model);

  • SELECT * FROM ML.FEATURE_INFO(MODEL marketing.churn_model);

  • SELECT * FROM ML.EVALUATE(MODEL marketing.churn_model, TABLE marketing.test_churn);

GCP Professional Data Engineer
Preparing and using data for analysis
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot