Generative AI Leader Google Cloud's Generative AI Offerings Practice Question
Exhibit
Refer to the exhibit. Error: 400 INVALID_ARGUMENT: The request was invalid because the grounding configuration specifies a data store 'projects/123/locations/global/dataStores/my-ds' that does not exist.
A developer is configuring a Vertex AI Agent Builder agent to use grounding. They receive the following error when calling the API: `404 Not Found: Data store resource not found.` What is the most likely cause?
⚠ Common exam trap
This exam often tests the distinction between resource existence errors and permission errors; the trap here is that candidates confuse a 'not found' error (404) with an authentication or permission error (403/401), leading them to select options B or D instead of recognizing the missing resource.
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 data store has not been created in the specified project
The error message indicates that the data store resource cannot be found in the specified Google Cloud project. Vertex AI Agent Builder requires the data store to exist and be fully provisioned in the same project as the agent before grounding can be configured. If the data store ID or project ID is incorrect, or the data store has not been created, the API will return a 'not found' error.
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 data store was just created and is not yet propagated
Why it's wrong here
Propagation delays typically produce 'not ready' errors, not 'does not exist'.
- ✗
The agent is not authenticated to access the data store
Why it's wrong here
Authentication errors would be 401 or 403, not 400 INVALID_ARGUMENT with 'does not exist'.
- ✓
The data store has not been created in the specified project
Why this is correct
Grounding requires an existing Vertex AI Search data store to retrieve from. If the API call references a data store ID that does not exist in the specified project, the request fails immediately, since there is no index to query for grounding content.
- ✗
The grounding configuration is missing required permissions
Why it's wrong here
Permissions errors yield 403 Forbidden, not 400 with 'does not exist'.
Go deeper
Related to this question
About these practice questions
Courseiva writes every Generative AI Leader question from scratch — 1,008 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.