Courseiva

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

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

Page 7

Page 8 of 10

Page 9
526
Multi-Selecthard

A company wants to build a multimodal AI application that accepts text and image inputs and provides text responses. They need to process sensitive customer data and require that the model be hosted within their own Google Cloud project for data residency. Which TWO components are essential? (Choose 2)

Select 2 answers
A.Vertex AI with private endpoints or VPC-SC
B.Gemini API with multimodal capabilities
C.Codey for code generation
D.Chirp for speech recognition
E.Imagen for image input processing
AnswersA, B

Vertex AI allows deployment within a project and supports data residency controls.

Why this answer

Gemini is a multimodal model that can process text and images. Vertex AI provides a managed environment for deploying models with data residency controls. The other options are not essential for this requirement.

527
MCQeasy

A company is building a customer support chatbot using Vertex AI Agent Builder. They want the agent to answer questions based on their internal knowledge base. Which feature should they use?

A.Grounding with Google Search
B.Grounding with enterprise data stores
C.Model tuning
D.Prompt engineering
AnswerB

Grounding with enterprise data stores allows the agent to use internal knowledge bases.

Why this answer

Vertex AI Agent Builder supports grounding with enterprise data stores, which allows the agent to retrieve and answer questions based on the company's internal knowledge base (e.g., documents, PDFs, websites) without relying on public web search. This ensures responses are grounded in proprietary, controlled data, making it the correct choice for a customer support chatbot that needs to reference internal policies or product documentation.

Exam trap

The trap here is that candidates may confuse 'grounding with Google Search' (public web) with 'grounding with enterprise data stores' (private data), assuming any grounding feature works for internal knowledge, but only the enterprise data store option provides the necessary data isolation and access control.

How to eliminate wrong answers

Option A is wrong because Grounding with Google Search uses public web data, not the company's internal knowledge base, which could introduce irrelevant or unverified information and violates data privacy requirements. Option C is wrong because model tuning (e.g., fine-tuning a foundation model) adjusts model weights on custom datasets, but it is not designed for real-time retrieval from a specific knowledge base; it also requires significant compute and may not scale for dynamic content. Option D is wrong because prompt engineering involves crafting input prompts to guide model behavior, but it does not provide a mechanism to retrieve and ground answers in a specific enterprise data store; without grounding, the model may hallucinate or rely on its training data.

528
Multi-Selecteasy

A company is adopting generative AI for customer support. Which TWO strategies should they implement to manage risks related to brand reputation?

Select 2 answers
A.Establish a human-in-the-loop escalation process for sensitive interactions.
B.Publish a disclaimer that the AI may make mistakes.
C.Implement automated monitoring for toxic or off-brand language.
D.Deploy the model without any content filters to maximize helpfulness.
E.Disable customer support AI entirely to avoid any risk.
AnswersA, C

Human oversight ensures appropriate handling of sensitive issues.

Why this answer

A human-in-the-loop escalation process ensures that sensitive or ambiguous customer interactions are reviewed by a human agent before an AI-generated response is sent. This directly mitigates brand reputation risk by preventing the AI from inadvertently making offensive, legally problematic, or factually incorrect statements that could go viral. The human reviewer acts as a safety net, catching edge cases that automated filters might miss, such as nuanced sarcasm or cultural insensitivity.

Exam trap

Google Cloud often tests the distinction between passive risk communication (like disclaimers) and active risk mitigation (like human-in-the-loop or automated monitoring), trapping candidates who think a disclaimer is sufficient to manage brand reputation risk.

529
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 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.Use Retrieval-Augmented Generation (RAG) with the policy documents indexed in a vector store
AnswerD

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

Retrieval-Augmented Generation (RAG) is the most appropriate approach because it allows the chatbot to answer questions based on the latest policy documents without retraining the model. By indexing the documents in a vector store and retrieving relevant chunks at query time, RAG ensures the model uses up-to-date information while keeping the underlying LLM static, which is cost-effective and scalable for monthly updates.

Exam trap

The Generative AI Leader exam often tests the misconception that fine-tuning is the only way to incorporate new information, but the trap here is that candidates overlook RAG's ability to handle dynamic data without retraining, confusing 'model adaptation' with 'data retrieval'.

How to eliminate wrong answers

Option A is wrong because fine-tuning a base LLM monthly on new policy documents is expensive, time-consuming, and risks catastrophic forgetting, where the model loses previously learned information. Option B is wrong because pasting all documents into each prompt exceeds the context window limits of even the largest models (e.g., 128K tokens), leading to truncation, high latency, and increased cost per query. Option C is wrong because training a custom model from scratch each month is prohibitively expensive, requires massive computational resources and data, and is unnecessary when a pre-trained LLM with RAG can achieve the same goal.

530
Multi-Selecthard

A company is deploying a Gemini-based application and needs to ensure low latency for real-time user interactions. They also want to reduce cost. Which THREE strategies should they consider? (Select 3)

Select 3 answers
A.Use Gemini 1.5 Flash instead of Pro
B.Implement response caching for common queries
C.Increase the model's max output tokens to ensure comprehensive answers
D.Use full fine-tuning to make the model faster
E.Keep the context window as short as possible by trimming input
AnswersA, B, E

Flash is optimized for speed and lower cost.

Why this answer

Gemini 1.5 Flash is a lighter, distilled version of the Pro model, designed for lower latency and reduced computational cost while still maintaining strong performance for real-time interactions. Flash models use fewer parameters and optimized inference paths, making them ideal for latency-sensitive applications where cost efficiency is critical.

Exam trap

A common misconception tested in this exam is that increasing output tokens or fine-tuning improves speed, when in reality these actions increase computational load or add overhead, making them counterproductive for latency and cost goals.

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

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.

532
MCQeasy

Which feature in Vertex AI allows users to browse over 300 foundation models and deploy them with minimal code?

A.Vertex AI Studio
B.Vertex AI Agent Builder
C.Vertex AI Model Garden
D.Vertex AI Pipelines
AnswerC

Model Garden is a central repository for discovering and deploying foundation models.

Why this answer

Vertex AI Model Garden, is correct because it provides a centralized repository where users can browse, discover, and deploy over 300 foundation models—including first-party, open-source, and third-party models—with minimal code. It abstracts away infrastructure complexity by offering pre-built deployment templates and one-click integration with Vertex AI endpoints, enabling rapid experimentation and production deployment without deep ML engineering overhead.

Exam trap

The trap here is that candidates confuse Vertex AI Studio's prompt engineering capabilities with Model Garden's model discovery and deployment functionality, leading them to select A instead of C.

How to eliminate wrong answers

Option A is wrong because Vertex AI Studio is a low-code environment for prototyping and tuning generative AI models, but it does not serve as a model repository for browsing and deploying over 300 foundation models; it focuses on prompt design and model customization. Option B is wrong because Vertex AI Agent Builder is designed for creating conversational agents and search experiences using pre-built components, not for browsing and deploying a broad catalog of foundation models. Option D is wrong because Vertex AI Pipelines is an orchestration service for building and managing ML workflows, not a model discovery and deployment interface.

533
Multi-Selecteasy

A company is using Vertex AI generative models for a high-volume text summarization service. Which two strategies can reduce operational costs?

Select 2 answers
A.Increase the model's max output tokens to 2048.
B.Implement retry logic with exponential backoff.
C.Lower the temperature parameter to 0.
D.Use batch prediction instead of online prediction.
E.Reduce the size of the model (e.g., switch from text-bison@002 to text-bison-light).
AnswersD, E

Batch prediction has lower per-request cost for large jobs compared to online prediction.

Why this answer

Batch prediction reduces costs by processing multiple requests in a single batch job, which avoids the per-request overhead and idle compute time associated with online prediction. This is especially cost-effective for high-volume, non-real-time workloads like text summarization, as you pay only for the compute time used during the batch job rather than for each individual inference.

Exam trap

Google Cloud often tests the misconception that adjusting inference parameters like temperature or output length can reduce costs, when in reality only reducing model size or switching to batch processing directly lowers operational expenses.

534
MCQeasy

A marketing team needs to generate personalized email campaigns for thousands of customers. They want to maintain brand tone consistency and avoid manual writing. Which GenAI approach is BEST suited?

A.Use Vertex AI Studio with prompt design and few-shot examples in the prompt
B.Fine-tune a small model on brand guidelines only
C.Embed a rules-based template engine with no AI
D.Train a custom model from scratch on past campaigns
AnswerA

Vertex AI Studio enables rapid prompt iteration. Few-shot examples ensure consistent tone and structure without custom training.

Why this answer

Vertex AI Studio enables prompt engineering with few-shot examples, allowing the team to generate personalized emails while maintaining brand tone consistency without fine-tuning or custom training. This approach leverages a pre-trained large language model (LLM) with carefully designed prompts that include brand guidelines and a few examples, ensuring output adheres to the desired style and context. It avoids the overhead of fine-tuning or building custom models, making it ideal for rapid deployment and iterative refinement.

Exam trap

Google often tests the misconception that fine-tuning or custom training is always necessary for domain-specific tasks, when in fact prompt engineering with few-shot examples can achieve comparable results with far less effort and cost.

How to eliminate wrong answers

Option B is wrong because fine-tuning a small model on brand guidelines only may lead to catastrophic forgetting or insufficient generalization, as the model might overfit to the narrow dataset and lose the broad language understanding needed for diverse customer personalization. Option C is wrong because a rules-based template engine cannot adapt to the nuanced, context-aware personalization required for thousands of unique customers; it would produce rigid, repetitive content that fails to capture brand tone dynamically. Option D is wrong because training a custom model from scratch on past campaigns is resource-intensive, requires massive labeled datasets, and is unnecessary when pre-trained models with prompt engineering can achieve the same goal more efficiently.

535
MCQmedium

A data scientist is fine-tuning a foundation model for a specialized legal document summarization task. The labeled dataset is only 5,000 examples. Which fine-tuning technique would be MOST efficient to adapt the model without catastrophic forgetting and with minimal computational cost?

A.Low-Rank Adaptation (LoRA)
B.Reinforcement Learning from Human Feedback (RLHF)
C.Full supervised fine-tuning of all model parameters
D.In-context learning with few-shot examples
AnswerA

LoRA inserts trainable low-rank matrices into transformer layers, requiring far fewer parameters to update, which is efficient and reduces forgetting.

Why this answer

LoRA (Low-Rank Adaptation) is an adapter-based method that trains only a small number of added parameters, making it efficient and less prone to catastrophic forgetting compared to full fine-tuning. Supervised fine-tuning full model is expensive; RLHF is for alignment after fine-tuning; in-context learning requires no training but may not suffice.

536
MCQmedium

A data scientist fine-tunes a large language model on Vertex AI but gets poor results on validation data. What is the most likely cause?

A.Incorrect learning rate
B.Insufficient training data
C.Using wrong model family
D.Overfitting due to too many epochs
AnswerB

Fine-tuning requires enough representative data to adapt the model without overfitting or underfitting.

Why this answer

Fine-tuning a large language model on Vertex AI with poor validation results is most likely due to insufficient training data. Large language models have billions of parameters and require a substantial amount of high-quality, task-specific data to effectively adapt to a new domain or task; without enough examples, the model cannot learn the desired patterns and will perform poorly on unseen data.

Exam trap

The trap here is that candidates often assume hyperparameter tuning (like learning rate) is the primary cause of poor fine-tuning results, but in generative AI, data quantity and quality are the most common bottlenecks, especially when using pre-trained models on Vertex AI.

How to eliminate wrong answers

Option A is wrong because an incorrect learning rate typically causes training instability (e.g., loss divergence or slow convergence) rather than consistently poor validation results, and Vertex AI's default hyperparameters are often reasonable. Option C is wrong because using the wrong model family (e.g., choosing a text generation model for a classification task) would likely cause immediate, obvious failures or mismatches in output format, not just poor validation performance after fine-tuning. Option D is wrong because overfitting due to too many epochs would manifest as high training accuracy with low validation accuracy, but the question states poor results on validation data without mentioning training performance, and overfitting is less likely with insufficient data (the model would underfit instead).

537
MCQhard

A data scientist is comparing two fine-tuned models on Vertex AI Model Evaluation. They want to choose the model with better factual accuracy for a medical Q&A task. Which evaluation metric should they prioritize?

A.exact_match
B.pairwise_rouge
C.ROUGE-L
D.BLEU
AnswerA

Exact match evaluates if the output is exactly correct, suitable for Q&A.

Why this answer

Exact Match (EM) is the correct metric because it measures whether the model's output exactly matches the ground truth answer, which is critical for factual accuracy in medical Q&A where even minor deviations (e.g., 'aspirin' vs. 'acetylsalicylic acid') could indicate incorrect or incomplete knowledge. Vertex AI Model Evaluation supports EM as a binary metric that penalizes any variation, making it ideal for high-stakes domains requiring precise factual recall.

Exam trap

The trap here is that candidates often confuse ROUGE or BLEU as 'accuracy' metrics because they measure text overlap, but they fail to penalize factual substitutions or omissions that are critical in domain-specific tasks like medical Q&A.

How to eliminate wrong answers

Option B (pairwise_rouge) is wrong because it is a comparative metric used to rank two model outputs relative to each other, not an absolute measure of factual accuracy; it does not directly assess correctness against a known ground truth. Option C (ROUGE-L) is wrong because it measures the longest common subsequence between generated and reference text, which captures fluency and structure but not exact factual correctness—a model could rephrase a fact correctly yet score low on ROUGE-L if the wording differs. Option D (BLEU) is wrong because it evaluates n-gram precision against reference translations, designed for machine translation tasks, and is insensitive to factual errors that do not change n-gram overlap (e.g., swapping 'left' for 'right' in a medical context).

538
MCQhard

A financial services company is building a customer service agent using Vertex AI Agent Builder. They want the agent to only answer questions based on their approved policy documents, which are stored in Cloud Storage. They also need to ensure that the agent never reveals internal employee names or account numbers. They have set up grounding with the documents but find that the agent sometimes ignores the grounding and generates responses using the model's internal knowledge. What should they do to strictly constrain the agent to only use the provided documents?

A.Add a system instruction that says 'Only answer from the provided documents.'
B.Use the 'vertex-ai-agent-builder' with strict grounding mode and disable fallback to model knowledge.
C.Set the model's temperature to 0 and top_p to 0.1.
D.Fine-tune the model on the policy documents to limit its knowledge.
AnswerB

Strict grounding mode ensures the agent only uses the grounded documents, with no fallback.

Why this answer

Vertex AI Agent Builder offers a 'strict grounding' mode that, when enabled, forces the agent to rely exclusively on the provided grounding documents (e.g., from Cloud Storage) and disables any fallback to the model's internal knowledge. This directly addresses the requirement to prevent the agent from generating responses based on its pre-trained data, ensuring strict adherence to the approved policy documents.

Exam trap

The trap here is that candidates often confuse prompt engineering techniques (like system instructions) with architectural enforcement mechanisms, assuming a textual directive can reliably constrain model behavior, when in fact only a grounded retrieval system with a strict no-fallback mode can guarantee the agent does not use its internal knowledge.

How to eliminate wrong answers

Option A is wrong because a system instruction is a prompt-level directive that the model can ignore or override, especially if its internal knowledge is strongly activated; it does not provide a technical enforcement mechanism to disable fallback to model knowledge. Option C is wrong because adjusting temperature and top_p controls the randomness and diversity of token sampling, not the source of knowledge; the model can still generate responses from its internal training data even with these parameters set to low values. Option D is wrong because fine-tuning on the policy documents would bias the model's weights toward that data but does not guarantee it will never use other internal knowledge; the model can still hallucinate or retrieve unrelated information, and fine-tuning does not provide a runtime constraint to block fallback to pre-existing knowledge.

539
MCQeasy

A project manager wants to track the ROI of a generative AI feature that assists customer support agents. Which metric is MOST directly tied to productivity improvement?

A.Adoption rate of the AI tool
B.Customer satisfaction (CSAT) score
C.Average handle time (AHT) per ticket
D.Cost per API call
AnswerC

AHT directly reflects agent efficiency; a decrease indicates productivity improvement.

Why this answer

Average handle time (AHT) directly measures the time agents spend per interaction, so a reduction indicates productivity gain. CSAT measures satisfaction, not efficiency. Cost per API call is a cost metric.

Adoption rate measures usage.

540
MCQeasy

Which Google AI milestone introduced the Transformer architecture that underpins modern LLMs?

A.AlphaGo
B.Transformer paper
C.AlphaFold
D.BERT
AnswerB

The Transformer paper introduced the foundational architecture for LLMs.

Why this answer

The Transformer architecture, which is the foundational technology behind modern large language models (LLMs) like GPT and BERT, was introduced in the 2017 paper 'Attention Is All You Need' by Vaswani et al. This paper proposed the self-attention mechanism and the encoder-decoder structure that replaced recurrent neural networks (RNNs) and long short-term memory (LSTM) networks, enabling parallelized training and superior handling of long-range dependencies in sequence data.

Exam trap

Google often tests the distinction between the original research paper that introduced a concept (the Transformer paper) and later implementations or applications of that concept (like BERT or GPT), causing candidates to confuse the milestone with its derivative products.

How to eliminate wrong answers

Option A is wrong because AlphaGo is a reinforcement learning-based system for playing the board game Go, not a milestone in neural network architecture for language models. Option C is wrong because AlphaFold is a deep learning model for protein structure prediction, not a foundational architecture for LLMs. Option D is wrong because BERT is a pre-trained language model that itself is built on the Transformer architecture, not the original paper that introduced the Transformer.

541
MCQhard

A developer uses Vertex AI to generate code but the output is not syntactically correct. Which parameter should be adjusted?

A.candidate_count
B.max_output_tokens
C.temperature
D.top_k
AnswerC

Lower temperature (e.g., 0.2) makes the model more focused and likely to produce valid syntax.

Why this answer

Temperature controls the randomness of token selection during generation. A high temperature increases the likelihood of less probable tokens, which can lead to syntactically incorrect code. Lowering temperature makes the model more deterministic and conservative, favoring higher-probability tokens that are more likely to form valid syntax.

Exam trap

Google Cloud often tests the misconception that increasing candidate_count or max_output_tokens will improve output quality, when in fact these parameters only affect quantity or length, not the underlying token selection logic that determines syntactic correctness.

How to eliminate wrong answers

Option A is wrong because candidate_count controls how many different response candidates are generated, not the syntactic correctness of any single output. Option B is wrong because max_output_tokens limits the length of the generated text, not the quality or validity of the syntax. Option D is wrong because top_k limits the number of highest-probability tokens considered at each step; while it can affect output quality, it does not directly address syntactic correctness as effectively as temperature does.

542
MCQmedium

A company is using Vertex AI Model Garden to discover and test various foundation models. They need a model that can generate code from natural language. Which model should they select?

A.Chirp
B.Codey
C.Med-PaLM
D.Imagen
AnswerB

Codey models are optimized for code-related tasks.

Why this answer

Codey is Google's family of models specifically designed for code generation, including converting natural language descriptions into code. It is built on the PaLM 2 architecture and is optimized for tasks like code completion, code generation, and code chat, making it the correct choice for generating code from natural language.

Exam trap

The trap here is that candidates may confuse Chirp (audio) or Imagen (image) with multimodal models, mistakenly thinking they can handle code generation, when in fact only Codey is purpose-built for code tasks.

How to eliminate wrong answers

Option A is wrong because Chirp is a speech-to-text model designed for audio transcription, not code generation. Option C is wrong because Med-PaLM is a domain-specific model fine-tuned for medical and healthcare applications, not for generating code. Option D is wrong because Imagen is a text-to-image diffusion model for generating images, not code.

543
MCQmedium

A company wants to use a pre-trained language model for customer support summarization. They need to ensure responses are concise and accurate. Which prompt engineering technique is most effective?

A.Zero-shot prompting
B.Few-shot prompting with examples
C.Chain-of-thought prompting
D.Negative prompting
AnswerB

Few-shot provides examples to guide the model, improving accuracy and conciseness.

Why this answer

Few-shot prompting (B) is most effective because it provides the model with a small set of example input-output pairs (e.g., a customer query and its concise summary), which guides the model to produce outputs that match the desired format, length, and accuracy. This technique is particularly useful for summarization tasks where consistency and adherence to a specific style are critical, as it reduces ambiguity without requiring fine-tuning.

Exam trap

Google Cloud often tests the misconception that zero-shot prompting is sufficient for all tasks, but the trap here is that candidates overlook the need for explicit guidance in format-sensitive tasks like summarization, where few-shot examples provide the necessary constraint for consistency.

How to eliminate wrong answers

Option A (Zero-shot prompting) is wrong because it relies solely on the model's pre-trained knowledge without any examples, which often leads to inconsistent or overly verbose summaries, especially when the task requires a specific format or level of conciseness. Option C (Chain-of-thought prompting) is wrong because it is designed for multi-step reasoning tasks (e.g., arithmetic or logic problems) and is unnecessary for summarization, where the goal is to condense information rather than reason through steps. Option D (Negative prompting) is wrong because it instructs the model on what to avoid (e.g., 'do not include details'), which can be imprecise and may inadvertently suppress relevant information, making it less reliable than providing positive examples of desired outputs.

544
MCQmedium

What is the primary purpose of a system instruction in the Gemini API?

A.Set the model's temperature and top_p
B.Define the overall behavior and constraints for the model
C.Provide few-shot examples for each query
D.Set the maximum output length
AnswerB

Correct: System instructions guide the model's persona and rules.

Why this answer

The system instruction in the Gemini API is the primary mechanism to define the overall behavior, persona, constraints, and guardrails for the model across all interactions. Unlike per-query parameters, it sets a persistent context that shapes how the model interprets every user prompt, ensuring consistent adherence to rules such as tone, format, or safety policies.

Exam trap

Google Cloud often tests the distinction between persistent system-level instructions and per-request parameters, so the trap here is confusing the system instruction (which defines the model's role and constraints) with generation controls like temperature, top_p, or max tokens, which only affect the style or length of a single response.

How to eliminate wrong answers

Option A is wrong because temperature and top_p are sampling parameters that control randomness and diversity of output, not the overarching behavioral constraints set by a system instruction. Option C is wrong because few-shot examples are typically provided in the user prompt or as part of a structured conversation, not as the primary purpose of a system instruction, which is for persistent context rather than per-query demonstrations. Option D is wrong because maximum output length is a generation parameter that limits token count, not a behavioral or constraint-setting mechanism like a system instruction.

545
MCQeasy

Which statement best describes the difference between the Gemini Flash and Gemini Pro models on Vertex AI?

A.Gemini Flash is a distilled version of Gemini Pro that requires fine‑tuning before use
B.Gemini Pro is deployed on Google’s TPU v5p chips, while Flash uses TPU v4
C.Gemini Flash is optimized for speed and cost, while Gemini Pro provides higher quality for complex tasks
D.Gemini Flash is only available for image inputs, while Gemini Pro handles text
AnswerC

Flash is a lightweight model for faster, cheaper inference; Pro is more capable for nuanced reasoning.

Why this answer

Gemini Flash is specifically designed for low-latency, high-throughput, and cost-efficient inference, making it ideal for high-volume, simpler tasks. In contrast, Gemini Pro is a larger, more capable model that delivers superior quality and reasoning for complex, multi-step tasks, though at higher latency and cost. This distinction is fundamental to the Gemini model family on Vertex AI, where Flash serves as the lightweight, fast option and Pro as the premium, high-quality option.

Exam trap

The trap here is that candidates often assume 'Flash' implies a distilled or pruned version of 'Pro' (like a student model), but in reality, Flash is a distinct model trained from scratch with a different architecture optimized for speed, not a compressed version of Pro.

How to eliminate wrong answers

Option A is wrong because Gemini Flash is not a distilled version of Gemini Pro; it is a separate, independently trained model optimized for speed and cost, and it does not require fine-tuning before use—it is available as a pre-trained model for inference. Option B is wrong because both Gemini Flash and Gemini Pro are deployed on Google's TPU v5p chips; the difference in performance is due to model architecture and size, not the underlying TPU generation. Option D is wrong because Gemini Flash handles both text and image inputs (multimodal), just like Gemini Pro; the limitation to image-only inputs is a misconception.

546
MCQeasy

Which of the following best describes the primary benefit of using Grounding with Google Search when building a GenAI chatbot?

A.It reduces the model's latency by caching responses
B.It enables the model to generate images based on text descriptions
C.It provides fine-tuning capabilities for domain-specific data
D.It allows the model to access real-time information from the internet to reduce hallucinations
AnswerD

Grounding connects the model to live search results, ensuring responses are based on current data.

Why this answer

Grounding with Google Search connects the GenAI chatbot to real-time internet data, allowing it to retrieve current facts and events that the model was not trained on. This reduces hallucinations by ensuring responses are based on verified, up-to-date information rather than relying solely on the model's static training data.

Exam trap

The trap here is that candidates often confuse Grounding (a retrieval-based technique for real-time accuracy) with fine-tuning (a training-based technique for domain adaptation), leading them to select Option C incorrectly.

How to eliminate wrong answers

Option A is wrong because Grounding with Google Search does not cache responses to reduce latency; it introduces additional retrieval latency by querying live search results. Option B is wrong because Grounding is a text-based retrieval mechanism and does not enable image generation, which requires a multimodal model or separate image generation service. Option C is wrong because Grounding is a retrieval-augmented generation (RAG) technique, not a fine-tuning method; fine-tuning adjusts model weights on domain-specific data, whereas Grounding retrieves external data at inference time.

547
Multi-Selectmedium

A company wants to build a generative AI-powered internal knowledge base for employees. They need to integrate with existing Google Workspace documents (Docs, Slides) and allow natural language queries. Which TWO services should they combine?

Select 2 answers
A.Model Garden
B.Gemini API
C.Vertex AI Agent Builder
D.Vertex AI RAG Engine
E.Document AI (DocAI)
AnswersC, D

Agent Builder creates the conversational interface for the knowledge base.

Why this answer

Vertex AI Agent Builder can create a conversational agent, and RAG Engine can index Google Workspace documents for retrieval. Gemini API alone is not a knowledge base. DocAI is for document parsing, not retrieval.

Model Garden is a model repository.

548
MCQmedium

A healthcare startup is deploying a generative AI model to assist physicians in diagnosing rare diseases. The model will suggest possible conditions based on patient symptoms and lab results. Which approach best aligns with Google's AI Principles and responsible AI practices?

A.Deploy the model with an override mechanism available only to the development team.
B.Fine-tune the model on a small dataset of rare disease cases to improve accuracy, then deploy without additional safeguards.
C.Allow the model to provide a diagnosis without human review to speed up treatment decisions.
D.Use the model only as a suggestion tool with a mandatory human-in-the-loop review before any diagnosis is communicated to the patient.
AnswerD

This ensures accountability, safety, and aligns with Google's AI Principles, especially for high-stakes domains like healthcare.

549
MCQmedium

A data scientist fine-tunes a foundation model on customer support transcripts. After evaluation, the model's responses are too formal. Which adjustment during fine-tuning is most likely to make responses more conversational?

A.Increase the batch size to stabilize training.
B.Decrease the number of fine-tuning steps to prevent overfitting.
C.Include examples of informal customer interactions in the fine-tuning data.
D.Use a higher learning rate for faster adaptation.
AnswerC

The training data teaches the model the desired tone; adding conversational examples directly influences style.

Why this answer

The training data directly influences the tone and style of model outputs. Including examples of informal conversations in the fine-tuning dataset teaches the model the desired conversational tone. Other options affect training dynamics but not the style.

550
MCQhard

A global retailer uses a generative AI model to personalize product recommendations. They need to ensure that customer prompts and responses are not logged for model improvement to meet GDPR data minimization principles. Which configuration should they apply?

A.Use a third-party logging service with data deletion policies
B.Enable data logging for six months and then automatically delete
C.Disable prompt/response logging in Vertex AI endpoint settings
D.Anonymize all customer data before logging
AnswerC

Disabling logging ensures that customer data is not stored for model improvement, aligning with GDPR.

Why this answer

To comply with GDPR data minimization, the retailer should disable prompt/response logging. Vertex AI offers settings to control whether prompts and responses are stored for model improvement.

551
MCQeasy

Which Google AI research organization is responsible for AlphaFold, a breakthrough in protein structure prediction?

A.Google Research
B.Google DeepMind
C.Google Brain
D.X Development
AnswerB

DeepMind developed AlphaFold.

Why this answer

Google DeepMind is the research lab behind AlphaFold, AlphaCode, and other notable achievements.

552
MCQeasy

Which Google Cloud service provides a managed environment for prompt engineering and model evaluation?

A.AI Platform Notebooks
B.Dialogflow CX
C.Vertex AI Generative AI Studio
D.Cloud Composer
AnswerC

This service provides tools for prompt design and evaluation.

Why this answer

Vertex AI Generative AI Studio is the correct answer because it is a managed service within Vertex AI specifically designed for prompt engineering, model tuning, and evaluation of generative AI models. It provides a no-code interface for testing prompts, comparing model outputs, and iterating on prompt design, directly supporting the workflow described in the question.

Exam trap

The trap here is that candidates may confuse Vertex AI Generative AI Studio with AI Platform Notebooks, assuming that any model development environment supports prompt engineering, when in fact Generative AI Studio is the specialized tool for that purpose.

How to eliminate wrong answers

Option A is wrong because AI Platform Notebooks is a managed Jupyter notebook service for custom model development and training, not a dedicated environment for prompt engineering or model evaluation. Option B is wrong because Dialogflow CX is a conversational AI platform for building chatbots and virtual agents, focused on intent classification and dialogue management, not prompt engineering or model evaluation. Option D is wrong because Cloud Composer is a managed Apache Airflow service for workflow orchestration and scheduling, unrelated to prompt engineering or model evaluation.

553
MCQmedium

A data scientist is using the Vertex AI PaLM API for text generation. They notice that the model occasionally generates toxic content. Which parameter should they adjust to reduce the likelihood of toxic outputs?

A.max_output_tokens
B.temperature
C.top_k
D.safety_settings
AnswerD

safety_settings can block toxic content based on thresholds.

Why this answer

Safety settings in the Vertex AI PaLM API allow you to configure thresholds for filtering harmful content categories (e.g., toxicity, harassment, hate speech). By adjusting these settings, you can block or reduce the likelihood of toxic outputs before they are returned, directly addressing the problem without altering the model's creativity or randomness.

Exam trap

The trap here is that candidates often confuse parameters that control output randomness (temperature, top_k) with those that enforce content safety, leading them to incorrectly select temperature or top_k instead of the dedicated safety_settings parameter.

How to eliminate wrong answers

Option A is wrong because max_output_tokens controls the maximum length of the generated text, not the content safety or toxicity. Option B is wrong because temperature adjusts the randomness of token sampling, influencing creativity but not filtering toxic content. Option C is wrong because top_k limits the number of highest-probability tokens considered at each step, affecting diversity but not safety filtering.

554
MCQhard

A machine learning engineer submits the above batch prediction job for a large language model. The job is expected to process 100,000 instances. The job takes much longer than expected. Which change would most likely reduce the execution time?

A.Increase maxReplicaCount to 10
B.Increase startingReplicaCount to 10 without changing maxReplicaCount
C.Increase the machine type to n1-standard-16
D.Decrease the batch size to 1
AnswerA

More replicas allow parallel processing of batch instances, drastically reducing time.

Why this answer

Increasing maxReplicaCount to 10 allows Vertex AI Batch Prediction to scale out to more worker replicas, processing the 100,000 instances in parallel. The default maxReplicaCount is often 1 or a low number, which forces sequential or limited parallel processing, causing long execution times. By raising this limit, the job can leverage horizontal scaling to distribute the workload across multiple machines, significantly reducing wall-clock time.

Exam trap

The trap here is that candidates often confuse vertical scaling (larger machine type) with horizontal scaling (more replicas), and assume that a bigger machine always speeds up batch jobs, whereas for embarrassingly parallel batch inference, increasing the number of workers is the most effective lever.

How to eliminate wrong answers

Option B is wrong because increasing startingReplicaCount without raising maxReplicaCount does not allow the job to scale beyond the existing maximum; the job will still be capped at the original maxReplicaCount, so no additional parallelism is gained. Option C is wrong because upgrading to a larger machine type (n1-standard-16) provides more CPU/memory per replica but does not increase the number of replicas; for batch inference, throughput is often bottlenecked by the number of concurrent workers, not per-worker compute, so this change may not reduce overall execution time proportionally. Option D is wrong because decreasing batch size to 1 eliminates batching entirely, increasing the number of API calls and overhead per instance, which typically increases execution time rather than reducing it.

555
MCQmedium

A company deploys a fine-tuned text generation model on Vertex AI Endpoints. They want to monitor for data drift and performance degradation over time. Which GCP service should they integrate?

A.Cloud Monitoring
B.Cloud Logging
C.Vertex AI Experiments
D.Vertex AI Model Monitoring
AnswerD

Model Monitoring provides drift detection, anomaly alerts, and performance monitoring for deployed models.

Why this answer

Vertex AI Model Monitoring is the correct choice because it is specifically designed to detect data drift (changes in input data distribution) and feature attribution drift in deployed models, including fine-tuned text generation models on Vertex AI Endpoints. It provides automated alerts when model performance degrades due to shifts in production data, enabling proactive retraining or intervention.

Exam trap

The trap here is that candidates confuse general observability tools (Cloud Monitoring, Cloud Logging) with Vertex AI's purpose-built drift detection service, assuming any monitoring tool can handle model-specific data drift analysis.

How to eliminate wrong answers

Option A is wrong because Cloud Monitoring provides infrastructure-level metrics (e.g., CPU, memory, latency) but does not analyze model input data distributions or detect data drift. Option B is wrong because Cloud Logging captures raw log entries for debugging and auditing, not statistical drift detection or performance degradation analysis. Option C is wrong because Vertex AI Experiments tracks training runs and hyperparameters, not post-deployment monitoring of live endpoints.

556
MCQhard

A company is using Vertex AI Model Garden to deploy a foundation model for document summarization. They notice that the model sometimes generates summaries that include factual errors. They want to reduce hallucinations without sacrificing latency. Which approach should they try first?

A.Enable Vertex AI Grounding with a curated database of documents
B.Increase the temperature parameter to make the model more confident
C.Add more safety filters to block uncertain responses
D.Fine-tune the model on a high-quality dataset of correct summaries
AnswerA

Grounding retrieves evidence to reduce hallucinations.

Why this answer

Vertex AI Grounding connects the model to a curated database of documents, allowing it to retrieve and cite factual information in real-time. This directly reduces hallucinations by grounding responses in verified sources without adding significant latency, as the retrieval step is optimized for speed. Other approaches either increase latency (fine-tuning), reduce output quality (temperature increase), or do not address factual accuracy (safety filters).

Exam trap

The trap here is that candidates often assume fine-tuning is the default fix for hallucinations, but the question prioritizes latency and immediate factual grounding, making RAG via Vertex AI Grounding the faster and more appropriate first step.

How to eliminate wrong answers

Option B is wrong because increasing the temperature parameter makes the model more random and less confident, which would likely increase hallucinations, not reduce them. Option C is wrong because safety filters block harmful or unsafe content but do not correct factual errors; they are designed for policy compliance, not factual grounding. Option D is wrong because fine-tuning requires substantial time and resources, and while it can improve accuracy, it does not provide real-time grounding against a curated database and may not reduce latency as requested.

557
MCQmedium

A company wants to use generative AI to create short product videos from text descriptions. Which Google Cloud service should they consider?

A.Chirp
B.Imagen
C.Gemini
D.Veo
AnswerD

Veo is Google's model for generating high-quality videos from text prompts.

Why this answer

Veo is Google's video generation model that creates videos from text. Imagen creates images, Chirp creates audio, and Gemini is multimodal but not specialized for video generation.

558
MCQhard

An AI company wants to detect whether text was generated by their own model. Which technology developed by Google is specifically designed for this purpose?

A.SynthID
B.Google's confidential computing
C.Differential privacy
D.Federated learning
AnswerA

SynthID embeds an invisible watermark that can be detected later.

Why this answer

SynthID is Google's watermarking framework for AI-generated content, including text, images, and audio.

559
Multi-Selecthard

A multinational corporation deploys a generative AI chatbot across multiple regions. They need to comply with GDPR and local data residency requirements. Which THREE actions are necessary?

Select 3 answers
A.Obtain explicit consent from every user before collecting any data
B.Anonymize all training data before fine-tuning
C.Store and process data only in approved geographic regions (data residency controls)
D.Implement prompt and response logging with configurable retention policies
E.Encrypt personal data at rest and in transit using customer-managed encryption keys (CMEK)
AnswersC, D, E

Data residency controls ensure data stays within required jurisdictions.

Why this answer

To comply with GDPR and data residency, the company must encrypt personal data, store data in specific regions, and control retention of prompts/responses. Consent management is part of GDPR but not specifically about data residency. Anonymization is one approach but not a universal requirement.

560
MCQmedium

A company is piloting a GenAI feature that summarizes customer support tickets. They want to measure the impact on agent productivity before rolling out to all teams. Which approach BEST evaluates the pilot?

A.Survey agents on their perception of productivity after using the tool
B.Run an A/B test where half the agents use the tool and half do not, then compare average handling time
C.Compare the cost of the API before and after deployment
D.Measure the number of summaries generated per day
AnswerB

A/B testing provides a statistically sound comparison of actual metrics.

Why this answer

A/B testing with a control group provides a rigorous comparison of productivity metrics. The other options lack a baseline for comparison.

561
MCQhard

A company is deploying a generative AI model for customer support. They want to reduce hallucinations while maintaining fluency. They have a large dataset of previous support conversations. Which strategy should they prioritize?

A.Increase the beam search width to 10.
B.Implement retrieval-augmented generation (RAG) using the conversation dataset as a knowledge base.
C.Fine-tune the model on the conversation dataset.
D.Set the temperature to 0.1.
AnswerB

RAG retrieves relevant facts from the dataset, reducing hallucinations.

Why this answer

Retrieval-augmented generation (RAG) directly addresses hallucinations by grounding the model's responses in factual, retrieved data from the conversation dataset. This approach allows the model to generate fluent, contextually relevant answers while reducing the risk of inventing information, as it retrieves actual support interactions as evidence before generating a response.

Exam trap

Google Cloud often tests the misconception that tuning generation parameters (like temperature or beam search) can fix hallucinations, when in fact only grounding techniques like RAG or knowledge graph integration address the root cause of factual inaccuracy.

How to eliminate wrong answers

Option A is wrong because increasing beam search width to 10 improves output fluency by exploring more candidate sequences but does not reduce hallucinations; it may even amplify incorrect patterns if the model is prone to hallucination. Option C is wrong because fine-tuning on the conversation dataset can improve domain-specific fluency but risks overfitting to noise or biases in the data, and without retrieval, the model may still hallucinate when faced with novel queries. Option D is wrong because setting temperature to 0.1 makes the model more deterministic and less creative, which can reduce variability but does not prevent hallucinations; it may cause the model to repeat common but incorrect patterns from training data.

562
MCQeasy

A developer needs to use the Vertex AI PaLM API to generate text embeddings for a large corpus of documents. Which model should they use?

A.codey-bison@001
B.textembedding-gecko@001
C.text-bison@001
D.chat-bison@001
AnswerB

This model is designed for generating embeddings.

Why this answer

`textembedding-gecko@001` is the specific Vertex AI model designed for generating text embeddings, which convert text into dense vector representations. This model is optimized for semantic similarity, clustering, and retrieval tasks, making it ideal for processing a large corpus of documents. The other models are designed for code generation, text generation, or chat, not embeddings.

Exam trap

The trap here is that candidates may confuse general-purpose text generation models (like `text-bison@001`) with embedding models, assuming any 'text' model can produce embeddings, but only models with 'embedding' in the name are designed for that purpose.

How to eliminate wrong answers

Option A is wrong because `codey-bison@001` is a code generation model, not an embedding model; it generates code snippets or completes code, not vector representations of text. Option C is wrong because `text-bison@001` is a text generation model for tasks like summarization or content creation, not for producing embeddings. Option D is wrong because `chat-bison@001` is a conversational model designed for multi-turn dialogue, not for generating text embeddings.

563
Multi-Selectmedium

A company wants to use GenAI to generate marketing content such as blog posts and social media updates. They need the content to be on-brand and factually accurate. Which TWO features should they use?

Select 2 answers
A.Provide few-shot examples in the prompt to set the brand tone
B.Use a longer context window to include all brand guidelines
C.Fine-tune the model on a large corpus of past marketing content
D.Enable grounding with Google Search for factual accuracy
E.Use Vertex AI Studio to design prompts with no additional grounding
AnswersA, D

Few-shot learning guides the model to produce content consistent with the brand voice.

Why this answer

Few-shot examples in prompts help maintain brand voice. Grounding with Google Search ensures factual accuracy. Vertex AI Studio is for prompt design but not directly for accuracy.

Fine-tuning may be overkill. Longer context may dilute the message.

564
MCQmedium

A company is building a multilingual customer support chatbot that needs to understand and respond in 20 languages. Which Google model is most suitable for this task?

A.Chirp
B.Imagen
C.Codey
D.Gemini
AnswerD

Gemini supports many languages and multimodal understanding.

Why this answer

Gemini is a multimodal large language model (LLM) designed for understanding and generating text across multiple languages, making it the most suitable choice for a multilingual customer support chatbot. Unlike specialized models, Gemini's architecture supports over 100 languages natively, enabling it to handle the 20-language requirement without needing separate language-specific models.

Exam trap

Google often tests the distinction between specialized models (like Chirp for audio, Imagen for images, Codey for code) and general-purpose multimodal LLMs (like Gemini) that can handle diverse tasks including multilingual text generation.

How to eliminate wrong answers

Option A is wrong because Chirp is a speech-to-text and text-to-speech model focused on audio processing, not on understanding or generating multilingual text for a chatbot. Option B is wrong because Imagen is a text-to-image generation model, not designed for natural language understanding or multilingual text responses. Option C is wrong because Codey is a code generation model specialized in programming languages and code completion, not in handling natural language conversations across multiple human languages.

565
MCQhard

A company is deploying a GenAI-powered email drafting feature. They want to control costs while maintaining low latency for real-time suggestions. Which strategy is MOST effective?

A.Batch all email drafting requests and run them every hour
B.Implement caching for frequently generated email drafts and use a smaller model variant for real-time requests
C.Use the largest available model and increase the number of tokens per request to generate more complete drafts
D.Use a large model with a longer context window to reduce the number of API calls
AnswerB

Caching avoids repeated inference for common drafts, and a smaller model reduces cost and latency for less common requests.

Why this answer

Caching common prompt-output pairs reduces API calls for repeated inputs. Choosing a smaller model balances speed and cost. Batching is for offline processing, not real-time.

Long context is more expensive.

566
MCQmedium

A developer is using the Vertex AI PaLM API and receives a 429 Resource Exhausted error. What is the most likely cause?

A.The request payload is too large
B.The user has exceeded the allowed number of requests per minute
C.The model is not available in the current region
D.The API key is invalid
AnswerB

429 means too many requests, exceeding quota.

Why this answer

429 errors indicate rate limiting or quota exhaustion for the API.

567
MCQeasy

A retail company wants to deploy a generative AI chatbot to assist customers with product recommendations. The chatbot must align with the company's brand voice and provide accurate, up-to-date information. Which strategy should the company prioritize when developing this solution?

A.Ground the model with proprietary product data and brand guidelines in a retrieval-augmented generation (RAG) architecture.
B.Use a generic pre-trained model without customization to reduce development time.
C.Deploy a large language model with a feedback loop to iteratively improve responses.
D.Train the model on public customer reviews to capture common preferences.
AnswerA

RAG with curated data ensures responses are accurate, up-to-date, and on-brand.

Why this answer

Retrieval-augmented generation (RAG) allows the chatbot to ground its responses in the company's proprietary product data and brand guidelines, ensuring factual accuracy and brand consistency. By retrieving relevant information from a curated knowledge base at inference time, the model can provide up-to-date recommendations without requiring retraining, which is critical for a retail environment with frequently changing inventory.

Exam trap

Google Cloud often tests the distinction between fine-tuning and RAG, where candidates mistakenly believe that fine-tuning on historical data is sufficient for real-time accuracy, but the trap here is that only RAG can provide up-to-date grounding without retraining.

How to eliminate wrong answers

Option B is wrong because using a generic pre-trained model without customization will produce responses that lack the company's specific brand voice and may hallucinate product details, leading to inaccurate recommendations. Option C is wrong because deploying a large language model with only a feedback loop does not address the need for accurate, up-to-date information; feedback loops improve responses over time but do not ground the model in proprietary data, so initial outputs can still be incorrect. Option D is wrong because training on public customer reviews introduces noise, bias, and outdated opinions, and does not align with the company's brand guidelines or provide accurate product information.

568
MCQeasy

A team wants to build a GenAI application that can interact with external APIs (e.g., to check inventory or place orders). Which Vertex AI component provides this capability?

A.Grounding with Google Search
B.Model Garden
C.Vertex AI Agent Builder
D.Vertex AI Extensions
AnswerD

Extensions enable agents to connect to external APIs and execute actions.

Why this answer

Extensions allow agents to call external APIs and perform actions beyond text generation. Agent Builder is the platform but Extensions provide the specific API integration. Model Garden and Grounding do not support API calls.

569
Multi-Selectmedium

A company is deploying a generative AI model for medical diagnosis support. Which THREE considerations are critical for responsible AI?

Select 3 answers
A.Ensure the training data is diverse and representative.
B.Maximize model throughput to handle high volumes.
C.Implement human oversight for all diagnostic suggestions.
D.Provide clear disclaimers about the model's limitations.
E.Use the cheapest model to reduce costs.
AnswersA, C, D

Diverse data reduces bias.

Why this answer

Diverse and representative training data is critical for responsible AI in medical diagnosis. If the data lacks diversity, the model may exhibit bias, leading to inaccurate or harmful diagnoses for underrepresented groups. This directly impacts fairness, safety, and regulatory compliance in healthcare AI.

Exam trap

Google Cloud often tests the distinction between operational metrics (like throughput or cost) and ethical/regulatory requirements (like fairness, transparency, and human oversight) in responsible AI, leading candidates to mistakenly select performance-based options as critical considerations.

570
MCQeasy

A startup wants to quickly prototype a conversational AI application using Gemini. They need free access during development and do not require VPC controls. Which access tier should they choose?

A.Vertex AI on a pay-as-you-go basis
B.Vertex AI with VPC-SC
C.Gemini API via Cloud Run
D.Google AI Studio free tier
AnswerD

Google AI Studio provides free prototyping without VPC controls.

Why this answer

Google AI Studio's free tier provides free access to Gemini models for rapid prototyping without requiring VPC controls or any billing setup. This aligns directly with the startup's need for quick, cost-free development iteration before moving to production.

Exam trap

The Generative AI Leader exam often tests the misconception that any Google Cloud service requires a billing account, but Google AI Studio's free tier explicitly bypasses this for prototyping, while options like Vertex AI or Cloud Run always incur costs even at low usage.

How to eliminate wrong answers

Option A is wrong because Vertex AI on a pay-as-you-go basis incurs costs from the start, which contradicts the requirement for free access during development. Option B is wrong because Vertex AI with VPC-SC adds unnecessary VPC security controls and costs, which the startup explicitly does not need. Option C is wrong because the Gemini API via Cloud Run requires a billing account and incurs compute and API usage costs, making it not free for prototyping.

571
Multi-Selecthard

Which THREE factors should be considered when choosing between a fine-tuned model and a prompted foundation model for a generative AI solution? (Select 3)

Select 3 answers
A.Need for domain-specific vocabulary
B.Inference latency requirements
C.Size of training data available
D.Whether the model is open-source
E.Token cost per request
AnswersA, C, E

Fine-tuning can incorporate domain language.

Why this answer

Fine-tuning allows the model to learn domain-specific vocabulary and terminology that may not be well-represented in the foundation model's pre-training data. This is critical for specialized fields like legal, medical, or technical domains where precise language is required for accurate outputs.

Exam trap

Google Cloud often tests the misconception that inference latency is a deciding factor between fine-tuning and prompting, when in reality both can be optimized for speed, and the key differentiators are data availability, domain specificity, and cost per token.

572
MCQeasy

What is the purpose of grounding in Vertex AI?

A.To improve training speed
B.To connect model outputs to verifiable sources
C.To reduce model size for faster inference
D.To enable multi-modal inputs
AnswerB

Grounding ensures the model's responses are based on authoritative information.

Why this answer

Grounding in Vertex AI connects model outputs to verifiable, external sources of information (such as Google Search, enterprise data sources, or third-party databases) to reduce hallucinations and improve factual accuracy. By referencing grounded sources, the model can provide citations and allow users to verify claims, which is critical for enterprise applications requiring trust and compliance.

Exam trap

Google Cloud often tests grounding by conflating it with fine-tuning or prompt engineering, so the trap here is assuming grounding modifies the model's weights or training process, when in fact it is a retrieval-based augmentation layer applied at inference time.

How to eliminate wrong answers

Option A is wrong because grounding does not improve training speed; it is a runtime technique applied during inference to augment responses with real-time data, not a training optimization. Option C is wrong because grounding does not reduce model size or accelerate inference; it may actually add latency due to the retrieval step. Option D is wrong because grounding is not about enabling multi-modal inputs; it specifically addresses output verification and source attribution, whereas multi-modal support is a separate capability for processing images, audio, or video alongside text.

573
Multi-Selecthard

A health-tech startup is fine-tuning a generative AI model on electronic health records (EHR) to assist in clinical decision support. They need to ensure responsible AI practices. Which THREE measures should they implement? (Select three.)

Select 3 answers
A.Automate all decisions to reduce human error
B.Evaluate model outputs for bias across different demographic groups
C.Require a human clinician to review all AI-generated recommendations before action
D.Publish a Model Card that describes the model's intended use, limitations, and performance
E.Train the model exclusively on data from a single hospital to ensure consistency
AnswersB, C, D

Bias evaluation ensures the model is fair across populations, which is critical in healthcare.

Why this answer

Responsible AI in healthcare requires human oversight for high-stakes decisions, evaluating the model for bias (especially across demographic groups), and ensuring transparency about the model's limitations. Training data representativeness is also critical.

574
MCQeasy

A developer needs to generate embeddings for text data to be used in a semantic search application. Which Google Cloud service should they use?

A.Document AI
B.Cloud Translation API
C.Cloud Speech-to-Text
D.Vertex AI Embeddings API
AnswerD

This API generates text embeddings using foundation models.

Why this answer

Vertex AI Embeddings API is the correct choice because it provides a managed service to generate vector embeddings from text data, which are essential for semantic search applications that rely on understanding meaning rather than exact keyword matches. This API leverages large language models to convert text into high-dimensional vectors, enabling efficient similarity search using vector databases or nearest neighbor algorithms.

Exam trap

The trap here is that candidates may confuse Document AI's ability to extract text from documents with the need to generate embeddings from that text, overlooking that embedding generation is a separate, specialized step required for semantic search.

How to eliminate wrong answers

Option A is wrong because Document AI is designed for document processing tasks like OCR, parsing, and extraction of structured data from documents, not for generating text embeddings. Option B is wrong because Cloud Translation API is used for translating text between languages, not for creating vector representations of text for semantic search. Option C is wrong because Cloud Speech-to-Text converts audio to text, but does not generate embeddings or support semantic search directly.

575
Multi-Selecteasy

Which THREE strategies should be combined to effectively reduce biased outputs in a generative AI model? (Choose three.)

Select 3 answers
A.Implement safety filters targeting hate speech and stereotypes.
B.Conduct human evaluation and feedback loops.
C.Use diverse few-shot examples that represent different demographics.
D.Raise the temperature to increase output variability.
E.Fine-tune the model on a biased dataset to learn patterns.
AnswersA, B, C

Safety filters block explicitly biased content.

Why this answer

Implementing safety filters targeting hate speech and stereotypes directly blocks the generation of biased or harmful content at the output layer. These filters use predefined rule sets or trained classifiers to detect and suppress language that reflects demographic or cultural biases, reducing the risk of the model producing offensive or stereotypical responses.

Exam trap

Google often tests the misconception that increasing randomness (temperature) or training on biased data can somehow reduce bias, when in fact both actions worsen the problem by either amplifying noise or embedding the bias deeper into the model's weights.

576
MCQeasy

A large e-commerce company is experiencing high costs for their generative AI product recommendation system. The system generates personalized product descriptions for millions of users daily. The team wants to reduce cost while maintaining quality. They are using a fine-tuned version of a large foundation model hosted on Vertex AI. The current cost is driven by the number of tokens processed. Which approach should they take?

A.Optimize prompts to generate shorter, more concise descriptions
B.Switch to a larger, more capable foundation model
C.Retrain the model with more product data to improve efficiency
D.Increase the batch size of inference requests
AnswerA

Shorter outputs use fewer tokens, reducing cost.

Why this answer

Prompt engineering to reduce output length decreases token usage per request, directly lowering cost without model changes. Option B (switching to a larger model) increases cost. Option C (increasing batch size) may not reduce per-request cost.

Option D (retraining with more data) does not affect inference cost.

577
MCQmedium

A company deployed a generative AI chatbot using Vertex AI PaLM API for customer support. Users report high latency (average 5 seconds per response). They need to reduce latency without significantly affecting response quality. Which design change should they prioritize?

A.Apply model quantization to the deployed model
B.Migrate the chatbot to run on edge devices
C.Increase the batch size of inference requests
D.Switch to a larger, more powerful foundation model
AnswerA

Quantization reduces model size and speeds inference with minor accuracy trade-offs.

Why this answer

Model quantization reduces the precision of the model's weights (e.g., from FP32 to INT8), which decreases the computational load and memory footprint during inference. This directly lowers latency per request on the Vertex AI PaLM API while preserving most of the model's accuracy, making it the most effective single change for reducing response time without significantly degrading quality.

Exam trap

Google Cloud often tests the misconception that increasing computational power (larger model) or batching always improves latency, when in fact these changes can increase per-request delay or degrade quality in interactive applications.

How to eliminate wrong answers

Option B is wrong because migrating to edge devices introduces network latency and limited compute resources, which often increases overall latency and reduces response quality for a cloud-based PaLM API chatbot. Option C is wrong because increasing batch size improves throughput for bulk processing but does not reduce per-request latency; in fact, it can increase the time to first token for individual requests. Option D is wrong because switching to a larger, more powerful foundation model increases computational requirements and inference time, directly worsening latency rather than reducing it.

578
MCQmedium

A developer is building a real-time speech transcription application for customer support calls. The audio is streamed, and the transcription must be returned with low latency. Which Google Cloud AI service should they use?

A.Natural Language API
B.Cloud Speech-to-Text with streaming recognition
C.Cloud Text-to-Speech
D.Vertex AI with a custom model
AnswerB

Streaming recognition allows for real-time transcription of audio as it is being captured, meeting low-latency requirements.

Why this answer

Speech-to-Text supports streaming recognition, making it suitable for real-time transcription with low latency.

579
Multi-Selecteasy

A company is choosing a generative AI model for code generation. Which TWO considerations are most important?

Select 2 answers
A.The total number of model parameters
B.Whether the model's training data includes the target programming languages
C.The open-source license of the model
D.The maximum context length supported by the model
E.The latency of the model's inference endpoint
AnswersB, D

Correct. A model for code generation must be trained on the target programming languages to produce syntactically and semantically correct code, understanding language-specific syntax, libraries, and idioms.

Why this answer

A generative AI model for code generation must have been trained on the target programming languages to produce syntactically and semantically correct code. Without such training data, the model cannot understand language-specific syntax, libraries, or idioms, leading to irrelevant or erroneous outputs.

Exam trap

The trap here is that candidates often assume more parameters (A) or lower latency (E) are always better, but Google tests the understanding that domain-specific training data relevance (B) and context length (D) are critical for code generation accuracy and handling long code sequences.

580
MCQmedium

A company needs to extract structured data from scanned invoices (invoice number, date, total amount) using a pre-built AI solution. Which Google Cloud service is MOST appropriate?

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

Document AI has pre-trained processors for invoices and other documents.

Why this answer

Document AI is specifically designed for processing documents like invoices and extracting structured data. Vision AI is for general image analysis, Natural Language AI for text, and Translation API for translation.

581
MCQmedium

A healthcare startup is developing an AI system to assist radiologists in detecting tumors from X-ray images. Which Google AI Principle is MOST directly applicable to this use case?

A.Incorporate privacy design principles
B.Be built and tested for safety
C.Be socially beneficial
D.Avoid creating or reinforcing unfair bias
AnswerB

Safety is paramount in medical applications; the system must be rigorously tested to avoid harm.

Why this answer

The principle 'be built and tested for safety' directly applies to medical applications where incorrect detection could harm patients. The other principles are also relevant but safety is the most directly applicable to a diagnostic tool.

582
MCQmedium

During model evaluation, a team observes good performance on training data but poor on validation data. Which regularization technique is most appropriate to address this?

A.Add more training data
B.Increase the learning rate
C.Apply dropout
D.Use a larger batch size
AnswerC

Dropout is a regularization method that prevents co-adaptation of neurons, reducing overfitting.

Why this answer

The scenario describes overfitting, where the model memorizes training data but fails to generalize to unseen validation data. Dropout is a regularization technique that randomly deactivates a fraction of neurons during training, forcing the network to learn more robust features and reducing co-adaptation, which directly mitigates overfitting.

Exam trap

Google Cloud often tests the distinction between techniques that improve generalization (regularization) versus those that improve optimization (learning rate, batch size), leading candidates to confuse data augmentation or hyperparameter tuning with regularization methods like dropout.

How to eliminate wrong answers

Option A is wrong because adding more training data can help reduce overfitting but is not a regularization technique; it addresses data scarcity, not the core issue of model complexity. Option B is wrong because increasing the learning rate can cause training instability, divergence, or overshooting of the loss minimum, and does not prevent overfitting. Option D is wrong because using a larger batch size often leads to sharper minima and poorer generalization, potentially worsening overfitting, and is not a regularization method.

583
MCQhard

A financial services firm needs to deploy a large language model (LLM) for analyzing sensitive client documents. They require the model to run within their Virtual Private Cloud (VPC) with no internet access and must comply with data residency regulations. Which Google Cloud generative AI offering should they use?

A.Vertex AI Model Garden with private endpoints and VPC Service Controls
B.Vertex AI Search
C.Cloud Run
D.Vertex AI Workbench
AnswerA

This combination allows secure, private deployment of LLMs within a VPC.

Why this answer

Vertex AI Model Garden with private endpoints and VPC Service Controls allows the LLM to be deployed entirely within the customer's VPC, with no internet egress, and enforces data residency by restricting data movement to the configured VPC boundary. Private endpoints use Private Service Connect to route inference traffic through internal IPs, while VPC Service Controls prevent data exfiltration and ensure compliance with residency regulations.

Exam trap

The trap here is that candidates often confuse Vertex AI Model Garden (a deployment and management service for foundation models) with Vertex AI Workbench (a development environment) or Vertex AI Search (a retrieval service), and overlook the specific requirement for VPC isolation and no internet access, which only Model Garden with private endpoints and VPC Service Controls can satisfy.

How to eliminate wrong answers

Option B is wrong because Vertex AI Search is a managed search service that indexes and retrieves data from external sources (e.g., websites, Cloud Storage) and does not support deploying an LLM within a VPC with no internet access; it relies on Google-managed endpoints and cannot enforce strict VPC isolation. Option C is wrong because Cloud Run is a serverless compute platform that can run custom containers, but it does not natively provide private endpoints for LLM inference or VPC Service Controls to block internet access; it would require additional networking configuration (e.g., VPC connectors) and does not offer the same data residency guarantees as Vertex AI's managed VPC controls. Option D is wrong because Vertex AI Workbench is a Jupyter-based development environment for building and training models, not a deployment service for running LLMs in production; it is designed for experimentation, not for serving inference with VPC isolation and compliance controls.

584
MCQhard

A large insurance company is using generative AI to automate claims processing. They have deployed a custom fine-tuned model on Vertex AI that reads claim documents and extracts key information. Recently, they noticed that the model’s performance degrades over time for certain claim types, leading to incorrect payouts. The team needs to detect and address model drift with minimal manual intervention. They have a data pipeline that captures incoming claims and user feedback on predictions. Which approach should they take?

A.Implement a human review process for all claims the model processes
B.Set up continuous evaluation with automated retraining pipelines based on performance metrics
C.Switch to a simpler rule-based system to avoid drift
D.Manually retrain the model monthly using a snapshot of recent claims
AnswerB

Automates drift detection and model updates with minimal manual intervention.

Why this answer

It establishes a closed-loop MLOps pipeline where continuous evaluation of performance metrics (e.g., precision, recall, or F1-score on streaming data) triggers automated retraining when drift is detected. This minimizes manual intervention while ensuring the model adapts to distribution shifts in claim types, which is critical for maintaining accurate payouts in production.

Exam trap

Google Cloud often tests the misconception that periodic manual retraining (Option D) is sufficient, but the trap here is that it ignores the need for real-time drift detection and automated response, which is essential for production systems handling high-stakes financial decisions.

How to eliminate wrong answers

Option A is wrong because implementing human review for all claims defeats the purpose of automation and introduces significant operational cost and latency, failing the requirement for minimal manual intervention. Option C is wrong because switching to a simpler rule-based system cannot handle the complexity and variability of claim documents, and it will still suffer from drift as claim patterns evolve over time. Option D is wrong because manually retraining monthly on a snapshot ignores real-time drift detection and may miss sudden shifts between retraining cycles, leading to prolonged periods of degraded performance.

585
Multi-Selecthard

A company is deploying a generative AI chatbot for customer support. They want to ensure that the chatbot does not generate harmful content and that they can customize the safety thresholds. Which TWO features in Vertex AI should they use? (Select 2)

Select 2 answers
A.AutoML Tables
B.Custom safety settings (adjustable thresholds)
C.Model Cards
D.Safety filters
E.People + AI Guidebook
AnswersB, D

Allows customization of safety filter sensitivity.

Why this answer

Safety filters block harmful categories; custom safety settings allow adjustment of thresholds. Model Cards and the People + AI Guidebook are not operational safety controls.

586
MCQmedium

A developer is using Gemini 1.5 Pro and needs to process a 2-hour video to answer questions about its content. The video is stored in Cloud Storage. What is the most efficient approach?

A.Extract frames using Video Intelligence API and then send them as images to Gemini
B.Transcribe the video using Chirp, then analyze the text with Gemini
C.Use a custom model fine-tuned on video understanding tasks
D.Send the video file as part of the prompt to Gemini 1.5 Pro
AnswerD

Gemini 1.5 Pro can directly process video files, understanding both audio and visual content.

Why this answer

Gemini 1.5 Pro supports video input natively; you can pass the video directly (via GCS URI) and ask questions. Transcribing first adds latency and loses visual context.

587
MCQmedium

A media company uses generative AI to produce personalized news summaries for subscribers. They notice that the summaries sometimes contain factual inaccuracies, leading to customer complaints. The team needs to improve accuracy without slowing down the generation speed. They are using a pre-trained model via Vertex AI. What strategy should they implement?

A.Switch to a larger, more accurate foundation model
B.Fine-tune the model on a dataset of verified news articles
C.Implement retrieval-augmented generation (RAG) with a trusted knowledge base
D.Add a human-in-the-loop review for every summary
AnswerC

RAG provides factual grounding without sacrificing speed.

Why this answer

Retrieval-augmented generation (RAG) grounds the model's output in a trusted, external knowledge base, allowing it to retrieve verified facts in real time without retraining. This directly addresses factual inaccuracies while maintaining generation speed, as the pre-trained model remains unchanged and only the retrieval step is added. RAG avoids the latency of human review and the computational cost of fine-tuning or switching models.

Exam trap

Google Cloud often tests the misconception that fine-tuning is the default solution for accuracy issues, but the trap here is that RAG provides a faster, more scalable way to ground outputs in verified data without retraining, which is critical when speed and accuracy must both be maintained.

How to eliminate wrong answers

Option A is wrong because switching to a larger foundation model would increase inference latency and computational cost, contradicting the requirement to not slow down generation speed, and it does not guarantee improved factual accuracy without additional grounding. Option B is wrong because fine-tuning on a dataset of verified news articles requires significant time, data, and compute resources, and it may not prevent hallucinations on unseen topics, while also risking catastrophic forgetting of the model's general capabilities. Option D is wrong because adding a human-in-the-loop review for every summary introduces unacceptable latency and operational overhead, making it impractical for real-time personalized news generation at scale.

588
Multi-Selectmedium

A company is deploying Gemini in an enterprise application and needs to choose between Gemini Pro and Gemini Flash for cost optimization. The application has high throughput and can tolerate lower latency. Which TWO considerations should guide the choice? (Choose 2)

Select 2 answers
A.Gemini Flash runs on-device for latency-sensitive applications
B.Gemini Nano is the best choice for high-throughput server workloads
C.Gemini Pro provides higher quality outputs at a higher cost
D.Gemini Pro is only available in Google AI Studio
E.Gemini Flash is optimized for lower cost and higher throughput
AnswersC, E

Pro is more capable but more expensive; if the task requires higher quality, Pro may be worth the cost.

Why this answer

Gemini Flash is cost-optimized for high throughput and lower cost, while Gemini Pro offers higher quality but at higher cost. For high volume, cost-efficient inference, Flash is better. If quality is critical, Pro is warranted.

On-device models (Nano) are not relevant here.

589
MCQhard

A global company wants to deploy a GenAI application that must comply with GDPR and CCPA. They need to ensure that user data submitted to the LLM is not used for model training or improvement. Which combination of actions should they take on Vertex AI?

A.Disable data logging and use a pai-saas-llm model with a contract that prohibits training on inference data
B.Enable data logging for debugging and rely on model cards for compliance
C.Use the default Vertex AI settings, which automatically anonymize data
D.Store all user prompts in a separate BigQuery table for audit trails
AnswerA

Disabling logging prevents data retention; contractual prohibition ensures data is not used for training.

Why this answer

Disabling data logging and using a model that does not train on user data (like a custom deployment) ensures compliance. Default settings may allow training on data.

590
MCQhard

A legal firm wants to use a generative AI model to draft contract clauses. They need to ensure the model's outputs cite specific legal precedents and statutes, and that the reasoning behind each clause is transparent. Which combination of explainability techniques should they prioritize?

A.Confidence indicators and model cards
B.Content safety filters and human oversight
C.Grounding and chain-of-thought reasoning
D.Datasheets for Datasets and PAIR Explorables
AnswerC

Grounding ensures outputs cite sources (legal precedents/statutes); chain-of-thought shows reasoning steps, providing transparency.

591
MCQmedium

A product manager wants to generate meeting summaries automatically using Gemini for Google Workspace. They need summaries to be sent to all participants immediately after the meeting ends. Which Gemini feature should they use?

A.Gemini in Google Docs - Help me write
B.Gemini in Gmail - Smart Compose
C.Vertex AI Agent Builder with a meeting transcription model
D.Gemini in Google Meet - Take notes and summaries
AnswerD

This feature captures notes and summaries during or after a meeting and can automatically distribute them.

Why this answer

Gemini in Google Meet can automatically generate meeting summaries and share them after the meeting. The other options are for different Workspace apps or manual use.

592
Multi-Selectmedium

A business leader is developing a gen AI strategy. Which three key components should be included in the strategy?

Select 3 answers
A.Focus solely on technology
B.Plan for responsible AI
C.Establish data governance policies
D.Define clear use cases with ROI
E.Involve stakeholders across departments
AnswersB, C, D

Responsible AI addresses fairness, transparency, and accountability.

Why this answer

Responsible AI is a foundational component of any generative AI strategy, ensuring ethical use, bias mitigation, and compliance with emerging regulations. Without a plan for responsible AI, the organization risks reputational damage, legal liability, and deployment failures due to lack of trust. This goes beyond simple fairness checklists to include continuous monitoring of model outputs for toxicity, hallucination, and privacy violations.

Exam trap

Google Cloud often tests the misconception that stakeholder involvement is a core strategic component, when in fact it is an implementation enabler, while responsible AI, data governance, and defined use cases with ROI are the three pillars that form the strategy itself.

593
Multi-Selectmedium

A data scientist wants to train a model using BigQuery ML. Which two statements are true about BigQuery ML? (Choose two.)

Select 2 answers
A.It requires a separate Vertex AI training cluster
B.It supports only linear regression models
C.Data must be exported to Cloud Storage before training
D.Models can be trained using SQL directly on BigQuery data
E.It supports both supervised and unsupervised learning
AnswersD, E

BigQuery ML uses SQL for model creation.

Why this answer

BigQuery ML supports supervised and unsupervised algorithms using SQL, and data never needs to leave BigQuery.

594
Multi-Selectmedium

A company is building a conversational AI using the Gemini API on Vertex AI. They want to reduce the chance of generating toxic content while still allowing creative and engaging responses for their gaming community. Which TWO safety settings should they adjust in the safety_settings parameter?

Select 2 answers
A.Set the threshold for 'SEXUALLY_EXPLICIT' category to BLOCK_NONE.
B.Set the threshold for 'SEXUALLY_EXPLICIT' category to BLOCK_LOW_AND_ABOVE.
C.Enable the 'harm_category' filter for 'DANGEROUS_CONTENT' with threshold BLOCK_ONLY_HIGH.
D.Set the threshold for 'HARASSMENT' category to BLOCK_LOW_AND_ABOVE.
E.Set the threshold for 'HATE_SPEECH' category to BLOCK_ONLY_HIGH.
AnswersC, E

Blocks only high probability dangerous content, maintaining safety without stifling creativity.

Why this answer

Setting the 'DANGEROUS_CONTENT' category to BLOCK_ONLY_HIGH allows the model to generate creative and engaging responses for a gaming community while still blocking the most severe dangerous content. This balances safety with creative freedom, as the gaming context may involve simulated conflict or action that is not genuinely harmful.

Exam trap

Google Cloud often tests the misconception that stricter blocking (e.g., BLOCK_LOW_AND_ABOVE) is always better for safety, but in creative contexts like gaming, BLOCK_ONLY_HIGH is the correct balance to avoid stifling legitimate content.

595
MCQeasy

A retail company plans to use Vertex AI's generative AI to create product descriptions. They need to ensure descriptions are factually accurate and do not misrepresent products. Which strategy should they prioritize?

A.Implement human-in-the-loop review
B.Use prompt engineering
C.Use a larger model
D.Increase temperature parameter
AnswerA

Humans can verify and correct factual errors.

Why this answer

Human-in-the-loop (HITL) review is the correct strategy because it directly addresses the need for factual accuracy and prevention of misrepresentation. While generative AI can produce fluent text, it lacks a reliable grounding mechanism for product-specific facts, making human oversight essential to catch hallucinations, verify claims, and ensure compliance with advertising standards. This approach aligns with responsible AI practices and is a core recommendation for high-stakes content generation.

Exam trap

Google Cloud often tests the misconception that prompt engineering or model size alone can solve factual accuracy issues, when in reality, generative AI's inherent lack of ground truth makes human validation indispensable for high-stakes content.

How to eliminate wrong answers

Option B is wrong because prompt engineering, while useful for guiding output style and structure, does not guarantee factual accuracy; it cannot prevent the model from generating plausible-sounding but incorrect product details. Option C is wrong because using a larger model may improve fluency and reduce some errors, but it does not eliminate hallucinations or misrepresentations, and can even introduce more subtle inaccuracies. Option D is wrong because increasing the temperature parameter makes the model's output more random and creative, which increases the risk of generating factually incorrect or misleading descriptions, the opposite of what is needed.

596
MCQhard

An organization is running a large-scale training job for a custom NLP model with a batch size of 2048 and sequence length of 512. They need to minimize training time while keeping costs predictable. Which Google Cloud hardware should they choose?

A.Cloud TPU v5e pods
B.Compute Engine with NVIDIA A100 GPUs
C.Edge TPU devices
D.Compute Engine with NVIDIA T4 GPUs
AnswerA

TPU v5e pods are optimized for large-scale training, providing high throughput and predictable cost, ideal for large batch sizes and sequence lengths.

Why this answer

Cloud TPU v5e pods are purpose-built for large-scale training of transformer-based NLP models, offering high-throughput matrix multiplication and efficient scaling across multiple chips. With a batch size of 2048 and sequence length of 512, TPU v5e pods deliver superior training speed and predictable pricing via reserved capacity, minimizing time-to-train compared to GPU alternatives.

Exam trap

The trap here is that candidates often default to choosing NVIDIA A100 GPUs due to their general popularity, overlooking that TPU pods are specifically optimized for large-scale transformer training with predictable pricing and superior scaling efficiency.

How to eliminate wrong answers

Option B is wrong because NVIDIA A100 GPUs, while powerful, are general-purpose accelerators that lack the dedicated matrix-multiply units (MXU) and high-bandwidth interconnects of TPU pods, leading to higher cost and slower training for large-batch transformer workloads. Option C is wrong because Edge TPU devices are designed for low-power inference at the edge, not for large-scale training, and cannot handle batch sizes of 2048 or sequence lengths of 512. Option D is wrong because NVIDIA T4 GPUs are mid-range inference and training GPUs with lower memory bandwidth and fewer tensor cores, making them unsuitable for large-batch NLP training and resulting in significantly longer training times.

597
MCQmedium

Which command correctly updates the traffic split?

A.gcloud ai endpoints update my-endpoint --region=us-central1 --remove-deployed-model model-v1 --add-deployed-model model-v2 --traffic-split=20
B.gcloud ai models update sentiment-model-v2 --traffic-split=20
C.gcloud ai endpoints update-traffic-split my-endpoint --region=us-central1 --traffic-split=model-v2=20,model-v1=80
D.gcloud ai endpoints update my-endpoint --region=us-central1 --update-traffic-split=model-v2=20,model-v1=80
AnswerC

This is the correct command to update the traffic split for an endpoint.

Why this answer

The `gcloud ai endpoints update-traffic-split` command is the dedicated command for modifying traffic splits between deployed models on a Vertex AI endpoint. It uses the `--traffic-split` flag with key-value pairs (model_id=percentage) to assign traffic percentages, ensuring the total sums to 100. This command directly updates the routing configuration without redeploying models.

Exam trap

The trap here is that candidates confuse the `gcloud ai endpoints update` command (used for general endpoint configuration) with the specific `gcloud ai endpoints update-traffic-split` subcommand, leading them to choose options with incorrect flags like `--update-traffic-split` or `--traffic-split` on the wrong command.

How to eliminate wrong answers

Option A is wrong because `gcloud ai endpoints update` with `--remove-deployed-model` and `--add-deployed-model` is used to change the set of deployed models, not to update traffic splits; the `--traffic-split` flag here is invalid and would cause a syntax error. Option B is wrong because `gcloud ai models update` operates on model versions, not endpoints, and does not support a `--traffic-split` flag; traffic splitting is an endpoint-level configuration. Option D is wrong because `gcloud ai endpoints update` does not accept a `--update-traffic-split` flag; the correct flag is `--traffic-split` on the `update-traffic-split` subcommand, not on `update`.

598
MCQhard

Refer to the exhibit. This IAM policy is applied to a Vertex AI project. A user 'test@example.com' reports they cannot create a ModelEvaluationPipelineJob. Which action should the administrator take?

A.Grant the user roles/aiplatform.specialist at the project level.
B.Add the user roles/aiplatform.user at the model level to allow pipeline creation.
C.Add the user to the roles/aiplatform.admin role at the project level.
D.Remove the service account from roles/aiplatform.admin.
AnswerC

Admin role includes permissions to create pipeline jobs.

Why this answer

Roles/aiplatform.user does not have the permissions to create pipeline jobs; it only allows viewing and using models and endpoints. Roles/aiplatform.admin has full control, so adding the user to this role is the simplest fix. There is no roles/aiplatform.specialist; removing the service account would not help; and granting at the model level is insufficient for creating pipeline jobs.

599
MCQhard

A global financial services firm wants to deploy generative AI for personalized investment recommendations. They must comply with regulations in multiple jurisdictions, including GDPR and the SEC's Marketing Rule. The solution must also be auditable. Which approach best balances regulatory compliance, scalability, and cost?

A.Build a centralized model in a cloud region with the most stringent regulations and apply it globally.
B.Use a single global model with a unified compliance layer applied post-generation.
C.Deploy separate, jurisdiction-specific models with tailored guardrails and audit trails for each region.
D.Rely on a third-party API with built-in compliance for all regions.
AnswerC

This ensures compliance with local regulations and provides auditable logs.

Why this answer

Deploying separate, jurisdiction-specific models allows each model to be trained and governed with guardrails and audit trails that directly map to local regulations like GDPR (data minimization, right to erasure) and the SEC Marketing Rule (fair, clear, and not misleading disclosures). This approach avoids the compliance conflicts that arise when a single model must satisfy contradictory requirements across regions, and it scales cost-effectively by only applying the necessary compliance overhead to each region's data and inference pipeline.

Exam trap

Google Cloud often tests the misconception that a single global model with a post-generation compliance layer is sufficient, but the trap is that post-generation filtering cannot undo model outputs that already violate local regulations, and it fails to provide the granular audit trails required for each jurisdiction's specific rules.

How to eliminate wrong answers

Option A is wrong because building a centralized model in the most stringent region and applying it globally would force all jurisdictions to comply with that region's rules, potentially violating local laws (e.g., GDPR's data localization requirements) and increasing latency and cost for regions with less strict regulations. Option B is wrong because a single global model with a unified compliance layer applied post-generation cannot retroactively fix model outputs that violate jurisdiction-specific rules (e.g., SEC Marketing Rule's prohibition of misleading statements), and it creates an audit trail that is difficult to map to individual regulatory frameworks. Option D is wrong because relying on a third-party API with built-in compliance for all regions assumes a one-size-fits-all solution that rarely exists; third-party APIs often lack granular control over jurisdiction-specific guardrails and audit logging, and they introduce vendor lock-in and data sovereignty risks.

600
Multi-Selectmedium

Which THREE of the following are features of Vertex AI Studio (Gen AI Studio)? (Choose 3)

Select 3 answers
A.Configure pre-built safety filters for generated content.
B.Deploy custom container images to Vertex AI endpoints.
C.Compare responses from different models side-by-side.
D.Fine-tune models with custom datasets using a visual interface.
E.Design and test prompts for various foundation models.
AnswersC, D, E

Studio has a comparison feature for model outputs.

Why this answer

Vertex AI Studio (formerly Gen AI Studio) provides a built-in interface that allows users to run the same prompt against multiple foundation models simultaneously, enabling direct side-by-side comparison of outputs to evaluate quality, tone, and accuracy before selecting a model for deployment.

Exam trap

The trap here is that candidates confuse Vertex AI Studio with Vertex AI's broader deployment and safety management tools, mistakenly attributing endpoint deployment or safety filter configuration to the prompt-design interface, when in fact those are separate services under the Vertex AI umbrella.

Page 7

Page 8 of 10

Page 9

All pages