Generative AI Leader Practice Question: Business Strategies for Generative AI Solutions
Exhibit
Refer to the exhibit. ``` ERROR: Prediction failed: model 'projects/my-project/locations/us-central1/models/123' is not deployed to endpoint 'projects/my-project/locations/us-central1/endpoints/456'. Deploy the model to the endpoint before sending prediction requests. ```
A data scientist is trying to get online predictions from a Vertex AI endpoint but receives the error shown. What is the most likely cause?
⚠ Common exam trap
Google Cloud often tests the distinction between endpoint existence and model deployment, where candidates confuse a valid endpoint ID with the requirement that a model must be explicitly deployed to that endpoint before predictions can be served.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The model has not been deployed to the specified endpoint
The error indicates that the model is not deployed to the endpoint. In Vertex AI, an endpoint is a resource that hosts one or more deployed models. If a model has not been deployed to the endpoint, any prediction request to that endpoint will fail with a 'model not found' or similar error, even if the endpoint ID and region are correct.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The region in the request does not match the endpoint region
Why it's wrong here
The region matches; the error would be different if regions mismatched.
- ✓
The model has not been deployed to the specified endpoint
Why this is correct
The error message directly states the model is not deployed to the endpoint.
- ✗
The endpoint ID is incorrect
Why it's wrong here
The endpoint ID is correctly referenced; the error is about the model not being deployed.
- ✗
The model ID is incorrect
Why it's wrong here
The model ID is correctly referenced; the error is about deployment status.
Go deeper
Related to this question
About these practice questions
Courseiva writes every Generative AI Leader question from scratch — 683 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This Generative AI Leader practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the Generative AI Leader exam.