Question 231 of 500
Fundamentals of Generative AIeasyMultiple ChoiceObjective-mapped

Quick Answer

The answer is a missing or insufficient IAM role. An HTTP 403 Forbidden error from Vertex AI specifically means the server received and understood your request but refused to authorize it, which in Google Cloud almost always points to the user’s identity lacking the required permission, such as `roles/aiplatform.user`, to call the API or access the resource. On the Google Cloud Generative AI Leader exam, this scenario tests your understanding that network connectivity or correct project IDs are irrelevant when the error code is 403—the root cause is always authorization, not authentication or infrastructure. A common trap is confusing a 403 with a 401 (Unauthorized), but remember: 401 means “who are you?” while 403 means “you are known, but not allowed.” For the exam, if you see a 403 in a Vertex AI exhibit, immediately suspect the IAM role is missing or too restrictive. Memory tip: “403 = Forbidden = Four-Oh-Three = IAM is the key.”

Generative AI Leader Fundamentals of Generative AI Practice Question

This Generative AI Leader practice question tests your understanding of fundamentals of generative ai. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. 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

ERROR: (gcloud.aiplatform.models.upload) PERMISSION_DENIED: Permission 'aiplatform.models.upload' denied on resource project my-project

Refer to the exhibit. What is the most likely cause of this error?

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.

Question 1easymultiple choice
Full question →

Exhibit

ERROR: (gcloud.aiplatform.models.upload) PERMISSION_DENIED: Permission 'aiplatform.models.upload' denied on resource project my-project

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 user does not have the required IAM role

The error shown in the exhibit is an HTTP 403 Forbidden response, which indicates that the server understood the request but refuses to authorize it. In Google Cloud, this is most commonly caused by the user's identity lacking the necessary IAM role or permission to call the specific API or access the resource. Even if the project ID is correct and the network is functional, a missing IAM role (e.g., `aiplatform.user` or `roles/aiplatform.user`) will result in this exact error.

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 user does not have the required IAM role

    Why this is correct

    The error is a permission denial, meaning the user's IAM roles do not include 'aiplatform.models.upload'.

    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 is too large

    Why it's wrong here

    Size limits would cause a different error (e.g., quota exceeded).

  • The network is down

    Why it's wrong here

    Network issues would typically result in timeout or connectivity errors, not permission denied.

  • The project ID is incorrect

    Why it's wrong here

    An incorrect project ID would produce a different error (e.g., project not found).

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the distinction between authentication (who you are) and authorization (what you can do), and the trap here is that candidates confuse a 403 Forbidden with a 404 Not Found or a network error, leading them to pick 'The project ID is incorrect' or 'The network is down' instead of recognizing the IAM permission failure.

Detailed technical explanation

How to think about this question

Under the hood, Google Cloud IAM uses Access Control Lists (ACLs) and policy bindings evaluated at the resource level. When a request hits the Vertex AI API, the IAM system checks the caller's principal against the `iam.serviceAccounts.actAs` permission and the specific AI Platform roles (e.g., `roles/aiplatform.user`). A common subtlety is that even if a user has `roles/owner` on the project, they may still need explicit `aiplatform.models.predict` permission if the model is in a different project or uses a custom service account. In real-world scenarios, this error often occurs when a service account key is used but the service account has not been granted the `aiplatform.user` role on the specific model endpoint.

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 company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

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 Generative AI Leader 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 Generative AI Leader 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 Generative AI Leader question test?

Fundamentals of Generative AI — This question tests Fundamentals of Generative AI — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The user does not have the required IAM role — The error shown in the exhibit is an HTTP 403 Forbidden response, which indicates that the server understood the request but refuses to authorize it. In Google Cloud, this is most commonly caused by the user's identity lacking the necessary IAM role or permission to call the specific API or access the resource. Even if the project ID is correct and the network is functional, a missing IAM role (e.g., `aiplatform.user` or `roles/aiplatform.user`) will result in this exact error.

What should I do if I get this Generative AI Leader 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

Last reviewed: Jun 30, 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 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.