Courseiva

Generative AI Leader Google Cloud's Generative AI Offerings Practice Question

A company is building a customer support chatbot using Vertex AI Agent Builder. They want the agent to answer questions based on internal knowledge base documents stored in Cloud Storage. Which feature should they configure to ensure the agent can retrieve relevant information from these documents?

⚠ Common exam trap

Candidates often confuse fine-tuning with grounding. They mistakenly choose fine-tuning (Option B) assuming the model must be retrained on the knowledge base, but the correct approach for retrieval-based Q&A is grounding with a data store.

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

✓

Enable grounding with a data store

Vertex AI Agent Builder uses grounding to connect the agent to external data sources, such as documents stored in Cloud Storage. By enabling grounding with a data store, the agent can retrieve and reference relevant information from the knowledge base documents in real time, ensuring accurate and context-aware responses without requiring model retraining.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Deploy the agent to a Vertex AI endpoint

    Why it's wrong here

    Deploying to a Vertex AI endpoint serves the agent for inference; it does not index or retrieve knowledge base documents. It is tempting because endpoints are a required deployment step, and would be correct once the agent is built and needs to be made available to users.

  • ✗

    Fine-tune a Gemini model on the knowledge base

    Why it's wrong here

    Fine-tuning bakes knowledge into model weights, so it cannot cite or retrieve the current Cloud Storage documents at query time, and retraining is needed whenever they change. It is tempting because fine-tuning adapts tone, format and domain style; it would suit teaching a model a consistent response pattern, not grounding answers in a document store.

  • ✓

    Enable grounding with a data store

    Why this is correct

    Grounding with a data store indexes the Cloud Storage documents and retrieves relevant passages at query time, anchoring responses in that content. This satisfies the requirement to answer from internal knowledge base documents rather than the model's parametric memory.

  • ✗

    Configure a safety filter to block irrelevant queries

    Why it's wrong here

    Safety filters screen prompts and responses against harmful-content policies; they perform no document retrieval. It is tempting because filters shape agent output, and would be correct for preventing toxic or disallowed responses rather than grounding answers in Cloud Storage content.

About these practice questions

One of 1,008 original Generative AI Leader practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.