Google Cloud Professional Machine Learning Engineer — Question 329
You are a SQL analyst. You need to utilize a TensorFlow customer segmentation model stored In Cloud Storage. You want to use the simplest and most efficient approach. What should you do?
Answer options
- A. Import the model into Vertex AI Model Registry. Deploy the model to a Vertex AI endpoint, and use SQL for inference in BigQuery.
- B. Deploy the model by using TensorFlow Serving, and call for inference from BigQuery.
- C. Convert the model into a BigQuery ML model, and use SQL for inference.
- D. Import the model into BigQuery, and use SQL for inference.
Correct answer: D
Explanation
The correct answer is D because importing the model directly into BigQuery allows for seamless integration and the use of SQL for inference without additional complexity. Options A and B introduce unnecessary layers of deployment and infrastructure, while option C requires a conversion process that may not be needed for direct SQL inference.