D4: Packaging Models with Prebuilt & Custom Containers
Google Cloud Professional Machine Learning Engineer exam practice questions · 10 flashcards
Question
Prebuilt prediction containers?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Packaging Models with Prebuilt & Custom Containers practice questions and answers
- Prebuilt prediction containers?For TensorFlow, PyTorch, scikit-learn and XGBoost.
- Custom container requirements?HTTP server with health and predict routes, listening on AIP_HTTP_PORT.
- Key env vars?AIP_HTTP_PORT, AIP_HEALTH_ROUTE, AIP_PREDICT_ROUTE, AIP_STORAGE_URI.
- Custom Prediction Routines?Add custom pre/postprocessing code without building full servers.
- PyTorch serving option?Prebuilt PyTorch container (TorchServe) or custom.
- XGBoost artifact?Saved model file (e.g. model.bst) in Cloud Storage.
- Where to store images?Artifact Registry.
- Large LLM serving containers?vLLM/TGI-based containers from Model Garden.
- Upload model?aiplatform Model.upload with container and artifact URI.
- Why custom container?Unsupported framework or special dependencies.