Exam Professional Machine Learning Engineer topic 1 question 289 discussion - ExamTopics


AI Summary Hide AI Generated Summary

Problem:

A BigQuery ML linear regressor model is trained hourly using Cloud Scheduler and Vertex AI Pipelines, with new data added every minute. The preprocessing includes quantile bucketization and MinMax scaling. The goal is to minimize storage and computational overhead.

Options:

  • A. Preprocess and stage data in BigQuery before model training/inference.
  • B. Use the TRANSFORM clause in the CREATE MODEL statement to calculate statistics.
  • C. Create a Vertex AI Pipelines component to calculate and pass statistics.
  • D. Create SQL queries to calculate and store statistics in separate BigQuery tables.

Suggested Answer:

The suggested answer is B. Using the TRANSFORM clause within the CREATE MODEL statement allows for efficient, inline calculation of necessary statistics, reducing external storage and processing needs.

Sign in to unlock more AI features Sign in with Google

You developed a BigQuery ML linear regressor model by using a training dataset stored in a BigQuery table. New data is added to the table every minute. You are using Cloud Scheduler and Vertex AI Pipelines to automate hourly model training, and use the model for direct inference. The feature preprocessing logic includes quantile bucketization and MinMax scaling on data received in the last hour. You want to minimize storage and computational overhead. What should you do?

  • A. Preprocess and stage the data in BigQuery prior to feeding it to the model during training and inference.
  • B. Use the TRANSFORM clause in the CREATE MODEL statement in the SQL query to calculate the required statistics.
  • C. Create a component in the Vertex AI Pipelines directed acyclic graph (DAG) to calculate the required statistics, and pass the statistics on to subsequent components.
  • D. Create SQL queries to calculate and store the required statistics in separate BigQuery tables that are referenced in the CREATE MODEL statement.
Show Suggested Answer Hide Answer
Suggested Answer: B πŸ—³οΈ

🧠 Pro Tip

Skip the extension β€” just come straight here.

We’ve built a fast, permanent tool you can bookmark and use anytime.

Go To Paywall Unblock Tool
Sign up for a free account and get the following:
  • Save articles and sync them across your devices
  • Get a digest of the latest premium articles in your inbox twice a week, personalized to you (Coming soon).
  • Get access to our AI features

  • Save articles to reading lists
    and access them on any device
    If you found this app useful,
    Please consider supporting us.
    Thank you!

    Save articles to reading lists
    and access them on any device
    If you found this app useful,
    Please consider supporting us.
    Thank you!