Google Cloud Professional Machine Learning Engineer — Question 296
You are an AI engineer that works for a popular video streaming platform. You built a classification model using PyTorch to predict customer churn. Each week, the customer retention team plans to contact customers that have been identified as at risk of churning with personalized offers. You want to deploy the model while minimizing maintenance effort. What should you do?
Answer options
- A. Use Vertex AI’s prebuilt containers for prediction. Deploy the container on Cloud Run to generate online predictions.
- B. Use Vertex AI’s prebuilt containers for prediction. Deploy the model on Google Kubernetes Engine (GKE), and configure the model for batch prediction.
- C. Deploy the model to a Vertex AI endpoint, and configure the model for batch prediction. Schedule the batch prediction to run weekly.
- D. Deploy the model to a Vertex AI endpoint, and configure the model for online prediction. Schedule a job to query this endpoint weekly.
Correct answer: C
Explanation
The correct answer is C because deploying the model to a Vertex AI endpoint and configuring it for batch prediction allows for weekly execution, which aligns with the customer retention team's needs. Option A focuses on online predictions, which are not necessary for this use case. Option B doesn’t meet the requirement for weekly scheduling, and option D suggests online predictions, which would require more maintenance compared to batch predictions.