Question 985 of 1,000
Operationalizing machine learning modelseasyMultiple ChoiceObjective-mapped

Fixing 'Model Not Found' When Getting Online Predictions from Vertex AI Endpoint

This PDE practice question tests your understanding of operationalizing machine learning models. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Exhibit

Refer to the exhibit.

Error log from Cloud Logging:

{
  "textPayload": "Prediction failed: Model 'projects/my-project/locations/us-central1/models/12345' is not deployed to endpoint 'projects/my-project/locations/us-central1/endpoints/67890'. Ensure the model is deployed to the endpoint before making predictions.",
  "timestamp": "2024-03-15T10:30:00Z",
  "resource": {
    "type": "aiplatform.googleapis.com/Endpoint"
  }
}

A user gets the above error when trying to get online predictions. The model was created and the endpoint exists. What is the most likely reason?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "most likely"

    Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

Exhibit

Refer to the exhibit.

Error log from Cloud Logging:

{
  "textPayload": "Prediction failed: Model 'projects/my-project/locations/us-central1/models/12345' is not deployed to endpoint 'projects/my-project/locations/us-central1/endpoints/67890'. Ensure the model is deployed to the endpoint before making predictions.",
  "timestamp": "2024-03-15T10:30:00Z",
  "resource": {
    "type": "aiplatform.googleapis.com/Endpoint"
  }
}

Quick Answer

The answer is that no version of the model has been deployed to the endpoint. Even if the model resource and the endpoint resource both exist, Vertex AI requires you to explicitly deploy a specific model version to the endpoint before it can serve online predictions. This step creates the underlying serving infrastructure and associates the model’s artifact with the endpoint’s prediction URL. On the Google Professional Data Engineer exam, this scenario tests your understanding of the deployment lifecycle: creating a model and creating an endpoint are separate prerequisites, but the critical action that enables online prediction is the deployment of a model version to that endpoint. A common trap is assuming that simply having a model and an endpoint is sufficient, or confusing model creation with deployment. Remember the mnemonic: “Create, then deploy—or your predictions will be empty.”

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

No version of the model is deployed to the endpoint.

Option C is correct because the error 'No version of the model is deployed to the endpoint' occurs when the endpoint exists but has no active model version assigned to it. In Google Cloud AI Platform (Vertex AI), an endpoint must have at least one deployed model version to serve predictions. Without a deployed version, the endpoint cannot handle inference requests, even though the endpoint resource exists.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

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 endpoint does not exist.

    Why it's wrong here

    Endpoint exists as shown in error path.

  • The endpoint is in a different region than the model.

    Why it's wrong here

    If regions mismatched, error would indicate region conflict; here both are us-central1.

  • No version of the model is deployed to the endpoint.

    Why this is correct

    A model must be deployed (a model version) to the endpoint to serve predictions.

    Clue confirmation

    The clue word "most likely" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The model does not exist.

    Why it's wrong here

    Error says model not deployed, not that it doesn't exist.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud exams often test the misconception that creating an endpoint automatically deploys the latest model version, when in fact you must explicitly specify a model version during endpoint creation or update.

Trap categories for this question

  • Command / output trap

    Endpoint exists as shown in error path.

Detailed technical explanation

How to think about this question

In SageMaker, an endpoint is a hosted inference resource that requires one or more production variants, each referencing a model version via the 'ModelName' parameter. The endpoint's 'EndpointStatus' must be 'InService' for it to accept requests; if no variant is deployed, the status remains 'Creating' or 'Failed'. This is analogous to Kubernetes pods without a running container image—the infrastructure exists but no application is serving traffic.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related PDE practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free PDE practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this PDE question test?

Operationalizing machine learning models — This question tests Operationalizing machine learning models — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: No version of the model is deployed to the endpoint. — Option C is correct because the error 'No version of the model is deployed to the endpoint' occurs when the endpoint exists but has no active model version assigned to it. In Google Cloud AI Platform (Vertex AI), an endpoint must have at least one deployed model version to serve predictions. Without a deployed version, the endpoint cannot handle inference requests, even though the endpoint resource exists.

What should I do if I get this PDE question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More PDE practice questions

Last reviewed: Jul 4, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This PDE 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 PDE exam.