Courseiva

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

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

Page 1 of 10

Page 2
1
Multi-Selectmedium

A retail company wants to build an internal knowledge base chatbot using Vertex AI. They need to ensure the chatbot only answers from approved company documents and can handle updates without retraining. Which TWO components should they include? (Choose 2)

Select 2 answers
A.RAG Engine to connect the chatbot to a document index
B.A vector store (e.g., Vertex AI Vector Search) to index the documents
C.Fine-tuned model on company documents
D.Model Garden to select a pre-trained model
E.Apps Script to update the document index
AnswersA, B

RAG Engine retrieves relevant chunks from approved documents, ensuring answers are grounded.

Why this answer

RAG Engine retrieves answers from the indexed documents, satisfying the approved-source requirement. A vector store indexes the documents for retrieval. Fine-tuning is not needed.

Model Garden is just a model hub. Apps Script is for Workspace automation.

2
MCQhard

A financial services company wants to use generative AI to generate personalized investment advice. They must ensure responses comply with regulatory requirements (e.g., no guarantees of returns). Which Vertex AI safety feature should they primarily use?

A.Vertex AI Grounding with their compliance database.
B.Prompt engineering with instructions to avoid guarantees.
C.Safety filters with a custom blocklist that includes phrases like 'guaranteed return'.
D.Reinforcement learning from human feedback (RLHF) on the model.
AnswerC

Safety filters can block defined categories or custom phrases.

Why this answer

Safety filters with a custom blocklist allow the company to define specific prohibited phrases (e.g., 'guaranteed return') that the model must avoid generating. This provides a deterministic, rule-based enforcement layer that directly addresses regulatory compliance by blocking disallowed content at inference time, without relying on the model's probabilistic behavior.

Exam trap

The trap here is that candidates often confuse grounding (factual retrieval) with compliance enforcement, or assume prompt engineering is sufficient for regulatory guardrails, when in fact only a deterministic blocklist can reliably prevent specific prohibited phrases from appearing in generated outputs.

How to eliminate wrong answers

Option A is wrong because Vertex AI Grounding connects the model to external data sources for factuality, but it does not enforce compliance rules—it retrieves information but does not block specific prohibited phrases. Option B is wrong because prompt engineering is a soft, non-deterministic approach; the model may still generate guarantees despite instructions, especially with adversarial or edge-case inputs. Option D is wrong because RLHF aligns the model based on human preferences over time, but it is not a real-time safety filter and cannot guarantee that specific regulatory phrases are never generated in production.

3
MCQhard

A healthcare startup uses a generative model fine-tuned on general medical literature to provide preliminary diagnostic suggestions from patient text. The model frequently misses rare diseases and sometimes suggests common conditions that are unlikely given the symptoms. The startup has a curated dataset of rare disease case reports and wants to improve the model’s sensitivity to rare conditions without sacrificing overall accuracy. They cannot afford to retrain the entire model from scratch. The model is deployed on Vertex AI Prediction with low latency requirement. Which approach should they take?

A.Perform continued fine-tuning on the rare disease dataset using a low learning rate.
B.Add a system prompt instructing the model to consider rare diseases more carefully.
C.Reduce top-p sampling to focus on high-probability tokens, assuming rare diseases have lower probability.
D.Implement a human-in-the-loop system: for outputs with low confidence or suspected rare disease, route to a human expert.
AnswerD

Human-in-the-loop catches edge cases without retraining, preserving accuracy for common conditions.

Why this answer

Implementing a human-in-the-loop process for rare disease flags combines AI with expert review, catching misses while maintaining speed for common cases. Option A is wrong because prompt engineering alone may not teach the model about rare diseases. Option B is wrong because increasing top-p restricts vocabulary but doesn't inject knowledge.

Option C is wrong because fine-tuning again might cause catastrophic forgetting of common conditions.

4
MCQhard

A financial services firm uses a fine-tuned model for contract analysis. They observe that the model's performance degrades after a few months because contract language evolves. The team wants to maintain accuracy without full retraining. What is the MOST cost-effective approach?

A.Switch to a larger base model and use zero-shot prompting
B.Retrain the model from scratch every quarter with all historical data
C.Perform incremental fine-tuning with a small representative sample of new contracts
D.Use Vertex AI Model Monitoring to detect drift and alert, then manually adjust prompts
AnswerC

Incremental fine-tuning updates the model on new patterns efficiently, using far less compute than full retraining.

Why this answer

Fine-tuning the existing model with a small amount of new data (incremental fine-tuning) is the most cost-effective way to adapt to language evolution without full retraining. The other options are either too costly or do not adapt the model.

5
Multi-Selectmedium

A company is establishing governance practices for generative AI models. Which three actions are essential for responsible AI deployment?

Select 3 answers
A.Use model versioning to track changes.
B.Regularly audit model outputs for bias.
C.Monitor for data leakage from training data.
D.Implement a human review process for critical decisions.
E.Open-source the model to ensure transparency.
AnswersA, B, D

Versioning ensures reproducibility and accountability for model updates.

Why this answer

Model versioning (Option A) is essential because it enables tracking of changes to generative AI models over time, ensuring reproducibility, rollback capability, and compliance with governance policies. Without versioning, it becomes impossible to audit which model produced a specific output, undermining accountability and regulatory adherence.

Exam trap

Candidates often confuse operational security practices (like data leakage monitoring) with core governance actions (like versioning, auditing, and human review), leading them to select Option C as essential when it is actually a secondary security measure.

6
MCQhard

A team is fine-tuning a large language model on custom data using Vertex AI. They find that the training loss decreases but validation loss increases. What is the best course of action?

A.Increase the number of training epochs.
B.Reduce the model size or add dropout regularization.
C.Increase the learning rate.
D.Switch to a smaller batch size.
AnswerB

Regularization techniques combat overfitting.

Why this answer

The increasing validation loss while training loss decreases is a classic sign of overfitting, where the model memorizes the training data but fails to generalize. Reducing model size or adding dropout regularization directly combats overfitting by limiting the model's capacity or introducing noise during training, which forces the model to learn more robust features. This is the best course of action because it addresses the root cause without further exacerbating the problem.

Exam trap

Google Cloud often tests the distinction between underfitting and overfitting, and the trap here is that candidates may confuse increasing validation loss with underfitting and incorrectly choose to increase epochs or learning rate, rather than recognizing the hallmark divergence of overfitting.

How to eliminate wrong answers

Option A is wrong because increasing the number of training epochs would further overfit the model to the training data, worsening the validation loss. Option C is wrong because increasing the learning rate can cause the model to overshoot minima and destabilize training, potentially increasing both training and validation loss, and does not address overfitting. Option D is wrong because switching to a smaller batch size introduces more noise in gradient estimates, which can sometimes help generalization but is not a direct or reliable remedy for overfitting; it may also slow convergence and is not the primary solution for the described loss divergence.

7
MCQmedium

A financial institution wants to ensure compliance with GDPR when using a generative AI service that processes EU user data. Which measure is most directly required?

A.Disable logging of all interactions to minimize data retention
B.Implement a mechanism to obtain user consent before processing data
C.Store all prompts and responses in a US-based data center
D.Use a model trained only on non-EU data
AnswerB

GDPR mandates lawful basis for processing, with consent being a common basis.

Why this answer

GDPR requires explicit consent for processing personal data, making consent mechanisms a core requirement.

8
MCQmedium

A media company uses a generative AI model to create marketing images. They want to ensure that AI-generated images can be identified as synthetic. Which Google Cloud capability should they use?

A.SynthID
B.Cloud Vision API
C.Data Loss Prevention (DLP) API
D.Vertex AI Model Registry
AnswerA

SynthID applies invisible watermarks to AI-generated content for identification.

Why this answer

SynthID is Google DeepMind's technology for embedding invisible watermarks into AI-generated images, audio, text, and video, enabling identification of synthetic content.

9
MCQhard

A healthcare startup wants to generate synthetic patient notes for training medical residents. They need the output to follow a strict template with sections: Chief Complaint, History, Assessment, Plan. Which prompt engineering strategy should they use to ensure consistent structure?

A.Use a zero-shot prompt asking for a patient note in bullet points
B.Provide a few-shot example of the template filled out and instruct the model to follow that format for new cases
C.Set temperature to 0 and max tokens to a high value
D.Use a system prompt that lists the sections as instructions
AnswerB

Few-shot examples with the exact template teach the model the required structure and sections.

Why this answer

Structured output via few-shot examples showing the exact template ensures the model learns the required format. Adding instructions alone may not enforce the structure as reliably.

10
MCQeasy

A startup is using Vertex AI to build a generative AI application. They need to ensure that the AI-generated content does not contain hate speech or violence. Which service should they use?

A.Google's safety filters in Vertex AI
B.Datasheets for Datasets
C.SynthID
D.Model Cards
AnswerA

These filters can block harmful content categories at inference time.

Why this answer

Google's safety filters in Vertex AI are specifically designed to block harmful content such as hate speech and violence by evaluating model inputs and outputs against predefined safety categories. These filters operate at the API level, allowing developers to configure thresholds for blocking sensitive content, making them the direct solution for the startup's requirement to prevent AI-generated hate speech or violence.

Exam trap

Google often tests the distinction between documentation tools (Datasheets for Datasets, Model Cards) and active runtime safety mechanisms (safety filters), leading candidates to confuse transparency artifacts with operational guardrails.

How to eliminate wrong answers

Option B (Datasheets for Datasets) is wrong because it is a documentation framework for dataset transparency, not a runtime content moderation tool; it describes dataset characteristics but does not filter generated outputs. Option C (SynthID) is wrong because it is a watermarking technique for AI-generated images, not a safety filter for text content; it identifies synthetic media but does not block hate speech or violence. Option D (Model Cards) is wrong because they are standardized model documentation sheets that report model performance and limitations, not active filtering mechanisms; they inform users about model behavior but do not enforce content safety at inference time.

11
MCQmedium

A team built a GenAI chatbot that uses a vector database to retrieve context. Users report irrelevant responses. What is the most likely business strategy issue?

A.The model is too small to generate accurate responses
B.The chatbot is too verbose
C.The system is overfitting to the training data
D.The embedding model is not aligned with the domain vocabulary
AnswerD

If the embeddings do not capture domain-specific meanings, retrieved context will be irrelevant, leading to poor answers.

Why this answer

Irrelevant responses in a RAG (Retrieval-Augmented Generation) chatbot most often stem from the embedding model failing to capture domain-specific semantics. If the embedding model was trained on general text (e.g., Wikipedia) but the chatbot operates in a specialized field like legal or medical, the vector similarity search will retrieve context that is semantically distant from the user's query, leading to irrelevant answers. This is a business strategy issue because the team chose an embedding model that does not align with their domain vocabulary, undermining the entire retrieval pipeline.

Exam trap

Google Cloud often tests the misconception that irrelevant responses are caused by model size or overfitting, when in fact the retrieval stage (embedding model and vector search) is the primary bottleneck in a RAG architecture.

How to eliminate wrong answers

Option A is wrong because model size (number of parameters) primarily affects generation quality and coherence, not the relevance of retrieved context; a small model can still produce accurate responses if the retrieved context is correct. Option B is wrong because verbosity is a stylistic output issue unrelated to the core problem of irrelevant responses; a verbose chatbot might still be accurate. Option C is wrong because overfitting to training data would cause the model to memorize specific examples and fail to generalize, but the symptom here is irrelevant responses due to poor retrieval, not hallucination or memorization of training data.

12
MCQhard

A company has a generative AI model that is too slow for real-time inference. What architectural change would help?

A.Apply model quantization and deploy on TPUs
B.Switch to a larger, more accurate model
C.Deploy the model on more powerful CPUs
D.Use distributed training across multiple GPUs
AnswerA

Quantization reduces memory footprint and speeds up computation, and TPUs provide high throughput for trained models.

Why this answer

Model quantization reduces the precision of the model's weights (e.g., from FP32 to INT8), which significantly decreases memory footprint and computation time, enabling faster inference. Deploying on TPUs (Tensor Processing Units) further accelerates matrix operations through specialized hardware, making this combination ideal for real-time latency requirements.

Exam trap

Google Cloud often tests the distinction between training optimization (distributed training) and inference optimization (quantization, pruning, hardware acceleration), so the trap here is that candidates confuse improving training speed with improving inference latency.

How to eliminate wrong answers

Option B is wrong because switching to a larger, more accurate model increases computational complexity and latency, worsening the speed problem. Option C is wrong because CPUs are general-purpose processors with limited parallel matrix computation capabilities compared to GPUs or TPUs, so using more powerful CPUs still cannot match the throughput needed for real-time inference. Option D is wrong because distributed training across multiple GPUs addresses training speed, not inference latency; inference is typically a single-pass operation that benefits from model optimization and hardware acceleration, not parallel training techniques.

13
MCQmedium

A healthcare organization is deploying a generative AI application that processes Protected Health Information (PHI). They must ensure compliance with HIPAA. Which Google Cloud offering should they use?

A.Google Workspace with Duet AI
B.Model Garden open-source models deployed on Compute Engine
C.Gemini API with default settings
D.Vertex AI APIs with data residency and HIPAA compliance enabled
AnswerD

Vertex AI offers HIPAA-compliant deployments with data residency controls, suitable for PHI.

Why this answer

Vertex AI APIs with data residency and HIPAA compliance enabled is the correct choice because it meets regulatory requirements for PHI. Other options either lack HIPAA coverage or introduce unnecessary complexity.

14
MCQhard

A financial services firm is developing a GenAI application for investment advice. They need to ensure regulatory compliance. Which business strategy should they prioritize?

A.Rapidly deploy an MVP and iterate based on user feedback
B.Implement strict human-in-the-loop review for all investment recommendations
C.Open-source the model to gain community trust
D.Partner with a cloud provider that offers indemnification for model outputs
AnswerB

Human oversight is required by regulations for financial advice, ensuring accuracy and compliance.

Why this answer

In regulated industries like financial services, GenAI applications must prioritize compliance over speed. Option B is correct because a human-in-the-loop (HITL) review ensures that every investment recommendation is auditable and meets regulatory standards (e.g., SEC or FINRA rules), mitigating risks of hallucinated or non-compliant outputs. This strategy directly addresses the need for accountability and transparency in high-stakes decision-making.

Exam trap

Google Cloud often tests the misconception that speed or technical features (like open-sourcing or indemnification) can substitute for regulatory compliance, but in regulated domains, human oversight and auditability are non-negotiable.

How to eliminate wrong answers

Option A is wrong because rapidly deploying an MVP without rigorous compliance checks risks generating non-compliant or misleading investment advice, which could lead to severe regulatory penalties and loss of client trust. Option C is wrong because open-sourcing the model does not inherently ensure regulatory compliance; it may expose proprietary data or create liability if the model produces biased or inaccurate outputs, and community trust does not substitute for legal adherence. Option D is wrong because cloud provider indemnification covers legal costs for model outputs but does not prevent the generation of non-compliant advice; it is a risk transfer mechanism, not a compliance strategy.

15
MCQhard

A generative AI model is trained on a dataset containing biased text. The team wants to debias the model without significantly sacrificing performance on the original task. Which approach is most appropriate?

A.Curate a smaller, balanced dataset that is representative of fair outcomes and fine-tune the model using a combination of the original data and this dataset with a regularization penalty on bias metrics.
B.Train an adversarial classifier to predict protected attributes from the model's hidden representations and minimize that prediction accuracy.
C.Filter the original training dataset to remove all sentences containing biased terms or stereotypes.
D.After training, apply a separate classifier on the model's output logits to adjust the final predictions for fairness.
AnswerA

This approach directly reduces bias while retaining task performance through regularization.

Why this answer

It directly addresses bias in the training data by combining the original dataset with a curated, balanced dataset and applying a regularization penalty on bias metrics. This approach allows the model to retain performance on the original task while explicitly penalizing biased representations during fine-tuning, which is a standard technique in fairness-aware machine learning. The regularization term acts as a constraint that guides the optimization away from biased decision boundaries without requiring full retraining or architectural changes.

Exam trap

Google Cloud often tests the misconception that simply removing biased data or applying post-hoc adjustments is sufficient for debiasing, when in fact these methods fail to address latent biases in model representations and can degrade performance or introduce new biases.

How to eliminate wrong answers

Option B is wrong because training an adversarial classifier to minimize prediction accuracy of protected attributes is a debiasing technique, but it operates on hidden representations and can significantly degrade model performance by removing useful information correlated with protected attributes, often leading to a trade-off that sacrifices task accuracy. Option C is wrong because simply filtering out sentences with biased terms or stereotypes is ineffective; bias can be implicit in non-obvious patterns, and removing data can introduce distribution shift and reduce model robustness without guaranteeing fairness. Option D is wrong because applying a separate classifier on output logits to adjust predictions is a post-processing method that does not address bias in the model's internal representations; it can improve fairness metrics but often at the cost of calibration and may not generalize well across different subgroups.

16
Multi-Selecthard

A team is fine-tuning a large language model for medical advice. Which TWO techniques are most effective for improving the safety and reliability of the model's outputs?

Select 2 answers
A.Constitutional AI
B.Lowering the temperature to 0.0
C.Increasing training data size
D.Increasing top_p to 1.0
E.Reinforcement learning from human feedback (RLHF)
AnswersA, E

Constitutional AI uses predefined rules to guide model behavior.

Why this answer

Constitutional AI (A) is correct because it embeds a set of ethical principles directly into the model's training process, allowing the model to self-critique and revise its outputs to avoid harmful or unsafe medical advice. This technique proactively enforces safety constraints without requiring extensive human labeling, making it highly effective for high-stakes domains like healthcare.

Exam trap

Google Cloud often tests the misconception that hyperparameter tuning (temperature, top_p) or data scaling alone can solve safety issues, when in fact alignment techniques like Constitutional AI and RLHF are specifically designed for that purpose.

17
MCQhard

During a load test, a Vertex AI endpoint serving a large language model experiences high latency and increased error rates. The endpoint is configured with autoscaling. What is the most likely cause?

A.There is a network bottleneck
B.The model size is too large for the machine type
C.The endpoint is using a global load balancer
D.The autoscaling metric is based on CPU utilization but the model is GPU-bound
AnswerD

GPU-bound models require GPU-based metrics for effective autoscaling.

Why this answer

When a model is GPU-bound, CPU utilization remains low even under heavy inference load, so autoscaling based on CPU metrics fails to trigger additional replicas. This leads to queued requests, increased latency, and eventual error rates as the existing GPU instances become saturated. Vertex AI endpoints default to CPU-based autoscaling unless explicitly configured with GPU metrics like 'gpu_utilization' or custom metrics.

Exam trap

The trap here is that candidates assume autoscaling always works generically, but Vertex AI's default CPU-based metric is irrelevant for GPU-accelerated inference, causing silent failures under load.

How to eliminate wrong answers

Option A is wrong because a network bottleneck would typically manifest as packet loss or timeouts across all requests, not specifically correlated with GPU-bound model behavior, and autoscaling would still trigger if CPU metrics were affected. Option B is wrong because model size exceeding machine type limits would cause deployment failures or out-of-memory errors, not gradual latency increases during load tests. Option C is wrong because a global load balancer distributes traffic across regions and reduces latency, not increases it; the issue is autoscaling misconfiguration, not load balancing.

18
Multi-Selecteasy

Which TWO of the following are key differences between generative AI and discriminative AI? (Choose two.)

Select 2 answers
A.Generative models can create new data samples, while discriminative models only assign labels to existing data.
B.Generative models require less training data than discriminative models.
C.Generative models cannot be used for supervised learning tasks like classification.
D.Generative models model the joint probability distribution of inputs and labels, whereas discriminative models model the conditional probability of labels given inputs.
E.Discriminative models always outperform generative models on tasks like image classification.
AnswersA, D

Generation is a hallmark of generative AI.

Why this answer

Generative AI models learn the underlying distribution of the data, enabling them to generate new, realistic samples (e.g., images, text) from the learned distribution. In contrast, discriminative models learn decision boundaries to classify or label existing data without the ability to create new data instances. This fundamental difference in capability—creation versus discrimination—is a core distinction between the two paradigms.

Exam trap

Google Cloud often tests the misconception that generative models are only for unsupervised tasks and cannot perform classification, leading candidates to incorrectly select Option C, while also testing the false assumption that discriminative models are universally superior, as in Option E.

19
MCQmedium

A company is building a generative AI chatbot for customer support using Vertex AI. They want to ground the model responses with their internal knowledge base stored in Cloud Storage and BigQuery. Which feature should they use to ensure the model only answers from the provided data and avoids hallucination?

A.Vertex AI Grounding with Vertex AI Search
B.Vertex AI Prediction
C.Vertex AI Pipelines
D.Cloud Functions
AnswerA

Vertex AI Grounding with Search enables grounding on enterprise data sources.

Why this answer

Vertex AI Grounding with Vertex AI Search is the correct feature because it allows the model to retrieve and cite information from a specified data source (such as Cloud Storage and BigQuery) to generate responses. This process, known as grounding, ensures the model's output is based solely on the provided authoritative data, effectively reducing hallucinations by constraining the model to factual, retrieved content rather than relying on its internal parametric knowledge.

Exam trap

The trap here is that candidates may confuse Vertex AI Prediction (a general model serving endpoint) with the grounding feature, mistakenly thinking that simply deploying a model with Vertex AI Prediction will automatically restrict its answers to a specific knowledge base, when in fact grounding requires explicit integration with Vertex AI Search and a configured data store.

How to eliminate wrong answers

Option B is wrong because Vertex AI Prediction is a service for deploying and serving models to generate predictions or responses, but it does not inherently include grounding capabilities to restrict answers to a specific knowledge base; it would require additional integration with a retrieval system. Option C is wrong because Vertex AI Pipelines is an orchestration service for building and managing ML workflows, not a feature for grounding model responses or preventing hallucinations. Option D is wrong because Cloud Functions is a serverless compute service for running event-driven code, and while it could be used to build a custom retrieval pipeline, it is not a native Vertex AI feature for grounding and does not provide the built-in retrieval and citation mechanisms needed to ensure answers come only from the provided data.

20
Multi-Selecteasy

Which TWO features are available in Vertex AI Studio for prompt engineering? (Choose two.)

Select 2 answers
A.Side-by-side comparison of model outputs
B.One-click deployment to a Vertex AI endpoint
C.Ability to test prompts with different model parameters (temperature, top_p)
D.Fine-tuning models directly in the interface
E.Building conversational agents with drag-and-drop
AnswersA, C

Allows output comparison.

Why this answer

Vertex AI Studio provides a side-by-side comparison feature that allows prompt engineers to evaluate outputs from multiple model configurations or parameter settings simultaneously. This enables direct visual comparison of responses, helping to identify the most effective prompt phrasing or parameter combination without manual switching.

Exam trap

The trap here is that candidates may confuse Vertex AI Studio's prompt engineering features with those of Vertex AI Agent Builder or Vertex AI Model Registry, leading them to select options like one-click deployment or drag-and-drop agent building that belong to separate services.

21
Multi-Selecteasy

A team is selecting a foundation model for a text summarization use case. They need to consider factors that affect both model performance and production deployment. Which THREE factors are most critical? (Choose three.)

Select 3 answers
A.Model parameter count (billions of parameters).
B.Inference latency and throughput capabilities.
C.Context window length (maximum input tokens).
D.Training data provenance and licensing.
E.Pricing per token (input + output).
AnswersB, C, E

Inference latency and throughput are critical for production deployment because they directly determine user experience and operational cost. Low latency is essential for real-time summarization, and high throughput enables handling of concurrent requests efficiently.

Why this answer

Inference latency and throughput are critical for production deployment because they directly determine the user experience and operational cost. A model with high latency may be unsuitable for real-time summarization, while low throughput limits the number of concurrent requests the system can handle, affecting scalability and cost-efficiency.

Exam trap

Google Cloud often tests the distinction between model-centric factors (like parameter count) and deployment-centric factors (like latency and pricing), trapping candidates who assume bigger models are always better without considering operational constraints.

22
MCQmedium

A company wants to scale their generative AI application globally with low latency. Which infrastructure configuration is most suitable?

A.Use a CDN to cache responses.
B.Multiple regional endpoints with traffic routing to the nearest region.
C.On-premises deployment for all regions.
D.Single endpoint in us-central1 with high max replicas.
AnswerB

Regional deployment reduces latency by serving from nearby cloud regions.

Why this answer

Deploying multiple regional endpoints with traffic routing to the nearest region minimizes latency by directing user requests to the geographically closest inference endpoint. This architecture leverages global load balancing (e.g., using Anycast DNS or HTTP(S) load balancers with backend services in multiple regions) to reduce round-trip time (RTT) and meet latency SLAs for real-time generative AI applications.

Exam trap

The trap here is that candidates often confuse CDN caching with real-time inference, assuming caching can accelerate dynamic AI responses, but generative AI outputs are unique per request and cannot be pre-cached.

How to eliminate wrong answers

Option A is wrong because a CDN caches static content (e.g., images, CSS) but cannot cache dynamic, context-dependent generative AI responses, which require real-time model inference; thus, it does not reduce latency for API calls. Option C is wrong because on-premises deployment lacks global scalability and introduces high latency for users outside the local region, defeating the purpose of global low-latency access. Option D is wrong because a single endpoint in us-central1 forces all global traffic to traverse long distances, causing high latency for users far from that region, regardless of the number of replicas.

23
MCQeasy

Which Google Cloud product provides access to pre-trained foundation models like Gemini?

A.Dataflow
B.Vertex AI Generative AI Studio
C.Cloud Translation
D.Vertex AI Model Registry
AnswerB

Generative AI Studio (Model Garden) provides access to a variety of foundation models including Gemini.

Why this answer

Vertex AI Generative AI Studio is the correct answer because it is the Google Cloud service specifically designed to provide access to pre-trained foundation models like Gemini, allowing users to test, customize, and deploy them via a managed interface. Unlike other services, Generative AI Studio directly integrates with Gemini's API and offers prompt engineering, tuning, and model evaluation capabilities.

Exam trap

The trap here is that candidates confuse Vertex AI Model Registry (a model management tool) with Generative AI Studio (the actual interface for accessing and experimenting with foundation models), leading them to pick D instead of B.

How to eliminate wrong answers

Option A is wrong because Dataflow is a fully managed stream and batch data processing service based on Apache Beam, not a platform for accessing or interacting with pre-trained foundation models. Option C is wrong because Cloud Translation is a specialized service for language translation using pre-trained models, but it does not provide access to general-purpose foundation models like Gemini or support for multimodal tasks. Option D is wrong because Vertex AI Model Registry is a metadata management service for storing and versioning models, not a tool for directly accessing or experimenting with pre-trained foundation models like Gemini.

24
MCQmedium

A compliance officer requires that all AI-generated content in Google Workspace be reviewed before sharing externally. Which change management approach BEST supports this requirement while maintaining user adoption?

A.Roll out the feature to a pilot group with training and a feedback loop before company-wide deployment
B.Allow all sharing but audit logs after the fact
C.Disable AI features in Workspace for all users until a review tool is built
D.Immediately block all external sharing of AI-generated content
AnswerA

An iterative rollout with training and champions allows users to adapt to the review process, improving adoption and compliance.

Why this answer

Iterative rollout with training and a champion program helps users learn the review workflow and provide feedback, leading to higher adoption. Strict enforcement without support reduces adoption. Limiting access doesn't teach compliance.

No review is a risk.

25
MCQhard

A financial services company needs to deploy an AI model that handles highly sensitive transaction data. They require that the model's predictions cannot be inspected by any third party, and the data must remain encrypted at all times, including during inference. Which Google Cloud feature should they use?

A.Customer-Managed Encryption Keys (CMEK)
B.Access Transparency logs
C.VPC Service Controls
D.Confidential VMs
AnswerD

Confidential VMs encrypt data in use using AMD SEV, ensuring no third party can inspect memory during inference.

Why this answer

Confidential VMs (D) are the correct choice because they provide hardware-based memory encryption using AMD Secure Encrypted Virtualization (SEV), ensuring that data remains encrypted while in use (during inference). This meets the requirement that the model's predictions cannot be inspected by any third party, including Google Cloud operators, and that data stays encrypted at all times.

Exam trap

The trap here is that candidates often confuse encryption at rest/in transit with encryption in use, and mistakenly choose CMEK or VPC Service Controls, not realizing that only Confidential VMs protect data during active computation.

How to eliminate wrong answers

Option A is wrong because Customer-Managed Encryption Keys (CMEK) protect data at rest and in transit but do not encrypt data during processing (in use), leaving it exposed in memory during inference. Option B is wrong because Access Transparency logs provide audit logs of Google Cloud administrator access but do not encrypt data or prevent third-party inspection of predictions. Option C is wrong because VPC Service Controls create a security perimeter to prevent data exfiltration but do not encrypt data in use; they control network access, not memory-level encryption.

26
MCQeasy

A company wants to generate marketing images for a new product launch using GenAI. Which Google Cloud service should they use?

A.Gemini for Google Workspace
B.Vertex AI Agent Builder
C.Vertex AI Model Garden
D.Vertex AI Imagen
AnswerD

Imagen is the image generation model on Vertex AI.

Why this answer

Imagen on Vertex AI is Google Cloud's image generation model, available through Vertex AI APIs or Model Garden.

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

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

Why this answer

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

28
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.Fine-tune a base LLM on the policy documents monthly
C.Use a larger foundation model with a longer context window and paste all documents into each prompt
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

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.

29
Multi-Selectmedium

A data scientist wants to build a question-answering system over a large corpus of scientific papers. They want to minimize hallucinations and keep the knowledge current. Which TWO techniques should they combine?

Select 2 answers
A.Fine-tuning the model on the corpus
B.Retrieval-Augmented Generation (RAG)
C.Using a zero-shot prompt
D.Using only the largest Gemini model with no retrieval
E.Increasing the model's temperature to 1.5
AnswersA, B

Fine-tuning adapts the model to the domain, improving answer quality while RAG provides fresh knowledge.

Why this answer

Fine-tuning the model on the corpus (A) adapts the model's weights to the specific domain and style of scientific papers, improving relevance and reducing factual errors. Retrieval-Augmented Generation (RAG) (B) grounds each answer in retrieved, up-to-date passages from the corpus, directly countering hallucinations and enabling knowledge updates without retraining. Together, they combine domain adaptation with dynamic retrieval for accurate, current responses.

Exam trap

Google often tests the misconception that a larger model alone or higher temperature can solve hallucinations, when in fact grounding via retrieval and domain adaptation are the proven mitigations.

30
MCQmedium

You are the lead AI engineer at a financial services firm. You have fine-tuned a large language model on historical trade reports to generate daily market summaries. The model is deployed on Google Cloud's Vertex AI using a custom container. A few weeks after deployment, the operations team notices that inference latency has increased by 300%, causing timeouts. You investigate and find that the model's memory consumption has grown unexpectedly, and the GPUs are idling due to high data transfer wait times. The model architecture and code have not changed. Which action is most likely to resolve the latency issue?

A.Upgrade to a more powerful GPU instance (e.g., A100 to H100) to handle the increased memory footprint.
B.Enable preemptible VM instances to reduce cost and redeploy the model on a faster network.
C.Periodically clear the key-value cache between inference requests and implement cache truncation for long sequences.
D.Recompile the model using XLA with optimizations for dynamic shapes.
AnswerC

Clearing and managing the KV cache reduces memory bloat and speeds up inference.

Why this answer

The latency spike is caused by the key-value (KV) cache growing unboundedly across inference requests, leading to excessive memory consumption and data transfer wait times. Periodically clearing the KV cache between requests and truncating it for long sequences directly addresses the root cause by freeing GPU memory and reducing I/O bottlenecks, without requiring hardware upgrades or recompilation.

Exam trap

Google often tests the misconception that hardware upgrades or compilation optimizations can fix memory management issues, when the real problem is a software-level cache leak that must be handled explicitly in the serving infrastructure.

How to eliminate wrong answers

Option A is wrong because upgrading to a more powerful GPU (e.g., A100 to H100) does not fix the underlying issue of an ever-growing KV cache; it merely masks the symptom with more memory, and the high data transfer wait times would persist due to cache bloat. Option B is wrong because enabling preemptible VMs reduces cost but does not resolve memory growth or data transfer latency; preemptible instances can be terminated at any time, worsening reliability, and a faster network does not address the cache-induced memory pressure. Option D is wrong because recompiling with XLA for dynamic shapes optimizes computation graphs but does not prevent the KV cache from accumulating across requests; the latency issue stems from memory management, not from suboptimal compilation.

31
Multi-Selectmedium

A company has a generative AI chatbot on Vertex AI that shows high response latency. They want to reduce latency without significantly increasing cost. Which TWO actions should they take? (Choose two.)

Select 2 answers
A.Increase the min_replica_count to keep more instances always warm.
B.Enable streaming responses using server-sent events.
C.Reduce the max_output_tokens parameter in the model configuration.
D.Use machine types with GPUs.
E.Switch to a larger model like Gemini 1.5 Pro for better accuracy.
AnswersB, C

Enabling streaming responses using server-sent events sends tokens incrementally, making the first token appear sooner. This reduces perceived latency without requiring additional infrastructure or cost.

Why this answer

Enabling streaming responses using server-sent events (SSE) allows the chatbot to send tokens incrementally as they are generated, rather than waiting for the full response. This reduces the perceived latency for the end user, as the first token appears much sooner, even though the total generation time may remain similar. This approach directly addresses high response latency without increasing compute cost, as it does not require additional infrastructure or model changes.

Exam trap

The trap here is that candidates often confuse reducing latency with reducing total generation time in Vertex AI, but streaming only reduces perceived latency by delivering tokens earlier, while options like reducing max_output_tokens actually cut total generation time and cost by limiting output length.

32
MCQeasy

A team uses a generative model to summarize lengthy legal documents. The summaries are accurate but often exceed the target length of 200 words, varying widely. Which simple adjustment should be applied to ensure consistent output length?

A.Fine-tune the model on summaries that are exactly 200 words.
B.Set the max output tokens parameter to 200.
C.Add a system prompt that says 'Summarize in exactly 200 words.'
D.Lower the temperature to reduce variability in word choices.
AnswerB

Max token limits directly truncate the output, enforcing the length constraint.

Why this answer

Setting the max output tokens parameter to 200 directly caps the number of tokens the model can generate, ensuring the summary cannot exceed the target length. This is a deterministic, model-level constraint that works regardless of prompt phrasing or training data, making it the most reliable adjustment for consistent output length.

Exam trap

Google often tests the misconception that prompt engineering or fine-tuning can enforce precise numerical constraints, when in fact only a hard token limit parameter provides deterministic control over output length.

How to eliminate wrong answers

Option A is wrong because fine-tuning on exactly 200-word summaries does not guarantee the model will always stop at that length; it can still generate longer outputs due to autoregressive decoding and lack of a hard token limit. Option C is wrong because a system prompt is a soft instruction that the model may not reliably follow, especially for precise numerical constraints like word count, leading to inconsistent lengths. Option D is wrong because lowering temperature reduces randomness in token selection but does not enforce a maximum length; it may actually cause the model to produce shorter or repetitive outputs, not consistently 200 words.

33
Multi-Selectmedium

A financial services firm must deploy a conversational AI application using Gemini on Vertex AI. They require: 1) SOC2 compliance, 2) audit logging of model inputs/outputs, and 3) data isolation within their VPC. Which THREE configurations or features should they enable?

Select 3 answers
A.Deploy the Data Loss Prevention API
B.Enable VPC Service Controls to restrict data access
C.Enable Cloud Audit Logs for Vertex AI
D.Use Google AI Studio Prototyping
E.Sign a SOC2 compliance agreement with Google Cloud
AnswersB, C, E

VPC Service Controls provide data isolation.

Why this answer

Vertex AI offers VPC Service Controls for data isolation, Cloud Audit Logs for logging, and SOC2 compliance is available. Google AI Studio does not provide these, and Data Loss Prevention API is for data masking, not a requirement.

34
Multi-Selecthard

Which THREE approaches are effective for reducing bias in generative model outputs? (Choose three.)

Select 3 answers
A.Set temperature to a very high value.
B.Use adversarial training.
C.Use a balanced training dataset.
D.Use prompt engineering to specify neutral tone.
E.Fine-tune on a debiased dataset.
AnswersC, D, E

Balanced data reduces representation bias.

Why this answer

A balanced training dataset reduces the risk of the model learning spurious correlations or skewed distributions that lead to biased outputs. By ensuring that all demographic groups, topics, or perspectives are represented proportionally, the model's learned probability distribution is less likely to favor one group over another, directly mitigating representation bias at the data level.

Exam trap

The trap here is that candidates confuse randomness (high temperature) with fairness, or mistake adversarial training (a robustness technique) for a bias mitigation method, when in fact bias reduction requires data-level or fine-tuning interventions like balanced datasets, debiased fine-tuning, or prompt engineering.

35
Multi-Selectmedium

A company is developing a generative AI application that must comply with GDPR. Which TWO actions are required? (Select two.)

Select 2 answers
A.Anonymize all training data to prevent any re-identification
B.Provide a mechanism for users to request deletion of their personal data
C.Obtain explicit consent from users before using their data to personalize responses
D.Use a model that has been pre-trained only on non-EU data
E.Store all user data in a centralized location for easier management
AnswersB, C

The right to erasure is a core GDPR requirement.

Why this answer

GDPR requires a lawful basis for processing personal data, such as user consent, and the right to erasure (right to be forgotten). Data subjects must be able to request deletion of their data.

36
MCQmedium

A financial institution wants to use Gemini to analyze customer support transcripts and generate summaries. They need to ensure that personally identifiable information (PII) is not included in the summaries. Which approach should they take?

A.Preprocess the transcripts with Cloud DLP API to redact PII before sending to Gemini
B.Use a carefully engineered prompt instructing Gemini not to include PII
C.Post‑process the generated summaries with a regex filter to remove PII
D.Fine‑tune Gemini to avoid generating PII
AnswerA

Redacting PII upstream ensures the model never receives sensitive data, providing a robust solution for compliance.

Why this answer

The Cloud Data Loss Prevention (DLP) API provides a purpose-built, scalable service to detect and redact PII from text before it reaches the Gemini model. This ensures that sensitive data is removed at the source, preventing any possibility of leakage in the generated summary, regardless of model behavior or prompt engineering.

Exam trap

Google often tests the misconception that prompt engineering or post-processing can reliably handle security requirements, when in fact a dedicated data loss prevention service like Cloud DLP is the only robust approach for guaranteed PII redaction before model inference.

How to eliminate wrong answers

Option B is wrong because prompt engineering alone cannot guarantee PII removal; Gemini may still inadvertently include PII due to model hallucinations, context misinterpretation, or adversarial inputs. Option C is wrong because post-processing with a regex filter is brittle and cannot reliably catch all PII formats (e.g., context-dependent identifiers, non-standard patterns), and PII may have already been exposed in the model's output. Option D is wrong because fine-tuning Gemini to avoid generating PII is impractical and risky; it requires extensive labeled data, may degrade model performance, and cannot guarantee complete PII avoidance across all edge cases.

37
Multi-Selecteasy

A marketing team wants to generate social media posts using generative AI. They need the tone to be consistent with their brand voice. Which two prompt engineering techniques should they use? (Choose TWO)

Select 2 answers
A.Set maximum output tokens to a low value
B.Use few-shot examples of approved posts
C.Use negative prompts like 'do not be casual'
D.Set high temperature to encourage creativity
E.Include a detailed brand style guide in the system prompt
AnswersB, E

Examples demonstrate the desired style and help the model replicate it.

Why this answer

Providing a style guide in the system prompt and using few-shot examples are effective techniques to enforce brand voice. Random examples and negative phrasing are not recommended. Maximum tokens does not affect tone.

38
MCQmedium

A team is tuning a large language model for a question-answering task. They notice the model gives high confidence scores to answers that are factually incorrect. Which evaluation metric should they primarily use to detect this overconfidence problem?

A.Perplexity
B.Expected Calibration Error (ECE)
C.BLEU score
D.ROUGE-L
AnswerB

ECE directly quantifies how well confidence scores reflect actual correctness.

Why this answer

Expected Calibration Error (ECE) directly measures the alignment between a model's predicted confidence and its actual accuracy. In this scenario, high confidence on incorrect answers indicates miscalibration, and ECE quantifies this mismatch by binning predictions by confidence and computing the average absolute difference between accuracy and confidence per bin.

Exam trap

Google Cloud often tests the distinction between intrinsic evaluation metrics (like perplexity) and calibration metrics, leading candidates to mistakenly choose perplexity when the core issue is confidence miscalibration rather than general model uncertainty.

How to eliminate wrong answers

Option A is wrong because Perplexity measures how well a probability distribution predicts a sample, reflecting model uncertainty over token sequences, but it does not assess calibration of confidence scores against factual correctness. Option C is wrong because BLEU score evaluates n-gram overlap between generated and reference texts for translation quality, not confidence calibration or factual accuracy. Option D is wrong because ROUGE-L measures longest common subsequence recall for summarization tasks, and is unrelated to detecting overconfidence in model predictions.

39
MCQhard

A financial services firm needs to deploy a generative AI model that generates reports from structured and unstructured data. The solution must ensure that outputs never contain sensitive customer information. Which combination of Google Cloud services should they use?

A.Vertex AI Gemini API with DLP integration + IAM roles + VPC Service Controls
B.Vertex AI Gemini API + Cloud Key Management Service (KMS) + Secret Manager
C.Vertex AI Gemini API + Cloud Data Loss Prevention (DLP) standalone + Cloud NAT
D.Vertex AI Gemini API + Cloud DLP + Cloud Armor
AnswerA

DLP integration inspects and redacts sensitive data in prompts/responses; IAM and VPC-SC enforce access controls and network perimeter.

Why this answer

Vertex AI's DLP integration can inspect and redact PII from prompts and responses. Combined with IAM roles and VPC-SC, this provides comprehensive data protection. The other options either lack DLP integration or do not cover both prompt and response inspection.

40
MCQmedium

A company is fine-tuning a generative AI model on proprietary customer data. They are concerned about copyright and IP issues when using the model commercially. What is the BEST practice to mitigate these risks?

A.Apply SynthID to all generated content to prove origin
B.Only use data that is explicitly licensed for commercial use and document its provenance
C.Include a disclaimer on all outputs that the company is not liable for IP infringement
D.Use a model trained on publicly available data only
AnswerB

Properly licensed data with clear provenance protects against IP infringement claims.

Why this answer

Maintaining clear documentation of training data provenance and licensing is crucial for IP compliance, as recommended by Google's AI governance.

41
MCQmedium

A retail company is building a product description generator using a large language model on Vertex AI. They need to ensure the generated descriptions do not contain offensive language. Which strategy should they implement?

A.Fine-tune the model on a dataset of clean product descriptions
B.Implement a content moderation filter (e.g., Perspective API) as a post-processing step
C.Use Vertex AI Model Monitoring to detect anomalies in model predictions
D.Include explicit instructions in the prompt to avoid offensive language
AnswerB

Post-processing filters catch offensive outputs before delivery to users.

Why this answer

Content moderation filters like Perspective API act as a post-processing safeguard that can catch offensive language the model might generate despite prompt engineering or fine-tuning. This approach provides a deterministic, rule-based or ML-based check that is independent of the model's training, ensuring compliance with content policies in production. It is a standard practice for deploying LLMs in customer-facing applications where safety is critical.

Exam trap

Google Cloud often tests the misconception that prompt engineering or fine-tuning alone can guarantee safety, when in practice a dedicated post-processing filter is required for reliable content moderation in production.

How to eliminate wrong answers

Option A is wrong because fine-tuning on clean product descriptions reduces but does not eliminate the risk of generating offensive language; the model can still hallucinate or produce harmful outputs due to biases in the base model or adversarial inputs. Option C is wrong because Vertex AI Model Monitoring detects anomalies in prediction distributions (e.g., drift, data skew) but does not inspect individual outputs for offensive content; it is a monitoring tool, not a content filter. Option D is wrong because including explicit instructions in the prompt is a weak safeguard; LLMs can ignore or misinterpret instructions, especially under prompt injection or when generating long descriptions, making it unreliable as a sole defense.

42
MCQeasy

A developer is using Vertex AI Studio to prototype a chat application. They want to provide the model with a system instruction to set the tone and style. How should they configure this in the Vertex AI Studio interface?

A.Add the instruction as part of the prompt text
B.Set the temperature parameter to a high value
C.Use the 'System Instruction' field in the model configuration
D.Add the instruction in the 'Context' parameter
AnswerC

Vertex AI Studio has a dedicated field for system instructions.

Why this answer

Vertex AI Studio provides a dedicated 'System Instruction' field in the model configuration panel, which allows developers to set the tone, style, and behavioral guidelines for the model without mixing them into the user prompt. This field is specifically designed to hold system-level instructions that are prepended to the conversation context, ensuring consistent behavior across multiple turns.

Exam trap

The trap here is that candidates often confuse the 'System Instruction' field with the 'Context' parameter, mistakenly thinking both serve the same purpose, but the 'Context' parameter is designed for providing background knowledge or few-shot examples, not for setting persistent behavioral instructions.

How to eliminate wrong answers

Option A is wrong because adding the instruction as part of the prompt text would mix system-level guidance with user input, making it harder to maintain consistency and potentially causing the model to treat the instruction as part of the conversation rather than a persistent directive. Option B is wrong because the temperature parameter controls randomness in output generation, not the tone or style; a high temperature increases creativity and variability but does not enforce a specific behavioral instruction. Option D is wrong because the 'Context' parameter in Vertex AI Studio is used to provide background information or examples for grounding the model, not for setting system-level behavioral instructions like tone or style.

43
MCQhard

Which of the following is a best practice when using Vertex AI for prompt engineering?

A.Always set temperature to 0
B.Use consistent formatting and delimiters
C.Avoid using examples in the prompt
D.Use very long prompts to include all possible instructions
AnswerB

Consistent structure helps the model parse instructions and reduces errors.

Why this answer

Consistent formatting and delimiters (e.g., using triple backticks, XML tags, or clear section headers) help the model parse instructions and context reliably, reducing ambiguity and improving output quality. This is a core best practice in prompt engineering on Vertex AI because it leverages the model's attention mechanisms to focus on distinct prompt segments, leading to more predictable and accurate responses.

Exam trap

Google Cloud often tests the misconception that 'more is better' in prompts or that deterministic settings like temperature=0 are universally optimal, leading candidates to overlook the importance of structured, concise formatting.

How to eliminate wrong answers

Option A is wrong because setting temperature to 0 always is not a best practice; temperature controls randomness, and while 0 yields deterministic outputs, many tasks benefit from slight variability (e.g., creative generation or diverse suggestions), and Vertex AI supports a range of 0.0 to 1.0. Option C is wrong because including examples (few-shot prompting) is a powerful technique to guide the model's behavior and improve performance, especially for complex or nuanced tasks; avoiding them would reduce effectiveness. Option D is wrong because very long prompts can exceed context windows, dilute key instructions, and increase latency or cost; Vertex AI models have token limits (e.g., 8,192 tokens for Gemini), and concise, well-structured prompts are more efficient.

44
MCQhard

A financial services firm is deploying a GenAI application that processes sensitive client data. They must ensure that no prompts or model outputs are logged by the model provider. Which configuration in Vertex AI is REQUIRED to meet this data residency and privacy requirement?

A.Set the data residency location to a specific region in Vertex AI
B.Configure VPC Service Controls to create a service perimeter around Vertex AI
C.Use Model Garden to select a model hosted entirely on-premises
D.Enable Customer-Managed Encryption Keys (CMEK) on the Vertex AI endpoint
AnswerB

VPC Service Controls prevent data from being exfiltrated or logged outside the defined perimeter, ensuring provider-side logging is blocked.

Why this answer

VPC Service Controls create a security perimeter around Vertex AI resources, preventing data from being logged outside the customer's VPC. CMEK encrypts data at rest but doesn't prevent logging. Model Garden doesn't control logging.

Data residency settings are broader than the specific logging control needed.

45
MCQhard

An organization needs to build an AI system that can take actions on behalf of users, such as booking appointments or sending emails. They want to use Google Cloud's capabilities for this. Which approach aligns with Google's future direction?

A.Use Gemini with function calling to execute tasks
B.Deploy a static knowledge base chatbot
C.Use AutoML Tables to predict actions
D.Fine-tune Gemini for classification
AnswerA

Function calling enables agentic behavior, allowing the model to invoke APIs to perform actions.

Why this answer

Agentic AI refers to systems that can autonomously perform tasks and take actions, which is a key area of investment.

46
MCQmedium

Refer to the exhibit. A developer creates a model resource with this YAML config but gets an error that the model is not deployable. What is missing?

A.model_type
B.artifact_uri
C.container_spec
D.description
AnswerC

container_spec is required to tell Vertex AI which container to use.

Why this answer

The error 'model is not deployable' occurs because the YAML config lacks a `container_spec` field. In Vertex AI, a model must specify how to serve predictions—either via a pre-built container (using `container_spec`) or a custom container. Without this, the model has no runtime environment and cannot be deployed to an endpoint.

Exam trap

Google Cloud often tests the misconception that `artifact_uri` is the key requirement for deployment, but the real mandatory field is the container specification that defines the runtime environment.

How to eliminate wrong answers

Option A is wrong because `model_type` is not a required field for deployment; Vertex AI infers the model type from the artifact or container. Option B is wrong because `artifact_uri` is optional—it points to the model artifacts but is not mandatory if the container already includes them. Option D is wrong because `description` is purely metadata and has no impact on deployability.

47
MCQmedium

A startup with limited ML expertise wants to add a GenAI feature to their SaaS application that can generate personalized email drafts for users. They need fast time-to-market and low maintenance. Which build-vs-buy decision is BEST?

A.Select a model from Model Garden and deploy it on Vertex AI
B.Fine-tune an open-source model on a corpus of email drafts to create a custom model
C.Buy a pre-built API such as the Gemini API and integrate it with prompt engineering for personalization
D.Build a custom transformer model from scratch
AnswerC

Pre-built APIs offer quick integration, low maintenance, and the startup can focus on prompt engineering to personalize drafts without ML overhead.

Why this answer

Using pre-built APIs (like Gemini API) with prompt engineering is the fastest path and requires no ML expertise. Custom fine-tuning would require data and expertise. Building from scratch is too heavy.

Model Garden still requires deployment and management.

48
Multi-Selectmedium

A company is using Vertex AI RAG Engine to ground a chatbot in internal documents. The chatbot sometimes returns outdated information. Which TWO steps should they take to improve freshness?

Select 2 answers
A.Set up automated re-indexing on a schedule (e.g., daily)
B.Reduce the chunk size to 50 tokens
C.Increase the model's temperature to 1.0
D.Implement document chunking with metadata such as version or timestamp
E.Disable grounding and rely on the model's pre-training data
AnswersA, D

Regular re-indexing ensures the vector store reflects document updates.

Why this answer

Automated indexing syncs with document updates; chunking with timestamps allows retrieval of newer documents. Disabling groundings and increasing temperature do not help freshness.

49
MCQeasy

A developer is using Vertex AI with an API key and gets the above error. What is the likely cause?

A.Wrong endpoint
B.Excessive quota
C.Expired API key
D.Insufficient permissions
AnswerC

The error message explicitly says 'API key not valid', common when key is expired.

Why this answer

The error indicates that the API key used to authenticate with Vertex AI is no longer valid. API keys can expire due to a configured expiration policy or if they have been revoked in the Google Cloud Console. Since the developer is using an API key directly (rather than a service account or OAuth token), an expired key is the most direct cause of an authentication failure.

Exam trap

The trap here is that candidates confuse authentication failures (401) with authorization failures (403), leading them to select 'Insufficient permissions' when the actual issue is an expired or invalid API key.

How to eliminate wrong answers

Option A is wrong because a wrong endpoint would result in a DNS resolution or HTTP 404 error, not an authentication-related error. Option B is wrong because excessive quota returns a 429 HTTP status code (RESOURCE_EXHAUSTED), not an authentication failure. Option D is wrong because insufficient permissions would return a 403 HTTP status code (PERMISSION_DENIED), which is distinct from the authentication error caused by an invalid or expired API key.

50
MCQeasy

A financial services firm wants to use generative AI to summarize lengthy regulatory documents for compliance officers. They need high accuracy and the ability to reference specific source paragraphs. The team is evaluating a retrieval-augmented generation (RAG) approach on Google Cloud. However, they are concerned about latency when querying large documents. Which architecture change would most effectively reduce response time?

A.Switch to a pure vector search without indexing
B.Increase the number of chunks retrieved per query
C.Use a larger embedding model to improve retrieval accuracy
D.Implement semantic chunking with overlapping to reduce document size per retrieval
AnswerD

Smaller, well-structured chunks speed up retrieval and generation.

Why this answer

Semantic chunking with overlapping reduces the size of each retrieved chunk while preserving context, which directly lowers the amount of text processed per query and speeds up the generation step. This architecture change minimizes latency by ensuring the retriever fetches only the most relevant, compact segments, reducing the load on both the embedding and LLM inference stages.

Exam trap

Google Cloud often tests the misconception that improving retrieval accuracy or increasing context always benefits latency, when in fact reducing the per-query data volume through smarter chunking is the most direct way to cut response time.

How to eliminate wrong answers

Option A is wrong because pure vector search without indexing would require a full scan of all document embeddings, drastically increasing retrieval time and negating any latency benefit. Option B is wrong because increasing the number of chunks retrieved per query expands the context window, which increases the LLM's processing time and overall response latency. Option C is wrong because a larger embedding model improves retrieval accuracy but introduces higher computational cost during both indexing and query encoding, which increases latency rather than reducing it.

51
MCQmedium

A company is evaluating the ROI of implementing GenAI for code generation. Which metric BEST captures the productivity improvement of developers?

A.Percentage of code that passes unit tests on the first attempt
B.Time saved per development task (e.g., from 2 hours to 30 minutes)
C.Number of lines of code generated per day
D.Number of bugs found in production after code review
AnswerB

Time saved directly reflects productivity gain.

Why this answer

Time saved per task directly measures productivity. Code quality is an improvement metric, but time saved is the primary productivity indicator.

52
MCQmedium

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

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

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

Why this answer

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

53
MCQeasy

An employee wants to use GenAI to assist with writing formulas in Google Sheets. Which Gemini for Google Workspace feature should they use?

A.Formula assistance in Google Sheets
B.Help me write in Google Docs
C.Image generation in Google Slides
D.Smart Compose in Gmail
AnswerA

Formula assistance is the Sheets-specific Gemini feature.

Why this answer

Gemini for Sheets provides formula assistance, helping users generate, explain, or debug formulas.

54
MCQmedium

A news organization is using Vertex AI Gemini to summarize articles. They observe that the summaries sometimes contain hallucinated facts—specifically, dates and statistics that are not in the original article. The team is using the default temperature and top_p settings. They want to reduce hallucinations without making summaries too repetitive or overly conservative. They also need to keep latency low. Which action should they take?

A.Increase the temperature to 1.0 and lower top_p to 0.1.
B.Enable grounding with Google Search to provide factual source context.
C.Fine-tune the model on a large dataset of articles and human-written summaries.
D.Lower the temperature to 0.0 and increase top_p to 1.0.
AnswerB

Grounding connects the model to verified information, reducing hallucination.

Why this answer

Enabling grounding with Google Search is the correct action because it directly addresses the root cause of hallucinations—lack of factual source context—by allowing the model to cross-reference generated content with real-time, authoritative web data. This approach reduces fabricated dates and statistics without requiring changes to temperature or top_p, which could introduce repetition or conservatism, and it maintains low latency by leveraging Google's infrastructure for retrieval rather than model retraining.

Exam trap

The trap here is that candidates often assume reducing randomness (lower temperature) or increasing determinism (top_p adjustments) will fix hallucinations, but these parameters control output style, not factual grounding, which requires external verification.

How to eliminate wrong answers

Option A is wrong because increasing temperature to 1.0 and lowering top_p to 0.1 would increase randomness and narrow token selection, likely worsening hallucinations and making summaries less coherent, not more factual. Option C is wrong because fine-tuning on a large dataset is resource-intensive, increases latency, and may not eliminate hallucinations if the training data itself contains inaccuracies; it also contradicts the requirement to keep latency low. Option D is wrong because lowering temperature to 0.0 makes the model deterministic and overly repetitive, while increasing top_p to 1.0 has no effect at temperature 0.0, resulting in summaries that are conservative and lack diversity, not a solution for hallucinations.

55
MCQeasy

A developer is using Vertex AI PaLM API to generate code snippets. The responses sometimes contain security vulnerabilities. What is the best practice to mitigate this?

A.Implement input validation and output filtering with safety attributes
B.Disable safety filters to allow more output
C.Increase the max output tokens
D.Set safety settings to block all categories
AnswerA

Validating inputs and filtering outputs reduces security risks.

Why this answer

Input validation and output filtering with safety attributes directly address security vulnerabilities by sanitizing user inputs and filtering model outputs for harmful content. The Vertex AI PaLM API provides safety attribute scores (e.g., toxicity, harassment) that allow developers to programmatically block or flag responses that exceed defined thresholds, reducing the risk of generating insecure code snippets.

Exam trap

The trap here is that candidates may think increasing token limits or disabling filters improves output quality, when in fact the core issue is controlling content safety through validation and filtering, not adjusting generation parameters.

How to eliminate wrong answers

Option B is wrong because disabling safety filters removes all guardrails, allowing the model to generate potentially harmful or insecure code without any mitigation, which increases security risks. Option C is wrong because increasing max output tokens does not affect the content's security; it only allows longer responses, which could include more vulnerabilities. Option D is wrong because setting safety settings to block all categories is overly restrictive and may prevent legitimate code generation, but more importantly, it does not address the root cause of vulnerabilities—input validation and output filtering are needed to catch context-specific issues like insecure code patterns.

56
MCQmedium

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

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

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

Why this answer

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

57
MCQhard

A multinational corporation is using Vertex AI to generate multilingual customer support responses. They have fine-tuned the Gemini model on support tickets in English and now want to extend to 10 additional languages. The fine-tuning dataset for new languages is small (1000 tickets each). During evaluation, the model performs well for common languages (Spanish, French) but poorly for languages like Finnish and Thai. The team needs to improve performance for low-resource languages. They have budget constraints and cannot collect more data quickly. Which approach should they take?

A.Switch to Vertex AI Codey API for generating responses in all languages.
B.Use a multilingual foundation model and fine-tune with cross-lingual transfer learning techniques.
C.Deploy separate fine-tuned models for each language.
D.Collect more training data for low-resource languages via crowdsourcing.
AnswerB

Gemini is inherently multilingual; cross-lingual transfer can boost low-resource performance.

Why this answer

Using a multilingual foundation model (like Gemini's multilingual variant) with cross-lingual transfer learning leverages the model's pre-trained knowledge across languages, allowing it to generalize from high-resource languages (Spanish, French) to low-resource ones (Finnish, Thai) even with small fine-tuning datasets. This approach is budget-friendly as it avoids separate models or costly data collection, and it directly addresses the performance gap by sharing linguistic patterns across languages.

Exam trap

The trap here is that candidates often assume more data (Option D) or separate models (Option C) are the only solutions, ignoring that cross-lingual transfer learning can effectively bootstrap low-resource languages from high-resource ones without additional data collection.

How to eliminate wrong answers

Option A is wrong because the Vertex AI Codey API is designed for code generation, not multilingual customer support responses, and switching to it would not improve performance for low-resource languages. Option C is wrong because deploying separate fine-tuned models for each language multiplies cost and maintenance overhead, and with only 1000 tickets per language, each model would suffer from the same data scarcity issue without cross-lingual benefits. Option D is wrong because the team has budget constraints and cannot collect more data quickly, making crowdsourcing infeasible in the short term, and it does not address the underlying need for transfer learning.

58
MCQmedium

A research team is training a large multimodal model and needs to minimize training time for a fixed budget. Which Google Cloud infrastructure is specifically designed for large-scale training workloads?

A.Compute Engine with A100 GPUs
B.TPU Pods
C.Kubernetes Engine with GPU nodes
D.Cloud TPU v5e single chip
AnswerB

TPU pods are custom ASICs designed for large-scale ML training.

Why this answer

TPU pods are purpose-built for large-scale ML training, offering high-bandwidth interconnect and optimized performance for TensorFlow/JAX.

59
MCQmedium

A company is evaluating whether to use a pre-built API or fine-tune a model for their use case. They have a large dataset of domain-specific jargon and need high accuracy on specialized terms. Which factor MOST strongly suggests fine-tuning?

A.The team wants to rapidly prototype a solution
B.The team has a limited budget for compute resources
C.The application requires low latency responses
D.The model needs to understand and generate domain-specific jargon accurately
AnswerD

Fine-tuning on domain data adapts the model to specialized terminology, improving accuracy.

Why this answer

Domain-specific vocabulary is a classic reason to fine-tune, as pre-built APIs may not handle jargon well. Latency sensitivity favors smaller models or APIs. Tight budget favors pre-built.

Rapid prototyping favors pre-built.

60
MCQmedium

A data scientist is evaluating a generative AI model for gender bias in its text outputs. They have a test set of 1,000 gender-neutral prompts. Which approach is MOST appropriate for measuring output bias?

A.Check the gender distribution of the training data
B.Use a toxicity classifier to flag any biased outputs
C.Analyze the gender of characters, roles, and pronouns in the model's completions
D.Ask the model to self-report its confidence in avoiding bias
AnswerC

This directly measures bias in outputs by comparing the distribution of gender associations in responses against expected balanced or fair distributions.

Why this answer

To measure bias, the test set should include prompts that are neutral in gender but may elicit biased responses. The correct approach is to analyze the gender of pronouns, roles, or descriptors in the model's completions.

61
Multi-Selecthard

A data scientist is evaluating the output quality of a text generation model. They observe that the model often repeats phrases and produces very generic responses. Which THREE parameter adjustments could help increase diversity and reduce repetition? (Choose three.)

Select 3 answers
A.Increase the top-k value from 40 to 100
B.Increase the temperature from 0.5 to 0.9
C.Decrease the max output tokens from 1024 to 512
D.Increase the top-p value from 0.8 to 0.95
E.Decrease the frequency penalty to 0.0
AnswersA, B, D

Higher top-k considers more candidate tokens, increasing the chance of less common tokens.

Why this answer

Higher temperature increases randomness, reducing repetition. Higher top-k and top-p allow a wider set of tokens, increasing diversity. Reducing max output tokens does not affect diversity; increasing frequency penalty reduces repetition directly.

62
MCQmedium

A company is using Vertex AI to fine-tune a large language model on proprietary customer support transcripts. The transcripts contain personally identifiable information (PII) such as names and email addresses. What is the BEST practice to comply with Google's AI Principles on privacy?

A.De-identify the transcripts by removing or masking PII before fine-tuning
B.Use a model that has already been trained on similar data to avoid fine-tuning
C.Obtain consent from all customers whose data appears in the transcripts
D.Fine-tune the model directly on the transcripts, as the model will not memorize exact data
AnswerA

De-identification minimizes privacy risk and aligns with privacy design principles.

Why this answer

Google's AI Principles include incorporating privacy design principles. The best practice is to de-identify the training data by removing or masking PII before fine-tuning, reducing privacy risk.

63
Multi-Selectmedium

A developer is tuning a text-generation model for creative writing. They want the outputs to be more diverse and less repetitive. Which THREE parameters/changes can help? (Choose three.)

Select 3 answers
A.Increase temperature to 0.9
B.Reduce top-k to 10
C.Increase presence penalty to 0.5
D.Increase top-p to 0.95
E.Reduce frequency penalty to 0.0
AnswersA, C, D

Higher temperature increases randomness and diversity.

Why this answer

Increasing temperature to 0.9 raises the randomness of the probability distribution over the vocabulary, making the model more likely to sample less probable tokens. This directly increases output diversity and reduces repetitiveness by flattening the softmax curve, which is a standard technique for creative generation.

Exam trap

Google Cloud often tests the misconception that reducing top-k or top-p increases diversity, when in fact narrowing the sampling pool (lower top-k or lower top-p) reduces diversity, and the correct approach is to increase these values or increase temperature/penalties.

64
MCQhard

An enterprise wants to adopt GenAI across departments but faces resistance from legal and compliance. Which strategy should the AI leader prioritize?

A.Outsource the entire initiative to a consulting firm
B.Build a comprehensive governance framework covering data use, review, and monitoring
C.Deploy a single pilot in a low-risk department to demonstrate value
D.Mandate use of GenAI through executive order
AnswerB

A governance framework ensures that GenAI use is compliant, transparent, and aligned with corporate policies, gaining trust from legal and compliance.

Why this answer

Legal and compliance resistance stems from concerns about data privacy, regulatory adherence, and model accountability. A comprehensive governance framework directly addresses these by defining data usage policies, implementing review mechanisms for model outputs, and establishing continuous monitoring to detect drift or bias, which is essential for enterprise-grade GenAI deployment.

Exam trap

Google Cloud often tests the misconception that a low-risk pilot (Option C) is the best first step to overcome resistance, but the trap is that without a governance framework, even a pilot can expose the enterprise to compliance risks, and the question specifically asks for a strategy to address legal and compliance resistance, not just to demonstrate value.

How to eliminate wrong answers

Option A is wrong because outsourcing to a consulting firm does not resolve internal legal and compliance concerns; it shifts responsibility without ensuring the enterprise has control over data governance, model transparency, or audit trails, which are critical for regulatory compliance. Option C is wrong because deploying a single low-risk pilot, while useful for proof-of-concept, does not address the root cause of resistance from legal and compliance—it may demonstrate value but lacks the governance structure needed to satisfy their requirements for data handling, review, and monitoring across all departments. Option D is wrong because mandating use through executive order bypasses the legitimate concerns of legal and compliance teams, likely escalating resistance and risking non-compliance with regulations like GDPR or HIPAA, as GenAI models can inadvertently expose sensitive data or produce unverifiable outputs.

65
MCQeasy

A company wants to offer a generative AI feature where the output must follow a very specific tone and style as per the brand guidelines. Which strategy is most reliable?

A.Post-process the output with a style transfer algorithm.
B.Use a general-purpose model with a system prompt describing the style.
C.Use a different model for each content type.
D.Fine-tune a model on a dataset of branded content.
AnswerD

Fine-tuning internalizes the style, leading to more reliable and consistent output.

Why this answer

Fine-tuning a model on a dataset of branded content is the most reliable strategy because it adjusts the model's internal weights to consistently produce outputs that match the specific tone and style of the brand. Unlike prompt-based methods, fine-tuning embeds the stylistic constraints directly into the model's parameters, ensuring adherence even for complex or nuanced brand guidelines.

Exam trap

The trap here is that candidates overestimate the reliability of prompt engineering (Option B) for enforcing strict, consistent stylistic constraints, underestimating how easily a general-purpose model can deviate from a system prompt when faced with complex or ambiguous inputs.

How to eliminate wrong answers

Option A is wrong because post-processing with a style transfer algorithm adds latency, can introduce artifacts, and may not preserve the original content's meaning while reliably matching brand-specific tone and style. Option B is wrong because a general-purpose model with a system prompt is fragile—subtle variations in prompt phrasing or model updates can cause the output to drift from the desired style, and the model lacks deep internalization of the brand's unique patterns. Option C is wrong because using a different model for each content type does not guarantee consistent tone and style across types; it increases maintenance overhead and still requires each model to be individually tuned or prompted to follow brand guidelines.

66
MCQeasy

A startup is deciding between using a pre-trained model via API vs. hosting their own open-source model. Which factor is most critical for their decision?

A.The accuracy on a benchmark dataset
B.The number of parameters in the model
C.The level of community support for the open-source model
D.Total cost of ownership including infrastructure and expertise
AnswerD

A startup must consider API pricing vs. cloud infrastructure and the hiring costs for model maintenance.

Why this answer

Total cost of ownership (TCO) is the most critical factor because it encompasses not only the direct costs of infrastructure (compute, storage, networking) but also the hidden costs of expertise (MLOps engineers, security hardening, ongoing maintenance) and opportunity costs. A pre-trained API may have higher per-token costs but lower upfront investment, while self-hosting an open-source model requires significant capital expenditure on GPUs, cooling, and power, plus the operational burden of scaling inference under variable load. This decision directly impacts the startup's burn rate and runway, making TCO the primary driver for a resource-constrained organization.

Exam trap

Google Cloud often tests the misconception that technical superiority (accuracy or parameter count) is the primary decision factor, when in reality the business context—specifically TCO—drives the choice between API consumption and self-hosting for startups.

How to eliminate wrong answers

Option A is wrong because benchmark accuracy is a static metric that does not account for real-world deployment costs, latency requirements, or data privacy constraints; a model with slightly lower accuracy may be far more cost-effective or compliant. Option B is wrong because the number of parameters is a coarse proxy for model capability but does not directly determine inference cost, latency, or the total cost of ownership; a smaller model with efficient quantization can outperform a larger model in throughput and cost per request. Option C is wrong because community support, while helpful for troubleshooting, does not address the core financial and operational viability of self-hosting; a well-supported model still requires the startup to bear all infrastructure and expertise costs.

67
MCQmedium

A data science team wants to build a RAG pipeline to ground a chatbot in proprietary knowledge. They need to choose a vector database and embedding model. Which combination is NATIVELY integrated with Vertex AI and requires the least custom infrastructure?

A.TensorFlow Embedding Projector + BigQuery
B.Vertex AI Embeddings API + Vertex AI Vector Search
C.Custom embeddings using a BERT model + Elasticsearch
D.Vertex AI Embeddings API + Pinecone
AnswerB

Both services are fully managed and natively integrated into Vertex AI, reducing infrastructure overhead.

Why this answer

Vertex AI Embeddings API and Vertex AI Vector Search are both native, fully managed services within the Vertex AI ecosystem, requiring zero custom infrastructure for deployment. The Embeddings API generates text embeddings directly, and Vector Search provides a scalable, low-latency vector database that integrates seamlessly without additional servers or third-party tools.

Exam trap

Google Cloud exams often test the distinction between 'natively integrated' and 'compatible' — candidates may assume any popular vector database like Pinecone works seamlessly with Vertex AI, but only Vertex AI Vector Search offers native, infrastructure-free integration.

How to eliminate wrong answers

Option A is wrong because TensorFlow Embedding Projector is a visualization tool, not a production vector database, and BigQuery is a data warehouse without native vector search capabilities, requiring custom infrastructure for indexing and retrieval. Option C is wrong because custom embeddings using a BERT model require manual model hosting, scaling, and maintenance, while Elasticsearch is not natively integrated with Vertex AI and demands custom infrastructure for embedding generation and vector indexing. Option D is wrong because Pinecone is a third-party vector database that requires separate account setup, API key management, and network configuration, lacking native integration with Vertex AI and increasing infrastructure complexity.

68
Multi-Selecteasy

Which TWO of the following are capabilities of Vertex AI Model Garden? (Choose 2)

Select 2 answers
A.Generate code snippets for common programming tasks.
B.Ability to generate images from text descriptions.
C.Deploy custom container images for model serving.
D.Access to a curated set of foundation models like PaLM and Gemini.
E.Ability to fine-tune and deploy foundation models.
AnswersD, E

Model Garden gives access to foundation models.

Why this answer

Vertex AI Model Garden provides a curated repository of Google's foundation models, including PaLM 2, Gemini, and other first-party and third-party models, allowing users to discover, test, and deploy them directly from the Google Cloud console. This access is a core capability of Model Garden, enabling rapid experimentation with pre-trained models without requiring custom model building.

Exam trap

The trap here is that candidates confuse the capabilities of Vertex AI Model Garden (model discovery, access, and deployment) with the capabilities of the underlying models themselves (e.g., code generation or image generation), or with other Vertex AI services like Prediction or Endpoints for custom container deployments.

69
MCQeasy

What is the primary purpose of Google DeepMind's SynthID technology?

A.To remove harmful content from AI outputs
B.To encrypt AI-generated content for secure transmission
C.To improve the accuracy of generative AI models
D.To detect AI-generated content and identify the model that created it
AnswerD

SynthID embeds a digital watermark that can be detected later to verify content origin.

Why this answer

SynthID is an invisible watermarking tool for AI-generated content, enabling identification of synthetic images, audio, text, or video without altering the user experience.

70
MCQmedium

A generative AI model used for generating product descriptions occasionally outputs hateful content. The company wants a scalable solution to block such content without modifying the model. Which Google Cloud feature should they use?

A.Retraining the model with a more diverse dataset
B.Model Cards to document known biases
C.Custom content controls in Vertex AI
D.Datasheets for Datasets to improve training data quality
AnswerC

Vertex AI provides configurable safety filters that block harmful content like hate speech at inference time.

Why this answer

Google's safety filters are designed to block harmful content categories, including hate speech, and can be applied at inference time without retraining the model.

71
MCQmedium

A company is adopting GenAI for internal knowledge base search. They want to measure the success of the rollout. Which metric is LEAST relevant for evaluating adoption?

A.Employee satisfaction with search results
B.Reduction in time to find information
C.Percentage of employees using the tool weekly
D.Number of queries answered per day
AnswerD

Query volume indicates usage but does not differentiate between casual and effective adoption; it can be inflated by repeated queries from the same users.

Why this answer

The least relevant metric because it measures raw system throughput rather than adoption or business value. A high number of queries answered per day could indicate system abuse, redundant searches, or poor initial retrieval quality, not successful adoption. Adoption metrics should focus on user engagement, satisfaction, and efficiency gains, not just volume.

Exam trap

Google often tests the distinction between operational metrics (e.g., query volume) and adoption/outcome metrics (e.g., satisfaction, time savings), leading candidates to mistakenly choose a volume metric as relevant for adoption evaluation.

How to eliminate wrong answers

Option A is wrong because employee satisfaction with search results directly measures user experience and perceived value, which are core to adoption success. Option B is wrong because reduction in time to find information quantifies efficiency gains, a primary business outcome of GenAI search. Option C is wrong because percentage of employees using the tool weekly measures active engagement and habitual use, a standard adoption KPI.

72
MCQeasy

A marketing agency wants to use Vertex AI to automatically generate social media posts for clients. They plan to use the Gemini API with few-shot prompting. The agency's developers have limited experience with generative AI and want the fastest way to prototype and iterate on prompts. They are already using Google Cloud for other services. Which approach should they take to quickly develop and test prompts?

A.Use a third-party platform like OpenAI Playground and migrate later.
B.Use Google Cloud Shell to invoke the model via curl commands.
C.Use Vertex AI Studio (Gen AI Studio) to design and test prompts interactively.
D.Write Python scripts using the Vertex AI SDK and run them in Airflow.
AnswerC

Vertex AI Studio is designed for rapid prototyping with a visual interface.

Why this answer

Vertex AI Studio (Gen AI Studio) is the correct choice because it provides a no-code, interactive environment specifically designed for rapid prompt engineering and iteration with Gemini models. It allows developers with limited generative AI experience to test few-shot prompts, adjust parameters, and see results immediately without writing code, making it the fastest path from concept to working prototype within the Google Cloud ecosystem.

Exam trap

The trap here is that candidates may confuse 'fastest to prototype' with 'most familiar tool' (like curl or Python scripts), overlooking that Vertex AI Studio is purpose-built for interactive, no-code prompt engineering within Google Cloud.

How to eliminate wrong answers

Option A is wrong because using a third-party platform like OpenAI Playground introduces unnecessary migration effort, potential API incompatibilities, and does not leverage the agency's existing Google Cloud investment or the Gemini API's specific capabilities. Option B is wrong because Google Cloud Shell with curl commands is a low-level, non-interactive approach that lacks the visual prompt design, parameter tuning, and example management features of Vertex AI Studio, making it slower and more error-prone for iterative prototyping. Option D is wrong because writing Python scripts with the Vertex AI SDK and running them in Airflow is a production-oriented, code-heavy approach that requires significant development effort and is not suitable for rapid prototyping and iteration by developers with limited generative AI experience.

73
MCQhard

A hospital deploys a generative AI model to assist in diagnosing rare diseases. The model sometimes suggests treatments that are not widely accepted. To align with Google's AI Principle of being accountable to people, what should the hospital implement?

A.Provide confidence scores for each suggestion to help clinicians assess reliability
B.Implement a human override mechanism that allows clinicians to reject AI suggestions
C.Limit the model to only suggest treatments that appear in a predefined list
D.Conduct a retrospective audit of all AI suggestions monthly
AnswerB

An override mechanism ensures accountability by keeping humans in control of final decisions.

Why this answer

Google's AI Principle of being accountable to people requires that AI systems remain under human control, especially in high-stakes domains like healthcare. A human override mechanism ensures that clinicians can reject AI suggestions that are not widely accepted, directly addressing the principle's emphasis on human oversight and responsibility for outcomes.

Exam trap

The trap here is that candidates often confuse transparency (confidence scores) with accountability, failing to recognize that accountability specifically demands human control and the ability to reject AI outputs, not just visibility into the model's reasoning.

How to eliminate wrong answers

Option A is wrong because providing confidence scores, while useful for transparency, does not fulfill the accountability principle's requirement for human control; it only informs the clinician without enabling them to override the AI. Option C is wrong because limiting the model to a predefined list of treatments defeats the purpose of generative AI, which is to explore novel or rare disease treatments, and may lead to missed diagnoses or suboptimal care. Option D is wrong because retrospective audits, though valuable for monitoring, do not provide real-time human oversight; accountability requires the ability to intervene at the point of decision, not just after the fact.

74
MCQmedium

A healthcare startup needs to deploy an AI model that processes protected health information (PHI). They require a HIPAA BAA with the cloud provider. Which Google Cloud AI service can meet this compliance requirement?

A.Colab
B.Gemini API via Google AI Studio
C.Vertex AI
D.Cloud Vision API
AnswerC

Vertex AI can be covered under a HIPAA BAA.

Why this answer

Vertex AI offers a HIPAA BAA for covered entities, while other services may not.

75
MCQeasy

A company wants to build a chatbot that can answer questions about its internal knowledge base using natural language. Which Google Cloud Generative AI offering should they use to quickly prototype and deploy this chatbot with minimal coding?

A.Generative AI Studio
B.Vertex AI Endpoints
C.Cloud Natural Language API
D.Vertex AI Model Garden
AnswerA

Generative AI Studio offers a drag-and-drop interface for building chatbots.

Why this answer

Generative AI Studio provides a no-code/low-code environment to prototype and deploy chatbots with foundation models.

Page 1 of 10

Page 2

All pages