Google Cloud Professional Machine Learning Engineer — Question 23

You have trained a text classification model in TensorFlow using AI Platform. You want to use the trained model for batch predictions on text data stored in
BigQuery while minimizing computational overhead. What should you do?

Answer options

Correct answer: A

Explanation

Exporting the model to BigQuery ML allows for efficient batch predictions directly within BigQuery, minimizing overhead. Deploying and versioning the model on AI Platform may incur additional computational costs and complexity, while using Dataflow or submitting a batch prediction job involves extra steps that might not be as efficient as leveraging BigQuery ML directly.