You want to deploy a trained scikit-learn model to Vertex AI for online predictions. The model file is 2 GB. Which option should you use?
Trap 1: Use AI Platform (now Vertex AI) with a large model VM
Not a specific option; custom container is the correct path.
Trap 2: Use Cloud Functions to host the model
Cloud Functions have memory and timeout limits, not suitable.
Trap 3: Upload the model to Vertex AI Model Registry and deploy using…
Pre-built container may have model size limits; 2 GB might be too large.
- A
Use AI Platform (now Vertex AI) with a large model VM
Why wrong: Not a specific option; custom container is the correct path.
- B
Use a custom container with the scikit-learn model
Custom container allows you to handle large models and dependencies.
- C
Use Cloud Functions to host the model
Why wrong: Cloud Functions have memory and timeout limits, not suitable.
- D
Upload the model to Vertex AI Model Registry and deploy using pre-built scikit-learn container
Why wrong: Pre-built container may have model size limits; 2 GB might be too large.