GCP Professional Cloud Architect Practice Question
Your team has found a text-generation foundation model in Vertex AI Model Garden that must be consumed by a Cloud Run microservice. You need the fastest way to expose the model as a production-ready, auto-scaled API without building or managing any custom inference infrastructure. The solution must also let you roll out newer model versions later with minimal code changes in the consuming service. What should you do?
Use Model Garden's Deploy to Endpoint feature to create a managed Vertex AI online prediction endpoint and call it from Cloud Run through the Vertex AI REST API.
Package the model files inside the Cloud Run container image and load them at startup so the service performs in-process inference.
Create a BigQuery ML remote model that references the Model Garden model, then invoke predictions from Cloud Run by submitting SQL queries to BigQuery.
Export the model artifact to Cloud Storage, build a custom prediction server in a container, deploy it to Cloud Run, and have the microservice call that HTTPS endpoint.
Model Garden allows a selected foundation or task-specific model to be deployed directly to a managed online prediction endpoint in Vertex AI. When you choose the Deploy to Endpoint action, Vertex AI provisions and operates the serving infrastructure, handles autoscaling, and gives you a stable REST endpoint. New model versions can be added to the same endpoint as new deployments or traffic-split versions, so clients continue calling the same URL with no code changes. Exporting the model to Cloud Run or embedding it in a container would require you to build, secure, scale, and update the serving stack yourself. Creating a BigQuery ML remote model provides SQL-based inference rather than a REST endpoint and is not intended for low-latency application calls.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Model Garden in Vertex AI?
Open an interactive chat with Bash
How does the Deploy to Endpoint feature in Vertex AI work?
Open an interactive chat with Bash
Why is Cloud Run not suitable for deploying models directly from Model Garden?
Open an interactive chat with Bash
What is Vertex AI Model Garden?
Open an interactive chat with Bash
What does 'Deploy to Endpoint' mean in Vertex AI?
Open an interactive chat with Bash
How does rolling out new model versions work with Vertex AI endpoints?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Managing and provisioning a solution infrastructure
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .