Courseiva

Google Cloud Generative AI Leader Generative AI Leader (Generative AI Leader) — Questions 151225

683 questions total · 10pages · All types, answers revealed

Page 2

Page 3 of 10

Page 4
151
MCQmedium

A data scientist notices that a text generation model deployed on Vertex AI returns repetitive outputs after a few turns in a chat application. What is the most likely cause and the best parameter adjustment?

A.The max_output_tokens is too low; increase it to allow more diverse output.
B.The top_p value is too high; reduce top_p to limit token sampling.
C.The model is overfitted; switch to a smaller model.
D.The temperature is too low; increase temperature to add randomness.
AnswerB

Reducing top_p narrows the token pool, reducing repetition.

Why this answer

Repetitive outputs in a chat application after a few turns are typically caused by the model getting stuck in a loop due to high cumulative probability from top-p sampling. Reducing top_p limits the set of tokens considered at each step, forcing the model to explore less likely tokens and breaking the repetition cycle. This directly addresses the issue without sacrificing coherence, unlike temperature adjustments which affect randomness globally.

Exam trap

Google Cloud often tests the misconception that temperature and top-p both control randomness in the same way, but the trap here is that candidates confuse 'increasing randomness' (temperature) with 'limiting the sampling pool' (top-p), leading them to choose D instead of B.

How to eliminate wrong answers

Option A is wrong because max_output_tokens controls the length of the output, not the diversity of token choices; increasing it would allow longer repetitive sequences, not fix the repetition. Option C is wrong because overfitting is a training-phase issue unrelated to inference-time repetition; switching to a smaller model would reduce capacity but not specifically address the sampling behavior causing loops. Option D is wrong because increasing temperature adds randomness to all token probabilities, which can actually worsen repetition by making the model more likely to pick high-probability tokens repeatedly; the problem is too much diversity in the sampling set, not too little.

152
MCQhard

Refer to the exhibit. A data scientist is fine-tuning a model. The training loss and accuracy are improving each epoch. However, after training, the model performs poorly on a held-out validation set. What is the most likely issue?

A.Underfitting
B.Inappropriate learning rate
C.Data leakage
D.Overfitting
AnswerD

Overfitting leads to good training performance but poor validation.

Why this answer

The model's training loss and accuracy improve each epoch, but performance on the validation set is poor. This classic symptom indicates overfitting, where the model memorizes the training data (including noise) rather than learning generalizable patterns. In fine-tuning, this often occurs when the model is trained for too many epochs or the dataset is too small relative to model capacity.

Exam trap

Google Cloud often tests the distinction between overfitting and underfitting by presenting improving training metrics alongside poor validation performance, which candidates may misinterpret as a learning rate issue or data leakage if they do not recognize the hallmark divergence pattern.

How to eliminate wrong answers

Option A is wrong because underfitting would show poor performance on both training and validation sets, not improving training metrics. Option B is wrong because an inappropriate learning rate typically causes training instability (e.g., loss divergence or stagnation), not a clear divergence between training and validation performance. Option C is wrong because data leakage would cause both training and validation metrics to be artificially high (since validation data leaks into training), not a gap where training is good and validation is poor.

153
Multi-Selecthard

A company is migrating an on-premises NLP pipeline to Vertex AI. Which three capabilities of Vertex AI align with common MLOps best practices for generative AI? (Choose THREE)

Select 3 answers
A.Automatic model retraining based on performance degradation
B.Local on-premises execution
C.Continuous training with Vertex AI Pipelines
D.Manual data labeling only
E.Model registry for versioning
AnswersA, C, E

Triggering retraining when performance drops is a key MLOps practice.

Why this answer

Vertex AI's model monitoring can automatically trigger retraining when performance metrics (e.g., prediction drift or data drift) degrade below a threshold. This aligns with MLOps best practices for maintaining generative AI model quality over time without manual intervention.

Exam trap

Google Cloud often tests the misconception that MLOps for generative AI requires on-premises execution or manual-only labeling, but the correct answer emphasizes cloud-native automation and versioning as core best practices.

154
MCQmedium

A marketing agency uses gen AI for content generation. They need to brand consistently. What is a key business consideration?

A.Use only generated content
B.Implement content moderation and brand guidelines
C.Use the most creative model
D.Optimize for speed
AnswerB

Guides the model to produce on-brand content and review outputs.

Why this answer

Consistent branding requires enforcing predefined guidelines on tone, style, and terminology across all generated content. Without content moderation and brand guidelines, a generative AI model may produce off-brand, inconsistent, or even harmful outputs, undermining brand identity. This is a core business strategy for deploying gen AI at scale, ensuring alignment with marketing objectives.

Exam trap

Google Cloud often tests the misconception that generative AI can be deployed autonomously without governance, leading candidates to overvalue raw creativity or speed over the business-critical need for controlled, brand-aligned output.

How to eliminate wrong answers

Option A is wrong because relying solely on generated content without human oversight or curation risks producing factually incorrect, off-brand, or legally problematic material, as generative models lack inherent understanding of brand context. Option C is wrong because the most creative model may prioritize novelty over adherence to brand constraints, leading to unpredictable outputs that violate brand guidelines. Option D is wrong because optimizing for speed can sacrifice output quality and consistency, increasing the likelihood of generating content that fails to meet brand standards or requires extensive post-editing.

155
MCQmedium

A team uses PaLM 2 API to generate product descriptions, but the output sometimes contains factual inaccuracies. What is the best approach to improve accuracy?

A.Increase the temperature parameter
B.Reduce the top_k value
C.Use grounding with Google Search
D.Set the max_output_tokens higher
AnswerC

Grounding supplies factual references, helping the model generate accurate information.

Why this answer

Grounding with Google Search is the correct approach because it allows the PaLM 2 API to retrieve real-time, verifiable information from the web, directly reducing factual inaccuracies in generated product descriptions. Unlike parameter adjustments, grounding provides an external knowledge source that the model can cite, ensuring outputs are based on current and accurate data rather than relying solely on its training data.

Exam trap

Google Cloud often tests the misconception that tuning generation parameters (temperature, top_k, max tokens) can fix factual accuracy issues, when in reality those parameters control randomness and length, not the model's reliance on its training data versus external sources.

How to eliminate wrong answers

Option A is wrong because increasing the temperature parameter makes the model more random and creative, which would likely increase, not decrease, factual inaccuracies. Option B is wrong because reducing the top_k value limits the pool of tokens the model can sample from, which may reduce diversity but does not address the root cause of hallucination or factual errors. Option D is wrong because setting max_output_tokens higher only allows longer responses, which can actually increase the chance of generating more inaccuracies without improving factual correctness.

156
MCQeasy

A startup wants to generate images from text descriptions for their marketing materials. They prefer a managed service that requires minimal coding. Which Google Cloud generative AI offering should they use?

A.Vertex AI Imagen
B.Natural Language API
C.Document AI
D.Cloud Speech-to-Text
AnswerA

Imagen provides text-to-image generation capabilities via Vertex AI.

Why this answer

Vertex AI Imagen is Google Cloud's managed generative AI service specifically designed for text-to-image generation. It requires minimal coding, as users can interact with it via the Cloud Console, API calls with simple prompts, or through Vertex AI's built-in tools, making it ideal for a startup needing to generate marketing images from text descriptions without extensive development effort.

Exam trap

The trap here is that candidates may confuse general-purpose AI services (like Natural Language API or Document AI) with generative AI offerings, overlooking that only Vertex AI Imagen is purpose-built for text-to-image generation as a managed service with minimal coding.

How to eliminate wrong answers

Option B (Natural Language API) is wrong because it is designed for analyzing and extracting insights from text (e.g., sentiment, entity recognition), not for generating images from text. Option C (Document AI) is wrong because it focuses on processing and extracting data from documents (e.g., OCR, form parsing), not on generative image creation. Option D (Cloud Speech-to-Text) is wrong because it converts audio speech into text, which is the opposite direction of generating images from text descriptions.

157
MCQmedium

A company wants to extract structured data from scanned invoices. Which Google Cloud AI service is purpose-built for this use case?

A.Vision AI
B.Translation API
C.Natural Language AI
D.Document AI
AnswerD

Document AI specializes in processing scanned documents and extracting structured data.

Why this answer

Document AI is designed for document understanding, including invoice parsing.

158
Multi-Selecthard

An organization is developing a GenAI strategy for multiple business units. Which THREE steps should they take to ensure alignment? (Select three.)

Select 3 answers
A.Implement a chargeback model for usage costs
B.Allow each business unit to independently choose models
C.Establish common data governance policies
D.Create a center of excellence (CoE) for GenAI
E.Prioritize use cases based on ROI and risk
AnswersC, D, E

Common policies ensure data consistency, compliance, and reusability across units.

Why this answer

Establishing common data governance policies (C) ensures that all business units adhere to consistent standards for data quality, privacy, and security, which is critical for training and deploying reliable GenAI models. Without unified governance, disparate data practices can lead to model bias, compliance violations, and integration failures across the organization.

Exam trap

Google Cloud often tests the misconception that financial controls (chargeback) or decentralized model selection are sufficient for alignment, when in fact they miss the core need for shared governance, centralized expertise, and risk-based prioritization.

159
MCQeasy

A company wants to use generative AI to summarize customer support tickets. Which Google Cloud tool is best suited for this task?

A.Vertex AI Text Generation (Gemini)
B.Dialogflow CX
C.Document AI
D.AutoML Tables
AnswerA

Vertex AI text generation supports summarization tasks via Gemini models.

Why this answer

Vertex AI Text Generation (Gemini) is the correct choice because it is a generative AI service specifically designed for natural language understanding and generation tasks, such as summarizing customer support tickets. Gemini models can process long-form text and produce concise, coherent summaries by leveraging transformer-based architectures fine-tuned for instruction-following and text completion. This makes it ideal for extracting key information from support conversations and generating actionable summaries.

Exam trap

The trap here is that candidates may confuse Dialogflow CX (a conversational AI builder) with a generative AI tool, overlooking that Dialogflow is for structured dialogue flows rather than open-ended text generation.

How to eliminate wrong answers

Option B (Dialogflow CX) is wrong because it is a conversational AI platform for building chatbots and virtual agents, not a generative text summarization tool; it focuses on intent recognition and dialogue management rather than free-form text generation. Option C (Document AI) is wrong because it is designed for document processing and extraction of structured data (e.g., OCR, form parsing) from scanned documents, not for generative summarization of unstructured text. Option D (AutoML Tables) is wrong because it is a tabular data modeling service for regression and classification tasks on structured datasets, not a natural language generation tool.

160
MCQeasy

A healthcare AI application provides diagnostic suggestions based on patient data. To comply with Google's AI Principles, which practice should be implemented?

A.Use a simpler model that is less accurate but easier to explain
B.Limit the model's output to only the most common diagnoses to reduce risk
C.Include a human-in-the-loop review for all diagnostic suggestions before finalizing
D.Deploy the model directly to production without human review to maximize speed
AnswerC

Human oversight is required for high-stakes AI decisions to ensure safety and accountability.

Why this answer

Google's AI Principles require accountability and safety, especially in high-stakes domains like healthcare. Human oversight ensures that AI suggestions are reviewed by qualified professionals before action is taken.

161
MCQhard

A healthcare organization deploys a generative AI model to assist in diagnosing rare diseases from medical images. To comply with the EU AI Act's requirements for high-risk AI systems, what is the MOST critical control they must implement?

A.Implement a human-in-the-loop review process with the ability to override AI recommendations
B.Use a model with a high F1 score to minimize the need for human review
C.Ensure the model is trained on synthetic data only to avoid privacy concerns
D.Deploy the model in a sandbox environment without real patient data
AnswerA

Human oversight and override mechanisms are required for high-risk AI systems under the EU AI Act.

Why this answer

The EU AI Act requires human oversight for high-risk AI systems, including the ability for humans to override or stop the system's decisions.

162
MCQmedium

A financial firm wants to use GenAI to draft emails for client communications. They need to ensure regulatory compliance and maintain a consistent professional tone. Which approach is MOST suitable?

A.Use zero-shot prompting with a compliance checklist in the prompt
B.Use Vertex AI Agent Builder with grounding on regulatory documents
C.Fine-tune a model on historical approved emails and deploy via Vertex AI API
D.Use Gemini in Gmail with Smart Compose enabled
AnswerC

Fine-tuning on approved examples ensures regulatory compliance and tone consistency.

Why this answer

Fine-tuning on approved examples ensures consistent tone and compliance. Fine-tuning adapts the model to the regulated domain better than prompting alone.

163
MCQmedium

Why is the model responding in English despite the prompt asking for French translation?

A.The model endpoint is configured for English only
B.The temperature is too high, causing random outputs
C.The system instruction to translate to French was not set; the user prompt alone is not sufficient
D.The maxOutputTokens is too low to complete the translation
AnswerC

Gemini requires system instruction for task specification.

Why this answer

In Google Cloud's Vertex AI and Generative AI offerings, the system instruction is a separate, persistent directive that sets the model's behavior, such as language output. The user prompt alone, even if it asks for a French translation, is not sufficient to override the default language of the model; the system instruction must explicitly specify the target language. Without this instruction, the model defaults to its training language (typically English), regardless of the user's request.

Exam trap

The trap here is that candidates assume a user prompt's explicit instruction (e.g., 'Translate to French') is enough to override the model's default language, but in Google Cloud's Generative AI, the system instruction is the authoritative control for persistent behavior, not the user prompt.

How to eliminate wrong answers

Option A is wrong because model endpoints in Vertex AI are not configured for a specific language; they serve all languages the model supports, and language behavior is controlled via system instructions or prompt engineering, not endpoint configuration. Option B is wrong because a high temperature increases randomness in token selection but does not cause the model to ignore a language instruction; it would still attempt to follow the prompt, albeit with more creative or varied outputs, not systematically output English. Option D is wrong because maxOutputTokens limits the length of the response, not the language; if set too low, the model would produce a truncated translation, not switch to English.

164
MCQeasy

A data science team wants to collaborate on a machine learning project using a shared notebook environment that supports Python and R, with free access to GPUs for prototyping. Which Google tool is most suitable?

A.Kaggle
B.Cloud Shell
C.Vertex AI Workbench
D.Colab
AnswerD

Colab offers free notebooks with GPU support, ideal for collaborative prototyping.

Why this answer

Colab (D) is the most suitable Google tool because it provides a shared notebook environment that supports both Python and R via the `%load_ext rpy2.ipython` magic, offers free access to GPUs (e.g., NVIDIA T4 or V100) for prototyping, and enables real-time collaboration through Google Drive integration. This directly matches the team's requirements for a collaborative, multi-language notebook with free GPU resources.

Exam trap

In Google exams, candidates often confuse the free-tier prototyping tool (Colab) with the enterprise-managed service (Vertex AI Workbench). While Vertex AI Workbench supports both Python and R, it does not offer free access to GPUs; only Colab provides free GPU resources for prototyping.

How to eliminate wrong answers

Option A is wrong because Kaggle is a data science competition platform that, while offering free GPU access and notebooks, does not natively support R in its notebook environment (Kaggle Notebooks are Python-only) and is not a Google-owned tool for general collaboration—it is owned by Google but primarily designed for competitions, not team-based project prototyping. Option B is wrong because Cloud Shell is a browser-based terminal with a temporary environment (5 GB persistent disk, 2 vCPUs) that lacks a notebook interface, does not support R, and provides no GPU access—it is meant for command-line operations and small-scale testing, not ML prototyping. Option C is wrong because Vertex AI Workbench is a fully managed Jupyter notebook service that supports Python and R, but it requires a Google Cloud project with billing enabled, does not offer free GPU access (GPUs incur costs), and is designed for production workloads, not free prototyping.

165
MCQeasy

Refer to the exhibit. A user receives this error when trying to get predictions from a Vertex AI endpoint. What is the most likely cause?

A.The endpoint does not exist
B.The endpoint is in a different region
C.The user lacks necessary IAM permissions
D.The model is not deployed
AnswerC

PERMISSION_DENIED indicates missing permissions.

Why this answer

The error message indicates an authorization failure when calling the Vertex AI endpoint. The most likely cause is that the user's IAM principal lacks the necessary permissions, such as `aiplatform.endpoints.predict`, to invoke the endpoint. Even if the endpoint and model are correctly deployed, missing IAM roles (e.g., Vertex AI User or custom role) will block prediction requests.

Exam trap

Google Cloud exam questions often test the distinction between resource existence errors (404) and authorization errors (403), so candidates mistakenly choose 'endpoint does not exist' when the actual error is a permissions failure.

How to eliminate wrong answers

Option A is wrong because if the endpoint did not exist, the error would typically be a 404 Not Found or a resource-not-found exception, not an authorization error. Option B is wrong because region mismatch would cause a different error, such as 'endpoint not found in this region' or a cross-region routing failure, not an IAM permission error. Option D is wrong because if the model were not deployed, the endpoint would still exist but return a 'no deployed model' or 'model not ready' error, not an authorization failure.

166
Multi-Selectmedium

Which TWO options are best practices for deploying generative AI models on Vertex AI? (Choose two.)

Select 2 answers
A.Disable logging to reduce cost
B.Enable automatic scaling to handle variable traffic
C.Use Vertex AI Model Monitoring to detect drift
D.Manually scale instances based on expected load
E.Serve the model directly without optimization
AnswersB, C

Automatic scaling adjusts resources based on demand.

Why this answer

Vertex AI's automatic scaling dynamically adjusts the number of serving instances based on incoming traffic, ensuring low latency during spikes and cost efficiency during lulls. This is a best practice for production workloads where traffic patterns are unpredictable, as it eliminates the need for manual capacity planning.

Exam trap

Google Cloud often tests the misconception that manual scaling is more reliable or cost-effective than automatic scaling, but in cloud-native environments, automatic scaling is the standard best practice for variable workloads.

167
MCQhard

A generative AI model for code generation sometimes produces syntactically incorrect code. The team wants to reduce syntax errors without retraining the entire model. Which approach is most effective?

A.Implement constrained decoding with grammar rules
B.Run a syntax checker after generation and regenerate
C.Add a system prompt that instructs the model to produce valid code
D.Increase beam search width
AnswerA

Constrained decoding ensures output respects syntax rules.

Why this answer

Constrained decoding with grammar rules directly enforces the syntax of the target programming language during token generation, preventing the model from producing invalid constructs. This approach modifies the decoding process (e.g., using a context-free grammar or a formal syntax specification) to mask or forbid tokens that would lead to a syntax error, without altering the underlying model weights. It is the most effective method because it guarantees syntactically correct output at generation time, rather than relying on post-hoc fixes or probabilistic adjustments.

Exam trap

The trap here is that candidates often choose a post-hoc correction method (Option B) or a prompt-based approach (Option C) because they seem simpler, but they fail to recognize that only a decoding-time constraint can guarantee syntactic validity without retraining, which is the core requirement of the question.

How to eliminate wrong answers

Option B is wrong because running a syntax checker after generation and regenerating is inefficient and does not prevent errors; it relies on trial-and-error, which can be costly and may still produce invalid code if the model repeatedly generates similar errors. Option C is wrong because adding a system prompt is a soft instruction that the model may not reliably follow, especially for complex or edge-case syntax rules, and it does not enforce constraints at the token level. Option D is wrong because increasing beam search width improves the diversity and likelihood of finding high-probability sequences but does not incorporate any syntactic constraints; it may still produce syntactically incorrect code if the highest-scoring beams violate grammar rules.

168
MCQeasy

Which Google Cloud AI API is used to convert spoken language into text?

A.Speech-to-Text API
B.Text-to-Speech API
C.Natural Language API
D.Translation API
AnswerA

Speech-to-Text transcribes audio to text.

Why this answer

Speech-to-Text API transcribes audio into text.

169
MCQhard

A company is comparing Google Cloud Vertex AI with AWS Bedrock and Azure OpenAI. They need a model that can natively process text, images, audio, and video. Which differentiator does Google Cloud offer?

A.Gemini's native multimodal capabilities
B.Access to GPT-4o
C.Support for Anthropic Claude
D.Integration with Microsoft Copilot
AnswerA

Gemini is designed from the ground up as multimodal.

Why this answer

Gemini is Google's multimodal model natively trained on text, images, audio, and video from the ground up, enabling it to process and reason across these modalities without separate components. This native capability is a key differentiator for Google Cloud Vertex AI, as competing platforms like AWS Bedrock and Azure OpenAI primarily offer models that are text-centric or require separate models for different modalities.

Exam trap

The Generative AI Leader exam often tests the distinction between 'native multimodal' models (trained on all modalities simultaneously) versus 'composite multimodal' systems that combine separate models for each modality, leading candidates to overestimate the capabilities of GPT-4o or Claude.

How to eliminate wrong answers

Option B is wrong because GPT-4o, while capable of processing text, images, and audio, is not natively trained on video; it processes video as a sequence of frames, not as a unified video modality. Option C is wrong because Anthropic Claude is primarily a text-based model with limited image understanding, lacking native support for audio and video processing. Option D is wrong because Microsoft Copilot is an integration layer that leverages underlying models (like GPT-4) and does not itself provide native multimodal capabilities across text, images, audio, and video.

170
MCQmedium

A research team wants to run a large-scale training job for a custom transformer model. They need access to Google's custom AI accelerators with high-speed interconnects for distributed training. Which infrastructure should they use?

A.Vertex AI Training with default GPU
B.Cloud TPU v3-32 pod
C.Compute Engine with NVIDIA H100 GPUs
D.Google Kubernetes Engine with GPU nodes
AnswerB

TPU pods provide custom accelerators with high-speed interconnects.

Why this answer

Loud TPU v3-32 pod because it provides Google's custom AI accelerators (TPUs) with high-speed interconnects (e.g., a 2D toroidal mesh network) specifically designed for large-scale distributed training of transformer models. This pod offers 32 TPU v3 chips interconnected at 100 Gbps per chip, enabling efficient model parallelism and data parallelism for custom transformer architectures, which is not achievable with standard GPUs or Kubernetes setups.

Exam trap

The trap here is that candidates may confuse 'custom AI accelerators' with any high-end GPU (like H100) or assume Kubernetes provides equivalent distributed training performance, but the question specifically requires Google's custom TPUs with high-speed interconnects, which only the TPU pod offers.

How to eliminate wrong answers

Option A is wrong because Vertex AI Training with default GPU uses standard NVIDIA GPUs (e.g., T4 or V100) without Google's custom TPU accelerators or the high-speed interconnects required for large-scale distributed training; it is designed for smaller-scale jobs. Option C is wrong because Compute Engine with NVIDIA H100 GPUs, while powerful, lacks the custom TPU architecture and the dedicated high-speed interconnects (e.g., TPU pod's 2D torus) that are optimized for synchronous distributed training of large transformer models; H100s use NVLink/NVSwitch which are less efficient for the specific scale and topology needed. Option D is wrong because Google Kubernetes Engine with GPU nodes relies on standard GPU hardware and Kubernetes networking (e.g., VPC, Calico) which introduces latency and bandwidth bottlenecks compared to the TPU pod's dedicated interconnects, and it does not provide Google's custom TPU accelerators.

171
MCQeasy

A marketing team wants to use GenAI to generate social media posts. They need consistent brand voice and the ability to output structured JSON for downstream scheduling. Which combination of Vertex AI features should they use?

A.Model Garden to select a model and then fine-tune it for brand voice
B.Vertex AI Studio with few-shot prompting and a response schema for JSON
C.Vertex AI RAG Engine with a vector store of past posts
D.Vertex AI Agent Builder and Grounding with Google Search
AnswerB

Vertex AI Studio supports few-shot prompting to maintain tone and a response schema to enforce JSON output, meeting both needs without extra complexity.

Why this answer

Vertex AI Studio offers prompt design capabilities, and you can define few-shot examples to enforce tone. Structured output can be requested by specifying a response schema. Model Garden is a model hub, not a prompt tool; Fine-tuning is overkill for this task.

172
MCQeasy

A company is deciding between using a pre-built GenAI API (like Gemini API) and building a custom fine-tuned model. Which factor would MOST strongly favor the custom fine-tuned model?

A.Limited budget for AI development
B.Low latency requirements for real-time responses
C.Small volume of inference requests per day
D.Need for specialized domain knowledge that general models lack
AnswerD

Fine-tuning on domain-specific data improves accuracy on specialized tasks.

Why this answer

Custom fine-tuning is best when the task requires specialized domain knowledge not available in the pre-built model's training data.

173
MCQmedium

A healthcare startup wants to use generative AI to provide clinical decision support. They must minimize the risk of harmful hallucinations. Which business strategy is most appropriate?

A.Implement retrieval-augmented generation with meticulously curated medical literature.
B.Limit the model's output length to reduce hallucination risk.
C.Deploy a large general-purpose model and rely on post-processing filters.
D.Use a custom fine-tuned model on a proprietary medical dataset.
AnswerA

RAG uses retrieved, vetted documents to generate answers, significantly reducing hallucinations by grounding responses in authoritative sources.

Why this answer

Retrieval-augmented generation (RAG) grounds the model's output in a trusted, external knowledge base—here, curated medical literature—which directly reduces the risk of hallucination by forcing the model to cite or derive answers from verified sources. This is the most effective strategy for clinical decision support because it combines generative flexibility with factual accuracy, unlike methods that only limit output or rely on post-hoc filtering.

Exam trap

Google Cloud often tests the misconception that fine-tuning alone is sufficient for domain-specific accuracy, when in fact RAG is superior for reducing hallucinations because it provides dynamic, verifiable grounding rather than static memorization.

How to eliminate wrong answers

Option B is wrong because limiting output length does not address the root cause of hallucinations; a short response can still be factually incorrect or harmful. Option C is wrong because post-processing filters are reactive and cannot reliably catch subtle or context-dependent hallucinations in a high-stakes medical domain, and large general-purpose models lack domain-specific grounding. Option D is wrong because a custom fine-tuned model on a proprietary dataset may still hallucinate if the dataset is incomplete, biased, or not rigorously curated, and fine-tuning does not inherently provide a retrieval mechanism to verify facts against authoritative sources.

174
MCQmedium

A company wants to build a customer service chatbot that answers questions about their internal policy documents. The documents are updated monthly, and the team cannot afford to retrain a model each time. Which approach is MOST appropriate?

A.Fine-tune a base LLM on the policy documents monthly
B.Use Retrieval-Augmented Generation (RAG) with the policy documents indexed in a vector store
C.Train a custom model from scratch on the policy documents each month
D.Use a larger foundation model with a longer context window and paste all documents into each prompt
AnswerB

RAG retrieves relevant document chunks at query time, ensuring the chatbot always answers from the latest uploaded documents without any model retraining.

Why this answer

RAG (Retrieval-Augmented Generation) allows the LLM to retrieve relevant document sections at inference time, so knowledge stays current without retraining. The other options either require expensive retraining for each update or lack document grounding.

175
MCQeasy

A company is using a generative AI model to generate product descriptions. They notice the outputs often include factual inaccuracies about product specifications. Which technique would best address this issue without modifying the model's architecture?

A.Implement a Retrieval-Augmented Generation (RAG) pipeline that retrieves product specs from a database
B.Decrease the temperature parameter to 0.1
C.Increase the max output tokens to 1024
D.Use few-shot prompting with 5 examples of correct descriptions
AnswerA

RAG grounds generation in retrieved relevant documents, improving factual accuracy.

Why this answer

Retrieval-Augmented Generation (RAG) is the correct technique because it grounds the model's output in factual, up-to-date product specifications retrieved from an external database. This directly addresses factual inaccuracies without modifying the model's architecture, as the model generates text based on retrieved context rather than relying solely on its parametric knowledge.

Exam trap

Google Cloud often tests the misconception that adjusting generation parameters (like temperature or token limits) or providing examples can fix factual accuracy, when in fact only retrieval-augmented methods or fine-tuning on verified data can correct hallucinations without changing the model architecture.

How to eliminate wrong answers

Option B is wrong because decreasing the temperature parameter to 0.1 makes the model more deterministic and reduces randomness, but it does not provide any factual grounding; it can still hallucinate incorrect specifications. Option C is wrong because increasing max output tokens only allows longer generations and does not improve factual accuracy; it may even increase the chance of errors. Option D is wrong because few-shot prompting with examples can guide the style and format but cannot supply specific, dynamic product specs; the model may still invent details not present in the examples.

176
MCQmedium

A large enterprise is evaluating gen AI for internal knowledge management. They need to ensure accuracy and reduce hallucinations. Which strategy is most effective?

A.Fine-tune a model on domain-specific data
B.Increase model temperature
C.Use Retrieval-Augmented Generation (RAG)
D.Use a larger model without customization
AnswerC

RAG retrieves relevant documents and conditions the model on them, dramatically reducing hallucinations.

Why this answer

Retrieval-Augmented Generation (RAG) is the most effective strategy because it grounds the model's responses in an external, authoritative knowledge base, retrieving relevant documents at inference time to provide factual context. This directly reduces hallucinations by ensuring the generated output is based on retrieved evidence rather than relying solely on the model's parametric memory, which is critical for enterprise knowledge management where accuracy is paramount.

Exam trap

Google Cloud often tests the misconception that fine-tuning is the universal solution for domain adaptation, but the trap here is that fine-tuning does not provide a dynamic, verifiable knowledge source, whereas RAG explicitly decouples knowledge storage from generation, enabling real-time updates and source attribution.

How to eliminate wrong answers

Option A is wrong because fine-tuning on domain-specific data embeds knowledge into the model's weights, which can still lead to hallucinations when the model encounters novel or edge-case queries, and it does not provide a mechanism to cite or verify the source of information. Option B is wrong because increasing model temperature introduces randomness into token selection, which amplifies hallucinations and reduces the determinism required for accurate knowledge retrieval. Option D is wrong because using a larger model without customization does not address the root cause of hallucinations; larger models still rely on parametric memory and can fabricate information, especially for niche or proprietary enterprise data.

177
MCQmedium

Refer to the exhibit. The endpoint is experiencing high latency during traffic spikes. The team wants to improve response time by reducing queueing. Which change to the configuration would be most effective?

A.Decrease minReplicaCount to 0
B.Change the model version to '2'
C.Decrease the target value in autoscaling metric to 50
D.Increase maxReplicaCount to 10
AnswerD

More replicas handle higher load.

Why this answer

Increasing maxReplicaCount to 10 allows the autoscaler to provision more replicas during traffic spikes, distributing the incoming requests across additional endpoints. This directly reduces queueing at each replica because the load is spread over more instances, lowering per-instance latency. The change targets the root cause—insufficient capacity to handle peak load—rather than adjusting thresholds or model versions.

Exam trap

Google Cloud often tests the misconception that lowering the autoscaling target metric (Option C) is the primary fix for high latency, when in fact the maxReplicaCount ceiling is the bottleneck that must be raised to allow sufficient capacity during spikes.

How to eliminate wrong answers

Option A is wrong because decreasing minReplicaCount to 0 would cause the endpoint to scale down to zero replicas during idle periods, leading to cold starts and increased latency when traffic spikes, which worsens queueing. Option B is wrong because changing the model version to '2' does not affect the number of replicas or queueing behavior; it only changes the model artifact, which may have different inference latency but does not address scaling capacity. Option C is wrong because decreasing the target value in the autoscaling metric (e.g., CPU utilization or requests per replica) would cause the autoscaler to add replicas sooner, but without increasing maxReplicaCount, the endpoint may still hit the upper limit and queue requests; the target value adjustment alone does not provide additional capacity during extreme spikes.

178
MCQeasy

A startup wants to generate product descriptions from a few keywords using a large language model. They have no prior ML experience and need the fastest time-to-market. Which Google Cloud service should they use?

A.Vertex AI Studio
B.Vertex AI Workbench with custom training
C.Vertex AI Agent Builder
D.Vertex AI Model Garden
AnswerA

No-code prompt engineering and testing.

Why this answer

Vertex AI Studio provides a no-code/low-code environment with pre-trained foundation models and prompt templates, enabling rapid generation of product descriptions from keywords without any ML expertise. It offers the fastest time-to-market because it eliminates the need for custom model training, infrastructure setup, or coding, directly leveraging Google's generative AI capabilities through a simple interface.

Exam trap

The trap here is that candidates might confuse Vertex AI Studio with Vertex AI Model Garden, thinking Model Garden offers a faster path because it lists models, but Model Garden still requires deployment and configuration steps, whereas Studio provides immediate generation capabilities.

How to eliminate wrong answers

Option B is wrong because Vertex AI Workbench with custom training requires writing code, selecting models, and managing training jobs, which demands ML experience and significantly increases time-to-market compared to using a pre-built solution. Option C is wrong because Vertex AI Agent Builder is designed for creating conversational agents and chatbots, not for generating product descriptions from keywords; it adds unnecessary complexity and overhead for this simple text generation task. Option D is wrong because Vertex AI Model Garden is a repository of pre-trained models that still requires users to select, deploy, and potentially fine-tune models, which involves ML knowledge and setup time, not offering the fastest path for a non-ML team.

179
Multi-Selectmedium

A company wants to build a GenAI application that summarizes customer reviews into actionable insights. The solution must be cost-effective and handle variable traffic. Which TWO strategies should they implement? (Choose 2)

Select 2 answers
A.Deploy on a dedicated GPU cluster to minimize latency
B.Use the largest available foundation model for best accuracy
C.Use a small, fine-tuned model for summarization
D.Implement batching of review summaries to reduce per-request overhead
E.Store all raw reviews in the prompt context to avoid retrieval
AnswersC, D

Smaller models cost less per token and are sufficient for summarization.

Why this answer

Using a smaller model for summarization reduces cost for high volume. Implementing batching groups requests to optimize token usage. Other options increase cost or latency.

180
Multi-Selectmedium

A company wants to adopt GenAI for contract analysis. They are evaluating build vs. buy. Which TWO factors are MOST important when deciding to build a custom fine-tuned model instead of using a pre-built API? (Choose 2)

Select 2 answers
A.Need to deploy the solution within a week
B.Low budget for AI development
C.Desire to keep sensitive contract data within the company's VPC
D.Inability to evaluate model accuracy
E.Requirement for high accuracy on domain-specific legal terminology
AnswersC, E

Build option allows data not to leave the environment, meeting privacy requirements.

Why this answer

Need for domain-specific terminology and data privacy requirements are key reasons to build. Cost and speed of deployment favor buy. Model accuracy can be high for both.

181
Multi-Selecteasy

Which TWO factors are most important when choosing a base foundation model for fine-tuning on a domain-specific task?

Select 2 answers
A.Model size and architecture
B.Model popularity in the developer community
C.Relevance of the model's training data to the target domain
D.Model license (open-source vs. proprietary)
E.Inference latency of the base model
AnswersA, C

Larger models may have better performance but higher cost; architecture affects fine-tuning ease.

Why this answer

Model size and architecture directly determine the capacity for learning domain-specific patterns during fine-tuning. Larger models with more parameters can capture nuanced relationships, while architecture choices like transformer depth or attention mechanisms affect how well the model adapts to specialized tasks. For domain-specific fine-tuning, the base model must have sufficient representational power to avoid catastrophic forgetting and to generalize effectively within the target domain.

Exam trap

The Generative AI Leader exam often tests the misconception that model popularity or license type is a primary technical factor for fine-tuning, when in reality the relevance of pre-training data and model capacity are the decisive criteria.

182
MCQmedium

A company wants to build a customer service chatbot that answers questions about their internal policy documents. The documents are updated monthly, and the team cannot afford to retrain a model each time. Which approach is MOST appropriate?

A.Use Retrieval-Augmented Generation (RAG) with the policy documents indexed in a vector store
B.Use a larger foundation model with a longer context window and paste all documents into each prompt
C.Train a custom model from scratch on the policy documents each month
D.Fine-tune a base LLM on the policy documents monthly
AnswerA

RAG retrieves relevant document chunks at query time, ensuring the chatbot always answers from the latest uploaded documents without any model retraining.

Why this answer

RAG (Retrieval-Augmented Generation) allows the LLM to retrieve relevant document sections at inference time, so knowledge stays current without retraining. The other options either require expensive retraining for each update or lack document grounding.

183
MCQmedium

A healthcare company is building a chatbot to answer patient queries based on their medical documents stored in Cloud Storage. They want to minimize latency and ensure data residency in the EU. Which Vertex AI service should they use?

A.Vertex AI Model Garden with fine-tuning
B.Vertex AI Search with document grounding
C.Vertex AI Agent Builder with web search
D.Vertex AI Codey APIs
AnswerB

Supports private document indexing and data residency controls.

Why this answer

Vertex AI Search with document grounding is correct because it allows the chatbot to ground responses in the customer's own medical documents stored in Cloud Storage, ensuring low latency through optimized indexing and retrieval, while supporting data residency controls to keep data within the EU. This service is specifically designed for enterprise search and Q&A over private document repositories, making it ideal for healthcare use cases requiring compliance and fast responses.

Exam trap

The trap here is that candidates may confuse Vertex AI Search (which grounds in private documents) with Vertex AI Agent Builder (which defaults to web search), or assume fine-tuning is necessary for domain-specific Q&A when retrieval-augmented generation (RAG) with document grounding is the correct approach for minimizing latency and ensuring data residency.

How to eliminate wrong answers

Option A is wrong because Vertex AI Model Garden with fine-tuning is intended for selecting and customizing foundation models, not for directly grounding answers in specific documents; it would require additional retrieval infrastructure and does not natively enforce data residency. Option C is wrong because Vertex AI Agent Builder with web search grounds responses in public web data, not private medical documents, and cannot guarantee data residency in the EU. Option D is wrong because Vertex AI Codey APIs are specialized for code generation and completion, not for answering queries based on document content.

184
MCQhard

An AI research lab wants to publish a model card for their new generative AI model. According to Google's Responsible AI practices, which information is ESSENTIAL to include in the model card?

A.The exact architecture and hyperparameters used
B.The intended use, performance metrics, and known limitations
C.A list of all training hardware and software versions
D.The names and salaries of the development team
AnswerB

Model Cards standard practice includes intended use, evaluation results, and limitations to inform users and mitigate misuse.

Why this answer

Model Cards should disclose intended use, performance metrics, and known limitations to promote transparency and accountability.

185
Multi-Selectmedium

Which TWO features are available in Vertex AI Agent Builder to enhance the conversational abilities of an agent? (Choose TWO.)

Select 2 answers
A.Slot filling
B.Sentiment analysis
C.Code execution
D.Intent matching
E.Knowledge base integration
AnswersA, D

Slot filling collects required parameters from user input.

Why this answer

Slot filling is correct because it allows the agent to collect required parameters (slots) from the user during a conversation, enabling multi-turn interactions to fulfill complex requests. In Vertex AI Agent Builder, slot filling is a core feature for conversational agents, as it systematically prompts for missing information (e.g., date, location) until all necessary slots are filled, enhancing the agent's ability to handle dynamic user inputs.

Exam trap

The trap here is that candidates often confuse 'knowledge base integration' as a core conversational feature, but it is actually a retrieval-augmented generation (RAG) capability for grounding, not a direct mechanism for managing dialogue flow like slot filling or intent matching.

186
MCQeasy

A company wants to measure the business impact of a GenAI content generation tool. Which metric is most appropriate?

A.Reduction in content production time
B.Number of model parameters
C.Model accuracy on a test set
D.Training loss
AnswerA

This metric directly measures the business value of automation and efficiency.

Why this answer

The primary business impact of a GenAI content generation tool is operational efficiency, measured by the reduction in content production time. This metric directly correlates to cost savings and faster time-to-market, which are key business outcomes. Unlike technical metrics, it reflects real-world value delivery.

Exam trap

Google Cloud often tests the confusion between technical performance metrics (e.g., accuracy, loss) and business impact metrics (e.g., time savings, cost reduction), leading candidates to select a technically impressive but irrelevant option like model parameters or accuracy.

How to eliminate wrong answers

Option B is wrong because the number of model parameters is a model architecture metric, not a business impact metric; it does not measure how the tool affects content production workflows or ROI. Option C is wrong because model accuracy on a test set evaluates technical performance on a static dataset, not the tool's effectiveness in a dynamic business environment where content quality and relevance vary. Option D is wrong because training loss is a training-phase optimization metric that indicates model convergence, not post-deployment business outcomes like productivity gains.

187
MCQeasy

What is the primary purpose of the temperature parameter when using a generative language model?

A.It sets the maximum number of tokens the model can generate in a single response
B.It determines the number of candidate tokens considered at each step
C.It adjusts the similarity threshold for vector search retrieval
D.It controls the randomness of token selection; lower values make output more deterministic
AnswerD

Temperature affects the probability distribution — low temperature sharpens the distribution, making high-probability tokens more likely.

Why this answer

Temperature controls the randomness of token selection. Lower values produce more deterministic and conservative outputs, while higher values increase diversity and creativity.

188
MCQeasy

A startup wants to leverage Google Cloud's generative AI but has limited ML expertise. Which Google Cloud service allows them to build generative AI applications without deep ML knowledge?

A.Vertex AI Generative AI Studio
B.Cloud TPU
C.TensorFlow
D.Apigee
AnswerA

Design and deploy generative AI apps without coding.

Why this answer

Vertex AI Generative AI Studio is a managed service that provides a low-code/no-code interface for building, testing, and deploying generative AI applications using pre-trained foundation models. It abstracts away the complexities of model training, infrastructure management, and ML pipeline orchestration, enabling teams with limited ML expertise to leverage generative AI capabilities through simple prompts and visual workflows.

Exam trap

The trap here is that candidates confuse infrastructure-level services (Cloud TPU) or developer tools (TensorFlow) with managed application-building platforms, assuming that any ML-related Google Cloud service can be used without expertise, when in fact only Vertex AI Generative AI Studio provides the necessary abstraction for non-ML practitioners.

How to eliminate wrong answers

Option B (Cloud TPU) is wrong because Cloud TPUs are specialized hardware accelerators designed for training and running large-scale ML models, requiring deep expertise in distributed computing, model optimization, and TensorFlow/PyTorch programming — not a service for building generative AI applications without ML knowledge. Option C (TensorFlow) is wrong because TensorFlow is an open-source ML framework that requires programming skills to define, train, and deploy models; it does not provide a managed, no-code interface for generative AI application development. Option D (Apigee) is wrong because Apigee is an API management platform focused on securing, scaling, and analyzing API traffic, not a service for building or deploying generative AI models or applications.

189
MCQmedium

A company wants to generate images from text descriptions. Which model in Vertex AI Model Garden should they use?

A.Chirp
B.Codey
C.PaLM 2
D.Imagen
AnswerD

Imagen generates images from text.

Why this answer

Imagen is the correct choice because it is a text-to-image model in Vertex AI Model Garden specifically designed to generate high-fidelity images from natural language descriptions. Unlike the other options, Imagen uses a diffusion-based architecture to create photorealistic visuals, making it the only option that directly addresses the requirement of generating images from text.

Exam trap

The trap here is that candidates may confuse PaLM 2's multimodal capabilities (which include image understanding but not generation) with Imagen's generative ability, leading them to incorrectly select PaLM 2 for text-to-image tasks.

How to eliminate wrong answers

Option A is wrong because Chirp is a speech-to-text and text-to-speech model in Vertex AI, focused on audio processing, not image generation. Option B is wrong because Codey is a code generation model specialized in writing and completing code, not generating images from text. Option C is wrong because PaLM 2 is a large language model for text generation, reasoning, and chat, but it does not have the capability to produce visual outputs like images.

190
MCQmedium

A company uses Vertex AI to deploy a generative model for customer support. They need to ensure that the model does not produce harmful content when responding to user queries. Which of the following is the MOST effective approach?

A.Instruct customers to report harmful responses for future model updates
B.Prompt the model to 'be safe' and rely on its training to avoid harmful content
C.Use Vertex AI's safety filters and adjust safety settings per category
D.Review all responses manually before sending to customers
AnswerC

Safety filters are designed to block harmful content across categories; they are the recommended mechanism.

Why this answer

Vertex AI's safety filters and adjustable safety settings are the built-in, most effective way to block harmful content. The other options are either insufficient or place undue burden on users.

191
MCQhard

A team has developed a generative AI model for real-time translation. The evaluation metrics and business requirements are shown. Which business decision is most appropriate given the trade-offs?

A.Accept the model as-is because all other metrics are within limits.
B.Optimize the model for cost efficiency, even if accuracy drops slightly to 90%.
C.Prioritize latency reduction even if it increases cost.
D.Reduce accuracy to 85% to achieve both latency and cost targets.
AnswerB

Cost is the only metric out of range; minor accuracy loss is acceptable.

Why this answer

The business requirements prioritize cost efficiency as the primary constraint, and the model currently exceeds the cost target. A slight accuracy drop to 90% (still within acceptable limits) allows cost to be reduced, aligning with the core business goal. The trade-off is acceptable since latency and other metrics remain within bounds, and accuracy at 90% still meets the minimum threshold for real-time translation quality.

Exam trap

Google Cloud often tests the ability to prioritize business constraints over model perfection, and the trap here is assuming that accuracy must be preserved at all costs, when in fact cost efficiency is the binding requirement and a small accuracy trade-off is acceptable.

How to eliminate wrong answers

Option A is wrong because accepting the model as-is ignores the fact that cost exceeds the business requirement, which is a critical failure for deployment at scale. Option C is wrong because prioritizing latency reduction, even if it increases cost, directly violates the cost constraint and does not address the primary business need for cost efficiency. Option D is wrong because reducing accuracy to 85% is unnecessary; the cost target can likely be met with a smaller accuracy drop (e.g., to 90%), and 85% may fall below the acceptable quality threshold for real-time translation, risking user trust.

192
MCQmedium

A developer is building a multimodal application that needs to analyze images, understand spoken language, and generate text responses. Which Google Cloud generative AI model is BEST suited for this task?

A.PaLM 2 for text generation
B.Imagen for image generation
C.Chirp for speech recognition
D.Gemini 1.5 Pro
AnswerD

Gemini 1.5 Pro is a multimodal model capable of processing text, images, audio, and video in a single model.

Why this answer

Gemini models are natively multimodal, accepting text, image, audio, and video inputs. PaLM 2 is text-only. Imagen is for image generation.

Chirp is for speech recognition/synthesis.

193
MCQmedium

A company wants to create a GenAI application that can answer questions about their internal policy documents, but they require that the model's responses are grounded in the actual documents to avoid hallucination. Which Vertex AI feature should they use?

A.Vertex AI Studio
B.Vertex AI Agent Builder
C.Grounding with Google Search (or enterprise data sources)
D.Model Garden
AnswerC

Grounding connects the model to external sources, reducing hallucinations by basing responses on retrieved information.

Why this answer

Grounding with Google Search or enterprise data sources ensures responses are based on verified sources. RAG Engine is a broader tool for building RAG applications. Vertex AI Studio is for prompt design.

Agent Builder is for conversational agents but may not provide grounding directly.

194
MCQhard

A developer is building a mobile app that needs to run an AI model on-device for low-latency inference even without internet. Which Gemini model variant is designed for on-device deployment?

A.Gemini Pro
B.Gemini Ultra
C.Gemini Flash
D.Gemini Nano
AnswerD

Nano is designed for on-device inference.

Why this answer

Gemini Nano is optimized for on-device execution on mobile devices.

195
MCQeasy

A sales team needs to draft personalized emails to prospects. They want a tool integrated into Gmail that suggests completions and can generate full drafts based on brief prompts. Which Gemini for Google Workspace feature should they use?

A.Gemini in Sheets with formula assistance
B.Gemini in Meet for meeting summaries
C.Gemini in Gmail with Smart Compose and 'Help me write'
D.Gemini in Docs with 'Help me write'
AnswerC

These features provide inline suggestions and draft generation in Gmail.

Why this answer

Smart Compose and 'Help me write' in Gmail provide AI-powered suggestions and draft generation directly within the email interface.

196
MCQhard

A healthcare organization wants to deploy a GenAI chatbot for patient intake. They must ensure that the model does not generate harmful advice and that patient data remains confidential. Which set of controls should they implement on Vertex AI?

A.Use model tuning with only positive examples
B.Enable safety filters, use VPC Service Controls, and enforce Private Google Access
C.Disable logging and restrict API keys
D.Use a public model endpoint and rely on prompt engineering
AnswerB

Safety filters moderate outputs; VPC Service Controls and Private Google Access keep data on-premises.

Why this answer

Safety filters block harmful content; VPC Service Controls keep data within the customer's VPC; Private Google Access prevents data exfiltration. The other options lack these combined controls.

197
MCQeasy

A researcher wants to quickly prototype an AI model using a free, hosted Jupyter notebook environment with GPU support. Which Google product is BEST suited for this?

A.AI Platform Notebooks
B.Kaggle Notebooks
C.Google Colab
D.Vertex AI Workbench
AnswerC

Colab offers free, hosted Jupyter notebooks with GPU, ideal for quick prototyping.

Why this answer

Google Colab provides free hosted Jupyter notebooks with GPU support. Kaggle is for datasets and competitions but not primarily for notebooks. Vertex AI Workbench and AI Platform are enterprise tools with costs.

198
MCQmedium

A company is using Vertex AI to generate marketing copy. They notice that the output sometimes contains factual inaccuracies. Which parameter adjustment is most likely to improve factual accuracy?

A.Decrease the temperature parameter.
B.Increase the max_output_tokens parameter.
C.Increase the top_p parameter.
D.Add a post-processing step to verify facts using a database.
AnswerA

Lower temperature reduces randomness, making output more factual.

Why this answer

Decreasing the temperature parameter reduces the randomness of the model's output, making it more deterministic and less likely to generate creative but factually incorrect content. Lower temperature (e.g., 0.1) forces the model to choose higher-probability tokens, which aligns with more factual and consistent responses, especially in tasks like marketing copy where accuracy is critical.

Exam trap

Google Cloud often tests the misconception that increasing output length or diversity (via top_p or max_tokens) improves quality, when in fact these parameters increase randomness and the likelihood of hallucination, whereas lowering temperature is the direct lever for factual accuracy.

How to eliminate wrong answers

Option B is wrong because increasing max_output_tokens only extends the length of the generated text, which can increase the chance of hallucinations as the model continues generating beyond its reliable context window; it does not improve factual accuracy. Option C is wrong because increasing top_p (nucleus sampling) allows the model to consider a larger set of probable tokens, increasing diversity and randomness, which can worsen factual inaccuracies rather than reduce them. Option D is wrong because adding a post-processing step to verify facts using a database is a valid engineering solution but is not a parameter adjustment of the generative model itself; the question specifically asks for a parameter adjustment, and this option represents a workflow change, not a model parameter.

199
MCQhard

An organization is deploying a summarization model on Vertex AI and needs to ensure that the model's responses are consistent and avoid hallucinations. They have a labeled dataset of source documents and human-written summaries. Which approach would best align the model with their quality requirements?

A.Deploy the model with a larger max_output_tokens
B.Use prompt engineering with few-shot examples
C.Increase the temperature to 0.9
D.Perform supervised fine-tuning using their labeled dataset
AnswerD

Fine-tuning adapts the model to the specific summarization style and reduces errors.

Why this answer

Supervised fine-tuning (D) directly optimizes the model's weights using the labeled dataset of source documents and human-written summaries, which teaches the model to produce consistent, factual outputs and reduces hallucinations. This approach aligns the model's behavior with the specific quality requirements by learning from ground-truth examples, unlike prompt engineering or parameter adjustments that do not modify the underlying model.

Exam trap

The trap here is that candidates often overestimate the power of prompt engineering or parameter tweaks, mistakenly believing they can achieve the same level of reliability as fine-tuning, when in fact only supervised fine-tuning directly modifies the model to internalize the labeled data's quality standards.

How to eliminate wrong answers

Option A is wrong because increasing max_output_tokens only extends the length limit of the response, which does not improve consistency or reduce hallucinations—it may actually allow the model to generate more unverified content. Option B is wrong because prompt engineering with few-shot examples provides in-context guidance but does not permanently adjust the model's weights; it is less reliable for ensuring consistent, hallucination-free outputs across diverse inputs compared to fine-tuning. Option C is wrong because increasing temperature to 0.9 increases randomness in token selection, which amplifies variability and the risk of hallucinations, directly opposing the goal of consistency.

200
MCQmedium

A financial institution is deploying a generative AI model to recommend investment strategies. They must ensure the model's outputs are explainable to clients and regulators. Which approach BEST meets this requirement?

A.Apply differential privacy to the training data
B.Aggregate model outputs across multiple runs to reduce variance
C.Use a larger model with more parameters to improve accuracy
D.Implement chain-of-thought prompting and cite sources for each recommendation
AnswerD

Chain-of-thought reveals the reasoning path, and citations ground outputs in verifiable data, satisfying explainability requirements.

Why this answer

Explainability in GenAI can be achieved by grounding outputs in verifiable sources and showing the reasoning process. Chain-of-thought reasoning provides step-by-step logic, making recommendations auditable.

201
MCQeasy

A marketing team wants to generate product descriptions for 1000 new items. They need consistent brand voice and the ability to review and edit outputs before publishing. Which approach is most suitable?

A.Use the Gemini API with grounding in Google Search to ensure factual accuracy
B.Deploy a customer service chatbot in Vertex AI Agent Builder to generate descriptions
C.Use the Gemini API with a few-shot prompt that includes examples of the desired brand voice
D.Build a custom fine-tuned model on past product descriptions
AnswerC

Few-shot prompting is fast, cost-effective, and allows the team to iterate on prompts until the tone is right. Outputs can be reviewed and edited before publishing.

Why this answer

Using the Gemini API with a few-shot prompt containing examples of desired tone gives the team control and consistency while allowing quick edits. Fine-tuning would take time and cost, and a chatbot is not designed for batch generation. Grounding with Google Search is unnecessary for generated descriptions.

202
MCQhard

Refer to the exhibit. A team's IAM policy for Vertex AI includes the following binding. They can deploy models but cannot create tuning jobs. Which statement is true?

A.The developer needs the aiplatform.admin role
B.The aiplatform.user role overrides the modelUser role
C.The aiplatform.user role lacks permission to create tuning jobs
D.The policy is missing the aiplatform.specialist role
AnswerC

Missing aiplatform.tuningJobs.create permission.

Why this answer

The roles/aiplatform.user role does not include permission to create tuning jobs (aiplatform.tuningJobs.create). The modelUser role does not override the user role, admin role is not needed, and specialist role doesn't exist.

203
MCQhard

A company is building a generative AI application that will generate marketing copy. They want to ensure that the content does not contain hate speech, violence, sexual content, or dangerous instructions. Which Google Cloud feature should they enable?

A.Configure safety filters and custom content controls in Vertex AI
B.Use the People + AI Guidebook to design prompts
C.Enable Model Card generation in Vertex AI
D.Implement a human review loop for all outputs
AnswerA

Vertex AI provides safety filters and custom controls to block harmful categories.

Why this answer

Google's safety filters are designed to block harmful content categories. Vertex AI provides custom content controls to adjust thresholds. The other options are for different purposes.

204
MCQeasy

A marketing team wants to generate product descriptions using generative AI. They need to ensure factual accuracy and avoid hallucinations. Which approach should they use?

A.Use a code generation model to generate structured descriptions.
B.Fine-tune the model on all product descriptions using supervised learning.
C.Implement a retrieval augmented generation (RAG) system that retrieves product facts from a database.
D.Use a large language model with detailed prompt instructions to be accurate.
AnswerC

RAG grounds the model's output in retrieved facts, improving accuracy.

Why this answer

Retrieval Augmented Generation (RAG) is the correct approach because it grounds the model's output in verifiable, external data sources. By retrieving product facts from a database in real-time, the system ensures that the generated descriptions are based on accurate information, directly mitigating the risk of hallucination. This method combines the generative power of an LLM with a retrieval step that provides factual context, making it ideal for applications where precision is critical.

Exam trap

Google Cloud often tests the misconception that detailed prompting alone (Option D) is sufficient to guarantee factual accuracy, when in reality, without external knowledge retrieval, the model can still generate plausible but incorrect information.

How to eliminate wrong answers

Option A is wrong because code generation models are designed to produce structured code or data formats, not to ensure factual accuracy in natural language product descriptions; they lack a retrieval mechanism to verify facts. Option B is wrong because fine-tuning on all product descriptions using supervised learning can embed training data biases and does not prevent hallucination on unseen or updated product facts; it also requires extensive labeled data and retraining for each change. Option D is wrong because while detailed prompt instructions can guide the model, they do not provide a mechanism to access or verify external facts; the model may still hallucinate based on its parametric knowledge, which can be outdated or incorrect.

205
MCQhard

A data science team wants to run a large-scale transformer training job with custom model architectures. They need the highest compute density for a multi-node job and want to minimize inter-node communication latency. Which Google Cloud infrastructure is BEST suited for this workload?

A.A single TPU v5e VM with multiple accelerators
B.A cluster of A100 GPU VMs connected via standard networking
C.TPU v4 Pod slices with high-speed inter-chip interconnect
D.Cloud Run jobs with GPU acceleration
AnswerC

TPU v4 Pods provide massive compute density and fast inter-chip communication, optimal for large transformer training.

Why this answer

TPU v4 Pod slices provide the highest compute density for multi-node transformer training by using a custom 3D torus interconnect with 800 Gbps per chip bandwidth, which minimizes inter-node communication latency far below what standard networking can achieve. This architecture is specifically designed for large-scale model parallelism, making it ideal for custom transformer architectures that require frequent all-reduce and collective communication operations.

Exam trap

The trap here is that candidates often assume GPU clusters with standard networking (Option B) are sufficient for multi-node training, underestimating how drastically inter-node latency impacts scaling efficiency for transformer models with large parameter counts.

How to eliminate wrong answers

Option A is wrong because a single TPU v5e VM, while powerful, is limited to a single host and cannot scale to multi-node training without incurring network latency between separate TPU hosts. Option B is wrong because A100 GPU VMs connected via standard networking (e.g., 100 Gbps Ethernet) introduce significant inter-node latency compared to TPU Pods' dedicated high-speed interconnects, which are optimized for synchronous training. Option D is wrong because Cloud Run jobs are serverless and designed for stateless, short-lived tasks, not for large-scale, multi-node distributed training with custom model architectures that require persistent, high-bandwidth inter-node communication.

206
MCQmedium

A company needs to fine-tune a foundation model on Vertex AI for a custom text classification task with only 500 labeled examples. They want to minimize cost while achieving high accuracy. What is the MOST cost-effective approach?

A.Fine-tune the foundation model using full fine-tuning on the entire dataset.
B.Use model distillation to train a smaller student model.
C.Use Vertex AI LLM-based evaluation to compare multiple large models and select the best one.
D.Design prompts with few-shot examples and test it with the available data.
AnswerD

Prompt engineering with few-shot examples is low-cost and effective for small datasets.

Why this answer

The most cost-effective because it leverages prompt engineering with few-shot examples, which requires no training or infrastructure costs. With only 500 labeled examples, a well-designed prompt can often achieve high accuracy for custom text classification without the expense of fine-tuning or model distillation on Vertex AI.

Exam trap

The trap here is that candidates often assume fine-tuning or distillation is always necessary for custom tasks, overlooking that prompt engineering with few-shot examples can be highly effective and cost-efficient for small datasets.

How to eliminate wrong answers

Option A is wrong because full fine-tuning on only 500 examples is computationally expensive and may lead to overfitting, especially for a large foundation model, making it cost-inefficient. Option B is wrong because model distillation requires training a smaller student model using a larger teacher model, which involves significant compute and data costs, and is not justified for a small dataset. Option C is wrong because using Vertex AI LLM-based evaluation to compare multiple large models incurs high inference costs and does not directly solve the classification task; it is an evaluation step, not a deployment approach.

207
MCQmedium

A retail company wants to use GenAI to generate product descriptions. They have a small team of data scientists. What is the most efficient approach?

A.Collect more data for several months before starting
B.Train a model from scratch using their product data
C.Use a foundation model API with prompt engineering and few-shot examples
D.Buy a proprietary model from a startup
AnswerC

A foundation model API provides high-quality output with minimal effort; prompt engineering tailors it to product descriptions.

Why this answer

Using a foundation model API with prompt engineering and few-shot examples is the most efficient approach for a small team. It leverages pre-trained models (e.g., GPT-4, Claude) via API calls, requiring no infrastructure or training data, while prompt engineering and few-shot examples allow the model to adapt to the company's product catalog with minimal effort and cost.

Exam trap

Google Cloud often tests the misconception that more data or custom training is always better, but the trap here is that candidates overlook the efficiency and sufficiency of foundation model APIs with prompt engineering for small teams with limited data and compute resources.

How to eliminate wrong answers

Option A is wrong because collecting more data for several months delays deployment unnecessarily; foundation models already have broad language understanding and can generate product descriptions with minimal domain-specific data via few-shot prompting. Option B is wrong because training a model from scratch is computationally expensive, requires large labeled datasets, and demands deep ML expertise, which is inefficient for a small team with limited resources. Option D is wrong because buying a proprietary model from a startup introduces vendor lock-in, potential licensing costs, and may not offer the flexibility or rapid iteration that API-based foundation models provide.

208
MCQhard

A developer is using Vertex AI Generative AI Studio to fine-tune a PaLM 2 model for code generation. After training, they notice the model generates plausible but incorrect code. What is the most likely cause?

A.Overfitting to training data
B.Insufficient training steps
C.Hallucination due to lack of grounding
D.Prompt format mismatch
AnswerA

Overfitting leads to memorization of training data, including mistakes, reducing generalization.

Why this answer

When a PaLM 2 model generates plausible but incorrect code after fine-tuning, the most likely cause is overfitting to the training data. Overfitting occurs when the model memorizes specific code patterns, syntax, or even bugs from the fine-tuning dataset rather than learning generalizable programming logic. This results in outputs that look syntactically correct and contextually relevant but fail to execute properly or solve the intended problem, because the model has not learned the underlying algorithmic principles.

Exam trap

The trap here is that candidates confuse 'plausible but incorrect code' with hallucination (Option C), but hallucination in code generation typically produces non-existent functions or libraries, whereas overfitting produces code that is syntactically valid and uses real functions but contains logical errors learned from the training data.

How to eliminate wrong answers

Option B is wrong because insufficient training steps typically lead to underfitting, where the model fails to capture even basic patterns from the training data, resulting in incoherent or irrelevant code—not plausible but incorrect code. Option C is wrong because hallucination due to lack of grounding is a phenomenon more associated with factual inaccuracies in text generation (e.g., inventing API names or libraries), not with generating syntactically valid but logically flawed code; fine-tuning on code data directly addresses grounding. Option D is wrong because prompt format mismatch would cause the model to misinterpret the input structure or produce outputs in the wrong format, not generate code that appears correct but is functionally wrong.

209
MCQhard

You are a Generative AI architect at a large financial services firm. The firm has deployed a custom large language model (LLM) fine-tuned on proprietary financial reports to assist analysts in generating quarterly earnings summaries. The model is hosted on Vertex AI using a dedicated endpoint with autoscaling enabled. Recently, the model's output has exhibited two issues: (1) occasional factual inaccuracies about specific financial figures, and (2) a tendency to produce overly verbose and repetitive text in the summaries, sometimes exceeding the desired length of 200 words. The team has already tried adjusting the temperature parameter from 0.7 to 0.2 and increased the top-k sampling from 40 to 50, but the problems persist. The model's training data includes over 10,000 financial reports, and the fine-tuning process used low-rank adaptation (LoRA) with rank 16. The production environment uses a batch size of 1 for inference. You need to recommend a course of action that most directly addresses both the factual accuracy and verbosity issues without requiring a full retraining of the model. Which approach should you take?

A.Increase the LoRA rank to 32 and fine-tune the model for additional epochs on a curated subset of reports that focus on concise and accurate summaries.
B.Implement a retrieval-augmented generation (RAG) pipeline that queries a vector database of verified financial data, and apply constrained decoding with a maximum token limit and a repetition penalty.
C.Switch to a larger pre-trained model (e.g., PaLM 2 or GPT-4) and use the same fine-tuning data with higher rank LoRA to improve capability, then rely on the larger model's inherent accuracy.
D.Experiment with higher temperature (e.g., 0.9) and lower top-k (e.g., 20) to encourage more diverse and concise outputs, and add a post-processing step to truncate summaries to 200 words.
AnswerB

This directly improves factual accuracy by grounding outputs in retrieved evidence and reduces verbosity through decoding constraints, without retraining.

Why this answer

It directly addresses both issues without retraining. A RAG pipeline grounds the model's outputs in verified financial data, eliminating factual inaccuracies. Constrained decoding with a maximum token limit and repetition penalty directly curbs verbosity and repetition, which temperature and top-k adjustments failed to fix.

Exam trap

Google Cloud often tests the misconception that adjusting hyperparameters like temperature or top-k can fix factual accuracy and verbosity, when in reality these issues stem from the model's lack of external knowledge and lack of output constraints, which require architectural changes like RAG and constrained decoding.

How to eliminate wrong answers

Option A is wrong because increasing LoRA rank and fine-tuning on a curated subset still relies on the model's parametric memory, which is prone to hallucination and does not guarantee factual accuracy; it also requires retraining, contradicting the 'no full retraining' constraint. Option C is wrong because switching to a larger model does not inherently solve factual inaccuracies (larger models can still hallucinate) and requires full retraining or significant adaptation, violating the constraint. Option D is wrong because higher temperature (0.9) increases randomness, likely worsening factual inaccuracies, and lower top-k (20) reduces diversity, which may not fix verbosity; post-processing truncation does not address the root cause of repetition or inaccuracy.

210
MCQmedium

A company is building a chatbot that must answer questions based on a large internal knowledge base that is updated weekly. They want to avoid retraining the model frequently. Which technique should they use?

A.Use Retrieval-Augmented Generation (RAG) with a vector database
B.Use prompt engineering to instruct the model to ignore outdated information
C.Increase the model's context window and include all documents in the prompt
D.Fine-tune the model weekly on the updated knowledge base
AnswerA

RAG retrieves relevant documents from the latest knowledge base at query time, ensuring up-to-date responses.

Why this answer

RAG retrieves relevant documents at inference time, keeping answers up-to-date without retraining. Fine-tuning would require frequent retraining; prompt engineering alone cannot incorporate new knowledge.

211
MCQhard

You are a data scientist at a financial institution. You are using Vertex AI to fine-tune a large language model (LLM) for generating financial reports. You have prepared a dataset of 10,000 examples. During fine-tuning, you notice that the training loss is decreasing steadily, but the validation loss is increasing after 5 epochs. The model's generated reports on the validation set contain many factual errors and nonsensical statements. You suspect overfitting. You have limited compute budget and need to improve generalization. What should you do?

A.Increase the learning rate
B.Increase the number of training epochs to 20
C.Add more training examples from a public dataset
D.Implement early stopping with a patience of 2 epochs
AnswerD

Early stopping prevents overfitting.

Why this answer

Early stopping with a patience of 2 epochs is the correct approach because it directly addresses overfitting by halting training when the validation loss fails to improve for a specified number of epochs. This preserves the model's generalization ability without requiring additional compute or data, which aligns with the limited budget constraint. In Vertex AI, early stopping is a built-in hyperparameter tuning strategy that monitors validation metrics and stops the job to prevent further degradation.

Exam trap

The trap here is that candidates often confuse overfitting with underfitting and choose to add more data or increase epochs, failing to recognize that the validation loss increasing while training loss decreases is the classic sign of overfitting, which requires a regularization technique like early stopping.

How to eliminate wrong answers

Option A is wrong because increasing the learning rate would make the optimizer take larger steps, which can cause the loss to diverge or oscillate, worsening the overfitting and factual errors. Option B is wrong because increasing the number of training epochs to 20 would continue training on the same data, likely exacerbating overfitting as the validation loss is already increasing after 5 epochs. Option C is wrong because adding more training examples from a public dataset may introduce domain mismatch or noise, and it does not address the immediate overfitting issue; it also requires additional compute and data curation resources, contradicting the limited budget constraint.

212
Multi-Selecthard

A law firm wants to use generative AI to analyze contracts and extract key clauses. They need high accuracy and the ability to handle diverse contract formats. Which three steps should they take in their proof-of-concept (PoC) phase? (Choose THREE)

Select 3 answers
A.Use few-shot prompting with examples of desired clause extraction
B.Implement a human-in-the-loop review process for extracted clauses
C.Test on a diverse set of 50-100 contracts covering common variations
D.Deploy a pre-built contract analysis API without customization
E.Train a custom model from scratch using all historical contracts
AnswersA, B, C

Few-shot examples guide the model to produce consistent, structured outputs.

Why this answer

Few-shot prompting provides the model with specific examples of desired clause extraction, guiding it to produce accurate outputs without requiring fine-tuning. This technique is efficient for a proof-of-concept because it leverages the model's existing capabilities while adapting to the task through in-context learning, which is critical for handling diverse contract formats with high accuracy.

Exam trap

The Generative AI Leader exam often tests the misconception that a proof-of-concept should aim for a production-ready solution immediately, leading candidates to choose options like D (pre-built API) or E (custom training) instead of focusing on iterative, low-cost validation steps like few-shot prompting and human review.

213
MCQeasy

Which Google Cloud tool allows you to document the intended use, training data, and evaluation results of a machine learning model to promote transparency?

A.PAIR Explorables
B.Model Cards
C.Datasheets for Datasets
D.People + AI Guidebook
AnswerB

Model Cards specifically document model details including intended use, training data, and evaluation results.

Why this answer

Model Cards are designed to provide transparent documentation of ML models, including intended use, training data, and evaluation results.

214
Multi-Selectmedium

What are THREE best practices for responsible generative AI deployment?

Select 3 answers
A.Monitor model performance and data drift over time
B.Maximize model size for best accuracy
C.Maintain human oversight for critical decisions
D.Implement content filters to block harmful or biased outputs
E.Avoid fine-tuning the model to preserve original capabilities
AnswersA, C, D

Continuous monitoring helps detect degradation and ensures the model remains reliable.

Why this answer

Continuous monitoring of model performance and data drift is essential for maintaining the reliability and safety of generative AI systems. Data drift occurs when the statistical properties of input data change over time, which can degrade model accuracy and introduce unintended biases. Regular monitoring allows teams to detect these shifts early and retrain or adjust the model to sustain responsible behavior.

Exam trap

Google Cloud often tests the misconception that bigger models are always better, but the trap here is that responsible AI deployment focuses on safety, fairness, and reliability rather than raw performance metrics like model size.

215
Multi-Selectmedium

Which TWO actions are recommended best practices for cost optimization when deploying generative AI models on Vertex AI?

Select 2 answers
A.Use batch prediction for non-real-time workloads
B.Set up autoscaling with a minimum number of replicas to avoid excessive scaling
C.Deploy the model in a single region to reduce network costs
D.Store all model prediction logs indefinitely for auditing
E.Always use GPU instances for inference
AnswersA, B

Batch prediction uses preemptible VMs, reducing cost.

Why this answer

Batch prediction processes predictions asynchronously in large batches, which is significantly more cost-effective than online (real-time) prediction for workloads that do not require immediate responses. Vertex AI batch prediction jobs automatically scale down to zero when not in use, eliminating idle compute costs, and you only pay for the resources consumed during the job execution.

Exam trap

Google Cloud often tests the misconception that single-region deployment always reduces costs, when in reality it can increase network egress charges and latency penalties for global users, making multi-region strategies with traffic management more cost-effective.

216
Multi-Selecteasy

A data analyst wants to use Gemini for Google Workspace to assist with Sheets. Which two capabilities does Duet AI in Sheets provide? (Choose TWO)

Select 2 answers
A.Generate formula suggestions based on natural language descriptions
B.Classify and tag data in columns automatically
C.Apply conditional formatting rules based on patterns
D.Create charts from images pasted into the sheet
E.Write custom Apps Script code automatically
AnswersA, B

Users can describe what they want, and Duet AI suggests the formula.

Why this answer

Duet AI in Sheets can interpret natural language descriptions of desired calculations and automatically generate the corresponding formula. This leverages Gemini's language understanding to translate user intent into spreadsheet functions, significantly reducing the need to manually recall or construct complex formulas.

Exam trap

The trap here is that candidates may confuse Duet AI's formula suggestion capability with broader automation features like custom scripting or image-based chart creation, which are not supported in the current Duet AI for Sheets implementation.

217
MCQmedium

A team set a budget alert for their GenAI API usage at $10,000. They received the alert with current spend of $12,500. Which business action is most appropriate as a first step?

A.Pause all non-critical use cases immediately
B.Switch to a cheaper model provider
C.Review usage patterns and optimize prompt lengths and frequencies
D.Increase the budget by 50% to $15,000
AnswerC

Optimizing usage is the most cost-effective first step; it can reduce consumption without disrupting operations.

Why this answer

The first step in responding to a budget overrun should be to analyze usage patterns and optimize prompt lengths and frequencies. This approach identifies inefficiencies (e.g., unnecessarily verbose prompts, excessive retries) that directly reduce token consumption and cost without disrupting critical operations. It aligns with the principle of cost optimization before making architectural or policy changes.

Exam trap

Google Cloud often tests the misconception that immediate cost-cutting actions (like pausing or switching models) are the best first step, when in fact data-driven analysis and optimization should precede any operational or financial changes.

How to eliminate wrong answers

Option A is wrong because pausing all non-critical use cases is a reactive, blunt measure that may disrupt business processes and does not address the root cause of cost overruns; it should be considered only after analysis shows specific non-critical usage is the primary driver. Option B is wrong because switching to a cheaper model provider without understanding current usage patterns risks degrading output quality or compatibility, and may not address inefficiencies like prompt bloat or high-frequency calls. Option D is wrong because increasing the budget without investigating the overrun ignores the underlying issue and can lead to uncontrolled spending; it is a financial workaround, not a cost management strategy.

218
Multi-Selectmedium

A company is planning an iterative rollout of a GenAI assistant for sales teams. They want to maximize adoption and minimize disruption. Which TWO change management practices should they prioritize? (Choose two.)

Select 2 answers
A.Provide hands-on training sessions and documentation
B.Disable the legacy system immediately after GenAI launch
C.Roll out to all employees simultaneously to create urgency
D.Identify AI champions in the sales team to pilot the tool first
E.Set a mandatory usage target for each sales rep
AnswersA, D

Training reduces confusion and helps employees use the tool effectively.

Why this answer

Hands-on training and documentation directly address the learning curve and anxiety associated with adopting a GenAI assistant, ensuring users understand how to interact with the model effectively (e.g., prompt engineering basics, interpreting outputs) and reducing friction. This practice aligns with the iterative rollout strategy by providing staged support, which maximizes adoption through competence and confidence rather than coercion.

Exam trap

The Generative AI Leader exam often tests the misconception that aggressive mandates or full-scale rollouts create urgency and speed adoption, but in GenAI contexts, they actually increase resistance and risk of failure due to the need for trust calibration and iterative refinement of model behavior.

219
MCQhard

A financial services firm is deploying a generative AI chatbot for customer inquiries. They have strict compliance requirements: all conversations must be auditable and the model must not use customer data for training. Which Google Cloud offering should they choose?

A.Private Google Access for on-premises connectivity
B.Dialogflow CX with Cloud Logging
C.Cloud AI Platform Pipelines
D.Vertex AI Agent Builder with data governance controls
AnswerD

Vertex AI Agent Builder offers built-in audit logging and data governance to meet compliance requirements.

Why this answer

Vertex AI Agent Builder is correct because it provides built-in data governance controls that prevent customer data from being used for model training, while also supporting full auditability through integration with Cloud Audit Logs and Cloud Logging. This directly addresses the firm's compliance requirements for auditable conversations and data privacy.

Exam trap

The trap here is that candidates may confuse Dialogflow CX (a conversational AI platform) with Vertex AI Agent Builder, not realizing that Dialogflow CX lacks the native data governance controls to prevent customer data from being used for model training, which is the key differentiator for compliance-heavy use cases.

How to eliminate wrong answers

Option A is wrong because Private Google Access is a networking feature that enables on-premises hosts to reach Google APIs over internal IP addresses, but it does not provide any chatbot functionality, audit logging, or data governance controls. Option B is wrong because Dialogflow CX with Cloud Logging provides conversational AI and audit logging, but it lacks the specific data governance controls to prevent customer data from being used for model training, which is a critical compliance requirement. Option C is wrong because Cloud AI Platform Pipelines is a workflow orchestration service for ML pipelines, not a chatbot deployment solution, and it does not offer the required auditability or data governance for customer conversations.

220
MCQeasy

A team wants to fine-tune a PaLM 2 model with their own data on Vertex AI. What is the recommended way to prepare the training data?

A.TFRecord files
B.JSON Lines file with 'input_text' and 'output_text' keys
C.CSV file with prompt and completion columns
D.Pickle serialized objects
AnswerB

JSONL with the correct keys is required.

Why this answer

The recommended format for fine-tuning PaLM 2 on Vertex AI is a JSON Lines file with 'input_text' and 'output_text' keys. This structure directly maps to the model's expected supervised fine-tuning (SFT) input, where each line represents a single training example with a prompt and its corresponding response. Vertex AI's fine-tuning pipeline is optimized to parse this schema, ensuring correct tokenization and alignment during training.

Exam trap

The trap here is that candidates often assume CSV is universally supported for ML training data, but Vertex AI's PaLM 2 fine-tuning requires JSON Lines for its explicit key-value structure, which avoids CSV's limitations with multiline text and special characters.

How to eliminate wrong answers

Option A is wrong because TFRecord files are a TensorFlow-specific binary format used for large-scale distributed training, but Vertex AI's PaLM 2 fine-tuning expects human-readable JSON Lines for data validation and preprocessing, not serialized TFRecords. Option C is wrong because CSV files lack a standardized schema for prompt-completion pairs in Vertex AI's fine-tuning API, and the platform specifically requires JSON Lines with 'input_text' and 'output_text' keys to avoid parsing ambiguities with commas or newlines in text. Option D is wrong because Pickle serialized objects are Python-specific and pose security risks (arbitrary code execution), and Vertex AI's managed service does not accept Pickle for training data; it requires a portable, language-agnostic format like JSON Lines.

221
MCQmedium

A research team wants to generate high-quality images from text descriptions for a marketing campaign. They need the ability to edit specific regions of generated images while preserving the rest. Which Google Cloud AI service should they use?

A.Gemini 1.5 Pro with image input
B.Codey on Vertex AI
C.Veo on Vertex AI
D.Imagen on Vertex AI
AnswerD

Imagen is a text-to-image model that supports inpainting and editing capabilities through mask-based region editing.

Why this answer

Imagen supports inpainting (region editing via masks) natively. Gemini is multimodal but not primarily for image generation. Veo generates video, not images.

Codey is for code.

222
MCQmedium

During a proof-of-concept, a team notices that their GenAI-powered meeting summarizer occasionally includes hallucinated details. They want to improve summary accuracy before production. Which action would be most effective?

A.Upgrade to a larger model
B.Provide the meeting transcript as context in the prompt
C.Decrease the temperature to 0.0
D.Use few-shot prompting with example summaries
AnswerB

Grounding the model with the actual transcript ensures the summary is based on real content, reducing hallucinations.

Why this answer

Providing the meeting transcript as context grounds the model in factual data, reducing hallucinations. Few-shot prompting may help, but the primary issue is lack of source material. Adjusting temperature is less impactful.

Switching to a larger model without context may not help.

223
Multi-Selectmedium

What are THREE benefits of using embedding models in a Retrieval Augmented Generation (RAG) system?

Select 3 answers
A.They compress text into dense vectors for efficient retrieval.
B.They allow the model to generate new training data automatically.
C.They enable semantic similarity search beyond keyword matching.
D.They reduce the need for fine-tuning the generator model.
E.They provide deterministic outputs for the same query.
AnswersA, C, D

Vectors allow fast similarity search in vector databases.

Why this answer

Embedding models convert text into dense vector representations that capture semantic meaning, enabling efficient similarity search in vector databases. This compression reduces the dimensionality of the data, allowing the RAG system to quickly retrieve the most relevant documents from a large corpus based on vector distance metrics like cosine similarity.

Exam trap

Google Cloud often tests the misconception that embedding models are used for generating training data or ensuring deterministic outputs, when in fact their primary role is semantic compression and similarity-based retrieval, while output determinism is controlled by the generator model's parameters, not the embedding model.

224
Multi-Selecteasy

Which TWO statements are true about generative AI models?

Select 2 answers
A.They are typically pre-trained on large datasets.
B.They are deterministic by design.
C.They always produce the same output for the same input.
D.They can generate new content not seen in training.
E.They require no data for training.
AnswersA, D

Pre-training on large corpora is standard.

Why this answer

Generative AI models, such as GPT-4 or DALL-E, are typically pre-trained on vast, diverse datasets (e.g., terabytes of text or images) using unsupervised or self-supervised learning. This pre-training phase allows the model to learn statistical patterns, grammar, and world knowledge, which is then fine-tuned for specific tasks. Without this large-scale pre-training, the model would lack the foundational understanding needed to generate coherent and contextually relevant outputs.

Exam trap

Google Cloud often tests the misconception that generative AI models are deterministic and always produce the same output for the same input, when in fact they are probabilistic by design, especially at non-zero temperature settings.

225
Multi-Selectmedium

A company wants to use GenAI to create a knowledge base assistant that can answer questions from internal documentation. They need the assistant to always have access to the latest documents without retraining. Which TWO services should they combine? (Choose 2)

Select 2 answers
A.Vertex AI Pipelines
B.Vertex AI Agent Builder
C.Vertex AI Model Garden
D.Duet AI in Google Docs
E.Vertex AI Vector Search
AnswersB, E

Agent Builder is used to create the conversational assistant.

Why this answer

Vertex AI Agent Builder provides the conversational agent framework, and Vertex AI Vector Search enables retrieval from the latest documents using embeddings.

Page 2

Page 3 of 10

Page 4

All pages