Courseiva

Google Cloud Generative AI Leader Generative AI Leader (Generative AI Leader) — Questions 76–150

1008 questions total · 14 pages · All types, answers revealed

Page 1

Page 2 of 14

Page 3
76
Multi-Selectmedium

A company is deploying a generative AI system that generates customer-facing emails. The system must ensure outputs are not toxic, biased, or harmful. Which TWO techniques are most effective for reducing toxicity in model outputs without significantly affecting performance?

Select 2 answers
A.Increase the maximum output token count to allow more context.
B.Set temperature to a very low value (e.g., 0.1).
C.Fine-tune the model on a dataset of safe emails using reinforcement learning from human feedback (RLHF).
D.Apply a toxicity detection and filtering layer using Vertex AI Safety Filters.
E.Provide 50 few-shot examples of safe emails in every prompt.
AnswersC, D

RLHF fine-tuning adjusts the model's weights toward human-preferred, non-toxic responses, reducing harmful generations at the source. Because the change is learned rather than bolted on, it preserves general capability better than prompt-only or post-hoc filtering approaches.

Why this answer

Option C is correct because fine-tuning with RLHF directly aligns the model's behavior with human preferences for safe, non-toxic content, teaching it to avoid biased or harmful outputs at the model level without degrading overall generation quality. Option D is correct because a toxicity detection and filtering layer such as Vertex AI Safety Filters evaluates generated text against configurable harm categories and blocks or suppresses toxic outputs before they reach customers, adding a reliable guardrail. Option A is not effective because increasing max output tokens only changes length limits and can actually introduce more opportunities for harmful content.

Option B is not effective because a very low temperature reduces randomness but does not remove learned toxic patterns and can hurt creativity and diversity. Option E is not effective because 50 few-shot examples consume significant context, increase cost and latency, and provide only shallow, prompt-level guidance that is easily bypassed.

Exam trap

A common misconception is that simply adjusting generation parameters (like temperature or token count) or adding more examples can effectively control toxicity, when in fact these methods do not address the root cause of harmful patterns in the model's behavior.

77
MCQeasy

Which of the following is a key Google AI Principle that directly addresses the need to avoid creating or reinforcing unfair bias?

A.Avoid creating or reinforcing unfair bias
B.Be accountable to people
C.Be built and tested for safety
D.Incorporate privacy design principles
AnswerA

Avoid creating or reinforcing unfair bias is one of Google's published AI Principles, committing teams to design systems that do not amplify discrimination against protected groups. It directly addresses the stem's requirement, sitting alongside principles such as being socially beneficial and accountable to people.

Why this answer

It is the exact wording of one of Google's seven AI Principles, which explicitly states the commitment to 'avoid creating or reinforcing unfair bias.' This principle directly addresses the need to mitigate bias in AI systems, such as ensuring training datasets are representative and algorithms do not perpetuate historical inequities. It is a foundational directive for responsible AI development, distinct from broader accountability, safety, or privacy concerns.

Exam trap

Google often tests the ability to distinguish between the specific wording of Google's AI Principles, where candidates may confuse 'avoid creating or reinforcing unfair bias' with the broader principle of 'be accountable to people' because both involve ethical considerations, but only the former directly names bias as the core issue.

How to eliminate wrong answers

Option B is wrong because 'Be accountable to people' is a separate Google AI Principle that focuses on ensuring AI systems provide opportunities for feedback, explanations, and human oversight, not specifically on avoiding or mitigating unfair bias. Option C is wrong because 'Be built and tested for safety' is another distinct principle that emphasizes rigorous safety testing and operational safeguards against harmful outcomes, but it does not directly address the creation or reinforcement of unfair bias. Option D is wrong because 'Incorporate privacy design principles' is a principle centered on data minimization, transparency, and user consent, which does not directly target the avoidance of unfair bias in AI models or datasets.

78
MCQhard

A large enterprise is planning to roll out a GenAI assistant for contract negotiation. The legal team wants to ensure that the assistant's outputs are consistent and follow a predefined format for downstream processing. What is the BEST prompt engineering technique?

A.Use few-shot examples with variable formatting
B.Add a system instruction to 'be consistent'
C.Define a structured output schema (e.g., JSON) in the prompt and request the model to output in that format
D.Use chain-of-thought prompting to have the model reason step-by-step
AnswerC

Specifying a structured output schema such as JSON in the prompt constrains the model's response format, ensuring consistent, machine-parseable contracts that downstream systems can process. This directly satisfies the legal team's requirement for predefined, repeatable output formatting.

Why this answer

Defining a structured output schema (e.g., JSON) in the prompt explicitly constrains the model's output format, ensuring consistency and machine-readability for downstream contract negotiation processing. This technique leverages the model's instruction-following capability to produce parseable, schema-compliant responses, which is critical for automated legal workflows where variable formatting would break integration.

Exam trap

Google often tests the misconception that vague instructions or reasoning techniques (like chain-of-thought) are sufficient for output consistency, when in fact only explicit, machine-readable format constraints guarantee the structured output required for enterprise automation.

How to eliminate wrong answers

Option A is wrong because few-shot examples with variable formatting do not enforce a strict output structure; the model may still deviate from the desired format, leading to inconsistent downstream parsing. Option B is wrong because adding a system instruction to 'be consistent' is too vague and lacks explicit formatting constraints, relying on the model's ambiguous interpretation of consistency rather than a concrete schema. Option D is wrong because chain-of-thought prompting improves reasoning quality but does not guarantee a predefined output format; it focuses on step-by-step reasoning rather than structured output compliance.

79
Multi-Selectmedium

A company is considering migrating from AWS Bedrock to Google Cloud for generative AI. They want to leverage Google's unique differentiators. Which THREE advantages does Google Cloud offer over AWS Bedrock and Azure OpenAI? (Select 3 options.)

Select 3 answers
A.Built-in model explainability for all models
B.Access to custom TPU hardware for training
C.Native multimodal support in Gemini (text, image, audio, video)
D.Integration with Google Search for grounding
E.Deep integration with Google Workspace (e.g., Gmail, Docs)
AnswersC, D, E

Gemini natively processes multiple modalities, a key differentiator.

Why this answer

Gemini is natively multimodal, processing text, images, audio, and video in a single model without needing separate fine-tuned components. AWS Bedrock and Azure OpenAI require stitching together different models or services (e.g., Amazon Rekognition + Titan, or GPT-4V + Whisper) to achieve similar multimodal capabilities, which increases latency and complexity.

Exam trap

Candidates often mistakenly think that custom TPU hardware is a unique differentiator for Google Cloud, but forget that AWS offers its own custom chips (Trainium/Inferentia) and Azure has custom Maia chips, making this a shared capability rather than a unique advantage.

80
MCQmedium

A data science team wants to compare semantic similarity between thousands of customer reviews to identify emerging themes. Which Google Cloud service and approach should they use?

A.Use Vertex AI Embeddings API to generate embeddings, index them in Vertex AI Vector Search, and query for nearest neighbors
B.Use BigQuery ML to train a custom similarity model on the reviews
C.Use the Gemini API to compute semantic similarity directly
D.Use Vertex AI Embeddings API to generate embeddings and then compute cosine similarity pairwise
AnswerA

Embeddings convert each review into a dense vector capturing semantics; Vertex AI Vector Search indexes them and returns nearest neighbours efficiently at scale. This satisfies the requirement to compare semantic similarity across thousands of reviews and surface emerging themes.

Why this answer

Vertex AI Embeddings API generates dense vector representations of text, which can be indexed in Vertex AI Vector Search for efficient approximate nearest neighbor (ANN) search. This approach scales to thousands of reviews and allows the team to query for the most semantically similar reviews, enabling theme discovery without pairwise computation.

Exam trap

A common pitfall on Google exams is assuming that pairwise cosine similarity on embeddings is sufficient for large-scale semantic search, but for thousands of reviews, using Vertex AI Vector Search for approximate nearest neighbor (ANN) indexing and querying is necessary for efficiency and scalability.

How to eliminate wrong answers

Option B is wrong because BigQuery ML is designed for structured data and SQL-based machine learning, not for training custom semantic similarity models on unstructured text; it lacks native support for embedding-based similarity search. Option C is wrong because the Gemini API is a multimodal generative model, not a dedicated similarity computation service; using it directly for pairwise similarity would be inefficient and not designed for large-scale nearest neighbor queries. Option D is wrong because computing cosine similarity pairwise on thousands of reviews results in O(n²) complexity, which is computationally prohibitive and does not scale; Vertex AI Vector Search is required for efficient indexing and retrieval.

81
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 interconnect thousands of Tensor Processing Units over dedicated high-bandwidth optical links, enabling the massive parallel matrix operations that large multimodal training demands. This specialised architecture delivers far higher throughput for a fixed budget than general-purpose GPU clusters, directly minimising the training time constraint stated in the scenario.

Why this answer

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

82
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 updates a model's weights on domain-specific text, embedding specialised jargon and terminology into its parameters. A pre-built API cannot reliably interpret or generate such vocabulary, so the large jargon dataset and high-accuracy requirement on specialised terms are the constraints that make fine-tuning the appropriate choice.

Why this answer

Fine-tuning is most justified when the model must accurately understand and generate domain-specific jargon that a general pre-trained model handles poorly. A large labeled dataset of specialized terms is exactly the signal that fine-tuning will outperform prompt engineering or a pre-built API. The other options describe scenarios favoring pre-built APIs.

Exam trap

Generative AI Leader often tests the confusion between fine-tuning and prompt engineering/RAG, so candidates pick fine-tuning for speed or cost reasons when the real driver is domain-specific accuracy.

How to eliminate wrong answers

Option A is wrong because rapid prototyping favors pre-built APIs or prompt engineering, not the slower fine-tuning workflow. Option B is wrong because limited compute budget argues against fine-tuning, which requires GPU training resources. Option C is wrong because low latency is achievable with either approach and is not a differentiator for fine-tuning; in fact, fine-tuned models can be smaller and faster, but latency alone does not justify fine-tuning.

83
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

Bias is measured by auditing the model's actual completions, so coding the gender of characters, roles and pronouns across all 1,000 neutral prompts directly quantifies disparate representation. This satisfies the stem's requirement to measure output bias rather than input or training-data bias.

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.

84
MCQmedium

A media company wants to automatically generate concise summaries of news articles using a generative AI model. They need a fully managed service that provides access to Google's foundation models without requiring machine learning expertise. Which Google Cloud offering should they choose?

A.Vertex AI Model Garden
B.Generative AI on Vertex AI (Gemini models)
C.AutoML Natural Language
D.Cloud Translation API
AnswerB

Generative AI on Vertex AI provides access to Gemini models through a fully managed service, allowing users to generate summaries via API calls without ML expertise. It offers pre-trained models that can be used out-of-the-box, exactly matching the media company's need for automatic summarization of news articles.

Why this answer

Generative AI on Vertex AI offers Gemini models as a fully managed service, enabling users to generate summaries via simple API calls without ML expertise. It provides pre-trained models that excel at summarization tasks. The other options are either model catalogs requiring configuration, custom ML training services, or specialized translation tools that do not perform summarization.

Exam trap

The trap here is confusing Vertex AI Model Garden, which hosts models but requires deployment, with the fully managed generative AI service that provides direct access to Gemini models.

85
Multi-Selecthard

A national logistics company is preparing a board presentation on responsible generative AI adoption. The board wants assurance that the program includes concrete organizational controls, not just technical safeguards. Which TWO actions should be included in the governance plan? (Choose two.)

Select 2 answers
A.Enable automatic model retraining every night to keep responses current.
B.Establish an AI governance committee with representatives from legal, security, data science, and business units to review use cases.
C.Define an acceptable use policy that specifies approved tools, prohibited data types, and escalation paths for incidents.
D.Increase the model's temperature setting to encourage more creative and varied responses.
E.Purchase additional GPUs to ensure the training cluster can handle future model sizes.
AnswersB, C

A cross-functional governance committee ensures that legal, security, technical, and business perspectives shape decisions about which generative AI use cases proceed. It creates accountability and a repeatable review process, which is exactly the kind of organizational control a board expects to see. This is a structural governance mechanism rather than a model-level safeguard.

Why this answer

Organizational governance for generative AI rests on clear accountability and documented rules. A cross-functional governance committee provides structured review and decision rights, while an acceptable use policy defines permitted tools, prohibited data, and incident escalation. Together they demonstrate to the board that adoption is managed through people and process controls, complementing whatever technical safeguards are deployed.

Exam trap

The trap here is confusing operational or infrastructure activities with governance, when the board is asking specifically for accountability structures and documented usage rules.

86
MCQhard

A global e-commerce company is using Vertex AI to build a generative AI chatbot for customer support. The chatbot is powered by the Gemini 1.5 Pro model and uses a vector search index for retrieval-augmented generation (RAG) over product documentation. The company has deployed the application in four regions (us-central1, europe-west4, asia-east1, and australia-southeast1) using a multi-region deployment with a global endpoint. The application is critical and requires high availability with a target latency of under 500ms for the RAG pipeline. Recently, users in Australia are experiencing inconsistent latency spikes, with response times exceeding 2 seconds during peak hours. The team suspects that the issue is related to the vector search index's replication and serving configuration. The index has 10 million embeddings with a dimension of 768. It is stored in a single regional bucket in us-central1, and the vector search index endpoint is deployed in all four regions with the same deployed index ID. The team is using the default configuration for index updates and serving. Which action should the team take to resolve the latency issue for Australian users?

A.Move the vector search index to a multi-regional Cloud Storage bucket (e.g., 'us') to reduce latency for index updates.
B.Create a new regional bucket in australia-southeast1 and store a copy of the index there, then redeploy the vector search index endpoint to use the local bucket.
C.Deploy a separate vector search index endpoint for each region with its own index copy stored in a regional bucket in that region.
D.Increase the number of replicas for the vector search index in all regions to improve throughput and reduce latency.
AnswerB

Creating a local bucket in australia-southeast1 and storing a copy of the index allows the endpoint in that region to serve directly from local storage, significantly reducing read latency and resolving the issue.

Why this answer

The latency issue for Australian users is likely caused by the vector search index serving from a single regional bucket in us-central1. When users in Australia query the index, the nearest endpoint must read the index data from a bucket far away, leading to high latency during peak hours. Option B solves this by creating a local bucket in australia-southeast1 and storing a copy of the index there.

The endpoint in australia-southeast1 can then serve directly from the local bucket, reducing read latency. Moving to a multi-regional bucket (Option A) does not help because the bucket is still in the US, and Australia still has to fetch from a distant region. Option C would also work but is more complex and costlier than simply using a local bucket with the same endpoint.

Option D addresses throughput but not the geographic distance causing latency.

Exam trap

Google Cloud often tests the misconception that using a multi-regional bucket solves cross-region latency for serving, when in fact a multi-regional bucket does not bring data closer to all regions. The correct fix is to store a copy of the index locally in the affected region for serving.

How to eliminate wrong answers

Option B is wrong because creating a separate regional bucket in australia-southeast1 and storing a copy of the index there does not solve the update propagation issue; the index must be rebuilt and streamed from the source bucket (us-central1) to the new bucket, and the endpoint still references the original deployed index ID, so the local copy is not automatically used. Option C is wrong because deploying separate endpoints per region with local index copies increases operational complexity and cost, and does not address the root cause of cross-region latency during index updates; the global endpoint already routes to the nearest region, but the index data still originates from us-central1. Option D is wrong because increasing the number of replicas improves throughput and query handling within a region, but does not reduce the latency caused by cross-region data transfer during index updates; the bottleneck is the update propagation, not query processing capacity.

87
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

Raising top-k from 40 to 100 widens the candidate pool sampled at each step, so more lower-probability tokens can be chosen. This increases lexical variety and reduces the repetitive, generic phrasing the data scientist observed.

Why this answer

Increasing the top-k value from 40 to 100 (option A) widens the candidate token pool at each generation step, so the model is no longer restricted to only the 40 most probable tokens and can select from a broader, more varied set, which reduces repetitive and generic phrasing. Increasing the temperature from 0.5 to 0.9 (option B) flattens the softmax probability distribution, giving lower-probability tokens a greater chance of being sampled and thereby producing more diverse, less deterministic text. Increasing the top-p value from 0.8 to 0.95 (option D) expands nucleus sampling to include tokens cumulatively covering 95% of the probability mass instead of 80%, again enlarging the sampling pool and lowering repetition.

Option C (decreasing max output tokens from 1024 to 512) only shortens the response length and does not change the sampling distribution, so it does not increase diversity. Option E (decreasing the frequency penalty to 0.0) removes or weakens the penalty that discourages repeated tokens, which would tend to increase repetition rather than reduce it.

88
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

Masking or removing names and email addresses before fine-tuning prevents the model from memorising and later regurgitating personal data, directly satisfying the privacy constraint in the stem. De-identification at the data-preparation stage is the control Google's AI Principles expect, since once PII is embedded in weights it cannot be reliably removed.

Why this answer

De-identifying the transcripts by removing or masking PII before fine-tuning is the best practice because it enforces data minimization and privacy-by-design, aligning with Google's AI Principles (which explicitly call for avoiding creating or reinforcing unfair bias and protecting privacy). Fine-tuning on raw PII risks the model memorizing and later regurgitating names, emails, or other sensitive data in generated outputs. Masking or tokenizing PII before training removes that exposure while preserving the linguistic patterns needed for the support use case.

Exam trap

The trap here is the plausible-sounding 'consent cures everything' answer — candidates pick C because consent feels like the strongest privacy control, but Google's AI Principles and data-minimization best practice require de-identification regardless of consent.

How to eliminate wrong answers

Option B is wrong because using a pre-trained model on similar data does not address the privacy obligation for the company's own proprietary transcripts and may introduce its own data-provenance issues. Option C is wrong because consent alone does not satisfy Google's AI Principles' emphasis on data minimization and privacy protection — PII should still be removed or masked even with consent. Option D is wrong because LLMs are well documented to memorize and can reproduce training data, especially rare strings like names and emails, so 'the model will not memorize exact data' is a false premise.

89
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.

90
Multi-Selecthard

A media company uses Gemini models on Vertex AI to draft news briefs from long press releases. Editors report that drafts sometimes invent quotes and statistics that do not appear in the source. The team wants to reduce these fabrications while keeping the model's fluent writing. Which TWO techniques should they apply? (Choose two.)

Select 2 answers
A.Raise the top-k sampling value to let the model consider more candidate tokens.
B.Enable grounding with Vertex AI Search over a curated corpus of approved press releases.
C.Provide the press release as context and instruct the model to answer only from the provided text.
D.Shorten the press release by removing paragraphs before sending it to the model.
E.Increase the model's temperature so it paraphrases the release more creatively.
AnswersB, C

Grounding against a curated corpus retrieves verified source passages and ties the draft to them, which directly counters invented quotes and numbers. Because the corpus is controlled, the model has authoritative evidence to draw from, and citations can be surfaced for editorial review. This complements prompt-level constraints and keeps the writing fluent while improving factual fidelity.

Why this answer

Combining an explicit instruction to answer only from the supplied text with retrieval grounding over an approved corpus gives the model both a behavioral constraint and authoritative evidence. Together they reduce invented quotes and statistics while preserving fluent composition. Sampling changes like higher top-k or temperature increase randomness and work against factual fidelity, and deleting source content removes the very evidence the model needs.

Exam trap

The trap here is treating sampling parameters such as top-k or temperature as anti-hallucination controls, when in fact raising them increases randomness and makes fabricated content more likely.

91
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 defines acceptable data use, human review and ongoing monitoring, giving legal and compliance concrete controls to approve rather than blanket refusal. Addressing their concerns directly removes the adoption blocker, whereas tooling or training alone leaves the underlying policy objection unresolved.

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.

92
MCQhard

A retail bank's risk committee will only approve a generative AI assistant for internal policy questions if every model output can be traced to an approved source, unsafe outputs are blocked before display, and reviewers can see why a response was allowed or denied. Which combination of Google Cloud capabilities should the architects design around?

A.A larger Gemini model with a higher temperature setting plus Cloud Monitoring dashboards on token usage.
B.Vertex AI grounding with citations plus Model Armor filtering and Cloud Logging of prompt and response metadata.
C.A custom-trained classifier that scores response toxicity, deployed on Vertex AI Endpoints and called after the user sees the answer.
D.Vertex AI Model Registry versioning plus a Cloud Storage bucket that archives every raw model response.
AnswerB

Grounding with citations ties each answer to retrieved approved sources, Model Armor screens prompts and responses for unsafe or sensitive content before display, and Cloud Logging preserves the audit trail reviewers need. Together these directly satisfy traceability, pre-display blocking, and explainability of allow or deny decisions.

Why this answer

The committee's conditions map to grounding with citations for provenance, Model Armor for safety screening before output is shown, and Cloud Logging for an auditable record that explains each allow or deny decision. Combining these managed capabilities avoids custom safety tooling while giving reviewers both the source of an answer and the policy evaluation behind it.

Exam trap

The trap here is treating logging and model versioning as safety controls, when they record activity rather than prevent unsafe or unattributed output from reaching the user.

93
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 adjusts the model's weights on branded examples, embedding the specific tone and style into the model itself rather than relying on prompt instructions, which can drift. This makes it the most reliable way to enforce strict brand guidelines consistently.

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.

94
Multi-Selecthard

A healthcare company is using a generative AI model to produce patient education materials. They want to ensure the output is accurate, avoids harmful advice, and adheres to medical guidelines. Which TWO techniques should they implement to improve the safety and reliability of the model's output? (Choose two.)

Select 2 answers
A.Reduce the maximum output token limit to shorten responses.
B.Increase the model's temperature to encourage more diverse responses.
C.Implement retrieval-augmented generation (RAG) using a curated medical knowledge base.
D.Fine-tune the model on a dataset of patient education materials without any safety annotations.
E.Use a safety filter or content moderation API to screen generated text.
AnswersC, E

RAG enhances the model's output by retrieving relevant, up-to-date information from a trusted knowledge base. This grounds the generation in accurate medical facts and guidelines, reducing hallucinations and ensuring adherence to current standards. It directly improves accuracy and safety for patient education materials.

Why this answer

Retrieval-augmented generation grounds the model in a trusted medical knowledge base, ensuring accuracy and up-to-date information. Safety filters screen out harmful content, adding a protective layer. Together, these techniques enhance both the reliability and safety of patient education materials.

Exam trap

The trap here is thinking that fine-tuning alone can ensure safety, when in fact it requires curated data and additional safeguards.

95
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

Hosting open-source models requires GPUs, scaling, and MLOps expertise, while API access trades those for usage fees. Comparing total cost of ownership across infrastructure, staffing, and volume captures the decisive trade-off between the two approaches.

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.

96
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 Vertex AI Embeddings API and Vertex AI Vector Search are first-party Vertex AI services sharing native integration, authentication and data flow, eliminating the custom glue code and infrastructure that third-party vector databases would require.

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.

97
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 provides a curated catalogue giving discoverability and one-place access to foundation models such as PaLM and Gemini, including Google, open-source and third-party options. This satisfies the stem's capability requirement by covering the browse-and-select function rather than training or deployment.

Why this answer

Option D is correct because Vertex AI Model Garden provides access to a curated catalog of foundation models, including Google's PaLM and Gemini models, which users can discover and use directly. Option E is correct because Model Garden allows users to fine-tune and deploy foundation models, supporting customization and serving within Vertex AI. Option A is incorrect because generating code snippets is a generative AI application capability, not a core capability of Model Garden itself.

Option B is incorrect because text-to-image generation is a specific model use case, not a defining capability of Model Garden. Option C is incorrect because deploying custom container images is a Vertex AI Prediction feature, not a Model Garden capability.

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.

98
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 imperceptible digital watermarks directly into AI-generated output, then detects those marks to verify provenance. This satisfies the stem's requirement for identifying AI-generated content and attributing it to the originating model, since the watermark survives edits and is statistically detectable without external metadata.

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.

99
MCQeasy

A hospital wants to use a generative AI model to draft patient discharge summaries. The model must be able to understand medical terminology and generate coherent, context-aware text. Which type of generative AI model is most suitable?

A.A generative adversarial network (GAN)
B.A variational autoencoder (VAE)
C.A large language model (LLM) like Gemini
D.A rule-based natural language generation (NLG) system
AnswerC

LLMs are trained on vast text corpora, including medical literature, and can understand and generate coherent, context-aware text. They are ideal for drafting discharge summaries because they can handle medical terminology and produce fluent narratives. Their ability to follow instructions and maintain context makes them the best fit for this clinical documentation task.

Why this answer

Large language models like Gemini are pre-trained on extensive text, including medical content, and can generate coherent, context-aware narratives. They are well-suited for drafting discharge summaries because they understand medical terminology and can adapt to different patient cases. Other model types lack the language generation capabilities needed for this task.

Exam trap

The trap here is assuming any generative model can handle text, when only LLMs are designed for complex language understanding and generation.

100
MCQhard

A data scientist fine-tunes a model on a small proprietary dataset. After fine-tuning, the model repeats training examples verbatim. What is the most effective mitigation?

A.Reduce the temperature during inference to 0.
B.Train for more epochs to improve generalization.
C.Use early stopping based on validation loss.
D.Add regularization like dropout and use a smaller learning rate.
AnswerD

Verbatim repetition indicates overfitting to the small proprietary dataset. Dropout randomly deactivates neurons during training, while a smaller learning rate prevents sharp memorisation of individual examples, directly reducing the model's tendency to reproduce training data.

Why this answer

Overfitting on a small dataset causes the model to memorize training examples rather than generalize. Adding dropout introduces noise that forces the model to learn more robust features, while a smaller learning rate prevents the model from over-optimizing on the limited data. Together, these regularization techniques reduce the model's capacity to memorize verbatim outputs.

Exam trap

Google Gen AI Leader often tests the misconception that reducing temperature or training longer improves generalization, when in fact these actions either increase determinism (and memorization) or worsen overfitting on small datasets.

How to eliminate wrong answers

Option A is wrong because reducing temperature to 0 makes the model deterministic, which can actually increase the likelihood of repeating exact training examples by always choosing the highest-probability token, exacerbating memorization. Option B is wrong because training for more epochs on a small dataset worsens overfitting, causing the model to memorize more training examples verbatim, not improve generalization. Option C is wrong because early stopping based on validation loss can help prevent overfitting, but it does not directly address the model's capacity to memorize; the model may still have high capacity and memorize examples before overfitting occurs, making regularization a more effective mitigation.

101
MCQeasy

A startup wants to experiment with Gemini prompts in a browser-based console, compare responses from different models, and save promising prompts for later reuse, without provisioning infrastructure. Which Google Cloud offering best fits this need?

A.BigQuery ML
B.Vertex AI Studio
C.Cloud Vision API
D.Document AI
AnswerB

Vertex AI Studio is a browser-based environment for designing, testing, and saving prompts against Gemini and other models, letting users compare outputs and iterate quickly with no infrastructure to manage. It directly matches the desire to experiment interactively and retain useful prompts, making it the appropriate starting point for this exploration phase.

Why this answer

Vertex AI Studio provides an interactive, code-light workspace for writing prompts, comparing model outputs, and storing prompts for reuse, which aligns precisely with the startup's experimentation goal. The other services are specialized for data warehousing, document extraction, or image analysis and lack the prompt design and comparison capabilities, so they cannot deliver the described experience.

Exam trap

The trap here is confusing a prompt prototyping console with services that merely process data, when only Vertex AI Studio is built for interactive prompt design and reuse.

102
MCQmedium

A telecom company wants to launch a generative AI assistant that summarizes support tickets for agents. Leadership asks how to measure whether the pilot is delivering business value before expanding it. Which approach best evaluates business impact?

A.Measure average handle time, ticket resolution rate, and agent satisfaction before and after deployment.
B.Track the model's perplexity score on a held-out sample of support tickets.
C.Compare the number of model parameters against competing open-source models.
D.Count the total number of tokens processed by the model each day.
AnswerA

These operational metrics directly reflect the assistant's effect on support workflows and are the outcomes leadership cares about. Comparing them before and after deployment establishes a baseline and isolates the pilot's contribution. This approach links generative AI usage to measurable business value rather than abstract model quality.

Why this answer

Business value from a generative AI pilot is demonstrated through operational outcomes such as reduced handle time, higher resolution rates, and improved agent experience, measured against a pre-deployment baseline. Technical indicators like perplexity, token counts, and parameter size describe model behavior or cost, not the value delivered to the support organization. Leadership needs outcome metrics tied to the workflow being augmented.

Exam trap

The trap here is substituting technical model-quality metrics for business outcome metrics, which measure different things entirely.

103
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 provides an interactive console for designing, testing and iterating on prompts against Gemini models without writing code, directly satisfying the developers' need for the fastest prototyping route given their limited generative AI experience. It also integrates with their existing Google Cloud environment, so validated prompts can later be exported to code.

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.

104
MCQhard

An organization is using Vertex AI Gemini API for a multimodal chatbot. They notice that the model sometimes provides incorrect information with high confidence. They want to reduce hallucinations without retraining the model. What is the most effective approach?

A.Provide ground-truth context from a knowledge base using grounding
B.Increase the temperature parameter to make the model more creative
C.Reduce the maximum output tokens to force concise answers
D.Adjust safety settings to filter uncertain responses
AnswerA

Grounding retrieves authoritative content from a knowledge base and injects it as context, so responses are anchored to verified facts rather than parametric memory. This reduces hallucination without retraining, satisfying the stem's constraint of no model fine-tuning.

Why this answer

Grounding with a knowledge base is the most effective approach because it forces the model to base its responses on verified, external data rather than relying solely on its parametric knowledge. By providing ground-truth context via Vertex AI's grounding feature, the model can cross-reference its outputs with authoritative sources, significantly reducing the likelihood of hallucinations. This method directly addresses the root cause of incorrect high-confidence responses without requiring retraining.

Exam trap

A common misconception is that adjusting generation parameters (like temperature or token limits) can fix factual accuracy issues, when in reality only grounding or retrieval-augmented generation can address hallucinations without retraining.

How to eliminate wrong answers

Option B is wrong because increasing the temperature parameter makes the model more creative and random, which actually increases the risk of hallucinations by encouraging less deterministic outputs. Option C is wrong because reducing the maximum output tokens only truncates the response length; it does not improve factual accuracy and may lead to incomplete or misleading answers. Option D is wrong because safety settings filter content based on harm categories (e.g., hate speech, violence), not factual correctness; they cannot detect or prevent hallucinations about factual information.

105
MCQmedium

A company is using a fine-tuned generative model to create marketing copy. They want to ensure that when the model references statistics, it provides citations to original sources. Which technique should they use?

A.Model tuning with citation data
B.Grounding by referencing source documents in the output
C.Chain-of-thought prompting
D.Confidence indicators
AnswerB

Grounding retrieves source documents and constrains generation to them, so statistics can be attributed to their originals rather than hallucinated. Referencing those documents in the output satisfies the requirement for verifiable citations, which fine-tuning alone cannot guarantee.

Why this answer

Grounding by referencing source documents in the output directly ties the generated statistics to verifiable original sources, ensuring citation accuracy. This technique retrieves and cites specific passages from trusted documents, which is essential for responsible AI in marketing copy where factual claims must be traceable.

Exam trap

A common misconception is that fine-tuning alone can enforce citation behavior. Google recommends using grounding (e.g., via Vertex AI grounding or citation features) to ensure generated content references original sources.

How to eliminate wrong answers

Option A is wrong because model tuning with citation data would require a large, curated dataset of citation pairs and does not guarantee that the model will consistently output citations for every statistic; it may still hallucinate or omit citations. Option C is wrong because chain-of-thought prompting improves reasoning steps but does not inherently enforce citation of external sources; it can still generate unverified statistics. Option D is wrong because confidence indicators only show the model's self-assessed certainty, not actual source verification, and do not provide citations to original documents.

106
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

A clinician override directly satisfies accountability by keeping a named human responsible for every diagnostic decision, rather than deferring to the model. Because the AI sometimes proposes unaccepted treatments, the override ensures a qualified professional can reject unsafe output before it affects patient care, preserving meaningful human control.

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.

107
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 is covered under Google Cloud's HIPAA Business Associate Agreement, permitting processing of protected health information when configured appropriately. This satisfies the stem's requirement for a BAA-backed AI service, unlike consumer-tier tools excluded from the BAA scope.

Why this answer

Vertex AI is Google Cloud's enterprise ML platform covered under the Google Cloud HIPAA Business Associate Agreement (BAA), making it suitable for workloads that process protected health information. Customers can request a BAA through their Google Cloud account, and Vertex AI's training, prediction, and pipeline services fall under that coverage. This makes it the compliant choice for deploying an AI model handling PHI.

Exam trap

The trap is assuming any Google AI service is automatically HIPAA-eligible — the exam tests whether you know that BAA coverage is service-specific and that Vertex AI is the enterprise platform covered for PHI workloads.

How to eliminate wrong answers

Option A is wrong because Colab is a consumer-oriented notebook environment not covered by a HIPAA BAA and is not intended for production PHI workloads. Option B is wrong because the Gemini API via Google AI Studio is a developer prototyping surface that is not covered under the Google Cloud BAA for PHI processing. Option D is wrong because Cloud Vision API, while a Google Cloud service, is a pre-built vision API rather than the platform for deploying a custom AI model, and the question asks for the service that meets the compliance requirement for deploying a model — Vertex AI is the designated covered platform.

108
Multi-Selectmedium

A media company plans to use generative AI to draft marketing copy for dozens of regional brands. Legal wants confidence that outputs respect brand tone and avoid unapproved claims, while finance wants to know how usage will be metered. Which two Google Cloud practices best support these goals? (Choose two.)

Select 2 answers
A.Route every request through a single shared API key distributed to all regional marketing teams.
B.Fine-tune a separate foundation model for each regional brand to guarantee distinct writing styles.
C.Track token consumption per brand through Vertex AI usage metrics and allocate budgets accordingly.
D.Store approved brand guidelines and claim rules in a versioned data store and ground generation on retrieved passages.
E.Disable all logging on the generative endpoints so draft content never appears in audit records.
AnswersC, D

Vertex AI reports token-level usage, so finance can attribute consumption to each regional brand and set chargeback or budget thresholds. Because generative AI cost scales with tokens rather than fixed capacity, this metering gives the predictable per-brand visibility finance requested while keeping the shared model platform simple to operate.

Why this answer

Grounding drafts in a versioned store of approved brand guidance gives legal traceable assurance that tone and claim rules are respected, while token-level usage metrics let finance attribute spend to each regional brand. The two practices reinforce each other: every grounded call is both policy-anchored and measurable, so the platform scales across brands without multiplying models.

Exam trap

The trap here is believing that style compliance requires a separate fine-tuned model per brand, when grounding plus metering delivers both compliance traceability and cost visibility more simply.

109
Multi-Selectmedium

A healthcare company needs to process medical records at scale, extracting structured information from forms and enabling natural language queries. They require HIPAA compliance and want to avoid training custom models. Which TWO services should they use? (Choose 2)

Select 2 answers
A.Natural Language AI
B.BigQuery ML
C.Document AI
D.Vertex AI Workbench
E.Vision AI
AnswersA, C

Natural Language AI can analyze unstructured medical text for entities and concepts, supporting natural language queries.

Why this answer

Document AI (option C) is correct because it provides pre-trained, HIPAA-eligible processors for form parsing and OCR, extracting structured information from medical forms at scale without custom model training. Natural Language AI (option A) is also correct because its pre-trained models perform entity extraction, sentiment analysis, and syntax analysis on unstructured clinical text, supporting natural language understanding of medical records without training custom models. Both can be used under HIPAA compliance when configured appropriately.

Exam trap

Google often tests the distinction between services that require custom model training (like BigQuery ML and Vertex AI Workbench) versus pre-built, HIPAA-compliant services (like Natural Language AI and Document AI), leading candidates to mistakenly choose options that involve training when the question explicitly prohibits it.

110
Multi-Selectmedium

A healthcare organization is evaluating Google Cloud's generative AI offerings for building a patient triage assistant. They need a model that can process text and images from patient records and generate text responses. They also require the ability to fine-tune the model on their own data. Which two Google Cloud services or features should they use? (Choose two.)

Select 2 answers
A.Vertex AI Pipelines
B.Vertex AI Fine-Tuning
C.Gemini on Vertex AI
D.Vertex AI Model Garden
E.Vertex AI Feature Store
AnswersB, C

Vertex AI Fine-Tuning allows organizations to customize foundation models like Gemini on their own datasets. This is essential for the healthcare organization to tailor the model to their patient triage domain, improving accuracy and relevance for their specific use case.

Why this answer

Gemini on Vertex AI provides the multimodal capabilities to process text and images, and Vertex AI Fine-Tuning enables customization on the organization's data. Together, they form the foundation for a tailored patient triage assistant that can handle diverse patient records.

Exam trap

The trap here is selecting Vertex AI Model Garden as a model, but it is a catalog, not a model; the actual model and tuning service are needed.

111
MCQhard

A government agency is deploying a generative AI system to assist in processing visa applications. The system must be transparent about its limitations and provide clear indications of its confidence in each recommendation. Which approach BEST addresses explainability and accountability?

A.Only allow the system to output binary decisions (approve/reject) to reduce confusion
B.Train the model to always output high confidence to reassure decision-makers
C.Use a random subset of applications to be reviewed by humans only, without any AI input
D.Provide confidence scores alongside each recommendation and include disclaimers about the system's limitations
AnswerD

Confidence scores expose the model's uncertainty per recommendation, while disclaimers state its limits, directly satisfying the agency's transparency and accountability requirements. Together they make each output auditable and clearly bounded, rather than presenting visa advice as infallible.

Why this answer

It directly addresses explainability by providing confidence scores, which quantify the model's certainty, and accountability by including disclaimers about system limitations. This aligns with responsible AI principles that require transparency in automated decision-making, especially in high-stakes domains like visa processing where users must understand the system's reliability and potential biases.

Exam trap

Google often tests the misconception that explainability is solely about output format (e.g., binary vs. continuous) rather than about uncertainty communication and limitation disclosure, leading candidates to pick Option A or B as 'simpler' solutions.

How to eliminate wrong answers

Option A is wrong because binary decisions (approve/reject) without confidence or uncertainty quantification obscure the model's limitations, reducing transparency and potentially leading to false trust or misinterpretation of borderline cases. Option B is wrong because training the model to always output high confidence is a form of overconfidence calibration that misrepresents the model's true predictive uncertainty, violating the principle of honest communication and undermining accountability when errors occur. Option C is wrong because using a random subset for human-only review does not address explainability or accountability for the AI system itself; it merely avoids the issue by removing AI involvement, failing to provide any mechanism for understanding or auditing the AI's recommendations.

112
MCQmedium

A marketing analyst at a retail company wants to use a generative AI model to draft product descriptions for 500 new items. The analyst expects the model to understand the context of each product from a short prompt and produce varied, coherent text. Which core capability of generative AI is the analyst primarily relying on?

A.The model's ability to perform sentiment analysis on customer reviews to gauge product reception.
B.The model's ability to generate novel, contextually relevant text by predicting likely sequences of words.
C.The model's ability to retrieve exact matches from a product database and insert them into a template.
D.The model's ability to classify products into predefined categories based on their attributes.
AnswerB

Generative AI models learn statistical patterns from vast text corpora and predict the next token given prior context. This allows them to produce original, context-aware product descriptions from a short prompt. The analyst's task—drafting varied, coherent copy for many products—directly leverages this text-generation capability, which is the hallmark of large language models.

Why this answer

The analyst needs to produce original, varied, and contextually appropriate text for each product. This is achieved through the generative capability of large language models, which predict and generate sequences of words based on the input prompt. Other options describe classification, retrieval, or sentiment analysis—tasks that do not create novel product descriptions.

Exam trap

The trap here is confusing generative AI with traditional NLP tasks like classification or sentiment analysis, which produce labels rather than new text.

113
Multi-Selectmedium

A team is evaluating whether to build a custom fine-tuned model or use a pre-built API for a document summarization task. Which TWO factors most strongly support using a pre-built API?

Select 2 answers
A.The summarization domain is very specialized and requires unique terminology
B.The team lacks machine learning expertise to fine-tune a model
C.The expected usage volume is millions of API calls per day
D.The company has strict data residency requirements that prevent sending data to an API
E.The company needs to launch the feature in two weeks
AnswersB, E

Pre-built APIs require no ML expertise, reducing time and risk.

Why this answer

A pre-built API eliminates the need for in-house machine learning expertise, as the team can simply call the API endpoint without managing model training, hyperparameter tuning, or infrastructure. This is especially critical when the team lacks the specialized skills required for fine-tuning, such as data preparation, gradient computation, and evaluation on domain-specific metrics like ROUGE.

Exam trap

Candidates often overlook that high usage volume can make a custom model more economical at scale, but this question emphasizes that lack of ML expertise and time-to-market strongly favor using a pre-built API.

114
MCQhard

A healthcare analytics team uses Gemini on Vertex AI to extract structured data from clinical notes. The model occasionally outputs invalid JSON, breaking downstream processing. The team wants to enforce a strict output schema. Which approach should they use?

A.Use controlled generation with a response schema in the Gemini API request to constrain output to the defined JSON structure.
B.Fine-tune the model on a dataset of clinical notes paired with valid JSON outputs.
C.Post-process the model output with a regular expression to fix malformed JSON before parsing.
D.Add 'return JSON' to the prompt and set temperature to 0.2 to encourage valid formatting.
AnswerA

Controlled generation with a response schema constrains the model's decoding to produce valid JSON matching the specified fields and types. This guarantees parseable output and reduces the need for post-processing or retries. It is the recommended approach when downstream systems require strict structure. The schema is provided in the API request alongside the prompt.

Why this answer

Controlled generation with a response schema constrains decoding so the model emits JSON that conforms to the defined structure, guaranteeing parseable output. Prompt hints and low temperature reduce but do not eliminate format errors, fine-tuning is heavier and still not absolute, and regex repair is fragile. Schema-constrained decoding is the correct tool for strict structured output.

Exam trap

The trap here is assuming that telling the model to return JSON or fine-tuning guarantees valid JSON, when only a decoding-time schema constraint enforces it.

115
MCQeasy

A startup wants to build a text-to-speech application for generating audiobooks. Which Google Cloud generative AI service is best suited for this task?

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

Chirp is Google Cloud's text-to-speech model, converting written text directly into natural-sounding audio, which matches the audiobook generation requirement. Unlike text or chat models, it operates on the speech synthesis axis, producing spoken output from text input, so it satisfies the stem's need for a dedicated TTS service.

Why this answer

Chirp is Google Cloud's text-to-speech AI model. Imagen generates images, Codey generates code, and Gemini is a multimodal model not specialized for high-quality speech synthesis.

116
MCQmedium

A company wants to build a chatbot that can answer questions about recent news events up to the current date. They want to minimize hallucinations and ensure factual accuracy. Which Google Cloud feature should they integrate?

A.Gemini API with Google Search grounding
B.Natural Language AI entity analysis
C.Document AI
D.Vertex AI Vector Search
AnswerA

Google Search grounding connects Gemini to live search results, so answers about current news are anchored in retrieved, up-to-date sources rather than parametric memory. This directly reduces hallucination and satisfies the requirement for factual accuracy up to the current date.

Why this answer

The Gemini API with Google Search grounding enables the chatbot to retrieve and cite real-time information from the web, directly addressing the need for up-to-date news and factual accuracy. Grounding connects the model's responses to verified search results, reducing hallucinations by anchoring answers in current, authoritative sources rather than relying solely on the model's training data.

Exam trap

The Generative AI Leader exam often tests the distinction between static NLP capabilities (entity analysis, document parsing) and dynamic retrieval-augmented generation, leading candidates to choose a familiar but incorrect service like Natural Language AI or Document AI instead of recognizing that grounding requires a search-backed integration.

How to eliminate wrong answers

Option B is wrong because Natural Language AI entity analysis extracts entities (e.g., names, dates) from text but does not provide real-time grounding or fact-checking against current events; it is a static analysis tool, not a retrieval mechanism. Option C is wrong because Document AI is designed for parsing and extracting data from documents (e.g., invoices, forms), not for answering questions about live news or integrating with web search. Option D is wrong because Vertex AI Vector Search enables semantic similarity search over a fixed vector index of pre-ingested data; it cannot access or verify real-time news events unless the index is continuously updated, and it lacks the grounding mechanism to minimize hallucinations from stale or incomplete data.

117
MCQhard

A gen AI application produces hallucinations (factually incorrect outputs). Which mitigation strategy is LEAST effective?

A.Using prompt templates with constraints
B.Using grounding with a knowledge base
C.Implementing retrieval-augmented generation
D.Increasing model temperature
AnswerD

Raising temperature increases sampling randomness, which makes outputs more varied and creative, so it amplifies rather than reduces hallucination. Grounding, retrieval and lower temperature all constrain the model; temperature is the one lever that moves in the wrong direction.

Why this answer

Increasing model temperature makes the model more random and creative, which directly increases the likelihood of hallucinations. It does not constrain or ground the output in factual data, making it the least effective mitigation strategy among the options.

Exam trap

Google Cloud often tests the misconception that increasing model temperature improves accuracy by making the model 'more confident,' when in reality it increases randomness and hallucination risk.

How to eliminate wrong answers

Option A is wrong because prompt templates with constraints (e.g., specifying 'only answer from the provided context') reduce the model's freedom to generate unverified content, thereby lowering hallucination risk. Option B is wrong because grounding with a knowledge base ties the model's outputs to verified facts, preventing fabrication by restricting the response to a trusted data source. Option C is wrong because retrieval-augmented generation (RAG) explicitly fetches relevant documents from a knowledge base before generation, ensuring the output is based on retrieved evidence rather than parametric memory alone.

118
MCQmedium

A machine learning engineer is deploying a large generative model on Vertex AI. The model requires a GPU with high memory. Which machine configuration should they choose?

A.c2-standard-16 with no GPU
B.a2-highgpu-4g with 4 A100 GPUs
C.n1-standard-4 with a single T4 GPU
D.n2-standard-8 with a single P4 GPU
AnswerB

The a2-highgpu-4g machine type pairs four NVIDIA A100 GPUs, each with 40 GB of high-bandwidth memory, satisfying the high GPU memory constraint for serving a large generative model. Smaller accelerator configurations would lack sufficient VRAM.

Why this answer

The a2-highgpu-4g machine series is specifically designed for large-scale GPU-accelerated workloads, offering 4 NVIDIA A100 GPUs with 40GB of high-bandwidth memory (HBM2e) each, totaling 160GB of GPU memory. This configuration provides the high memory capacity required for training or serving large generative models, such as LLMs or diffusion models, which often exceed the memory limits of smaller GPUs.

Exam trap

The trap here is that candidates may choose a cheaper or single-GPU option (like C or D) without calculating the total GPU memory needed, or mistakenly think a CPU-only instance (A) can handle GPU-accelerated workloads, ignoring that large generative models require both high GPU memory and parallel processing.

How to eliminate wrong answers

Option A is wrong because c2-standard-16 is a compute-optimized machine without any GPU, which cannot provide the GPU memory needed for large generative models. Option C is wrong because n1-standard-4 with a single T4 GPU offers only 16GB of GPU memory, insufficient for large models that require tens or hundreds of gigabytes. Option D is wrong because n2-standard-8 with a single P4 GPU provides only 8GB of GPU memory, far below the requirements for large generative models and lacks the parallelism of multiple GPUs.

119
MCQhard

A company is using Vertex AI Gemini API to analyze customer feedback. They notice that the model occasionally generates offensive content. They have already set safety settings to block high-probability harmful content. What additional step should they take to further reduce offensive outputs?

A.Set the temperature to 0.0
B.Adjust safety settings to block medium-probability harmful content
C.Enable context caching
D.Fine-tune the model on customer feedback data
AnswerB

Safety settings operate on probability thresholds per harm category, so lowering the block threshold from high to medium catches harmful content the model would otherwise emit. This tightens filtering beyond the existing high-probability configuration, directly reducing offensive outputs from the Gemini API.

Why this answer

The company has already blocked high-probability harmful content, but offensive outputs can still occur at lower probability thresholds. By adjusting safety settings to block medium-probability harmful content, they tighten the filter to catch more borderline cases without requiring model retraining or sacrificing output diversity. This leverages Vertex AI's configurable safety filters, which operate on likelihood categories (e.g., high, medium, low) rather than just binary blocking.

Exam trap

The trap here is that candidates assume fine-tuning (Option D) is the default fix for any output quality issue, but safety filtering is a separate, configurable layer that should be tuned before retraining, and temperature (Option A) is often mistakenly thought to control safety when it only controls randomness.

How to eliminate wrong answers

Option A is wrong because setting temperature to 0.0 makes the model deterministic and reduces creativity, but it does not filter or block offensive content; temperature controls randomness in token selection, not safety. Option C is wrong because context caching improves latency and cost for repeated prompts by storing context, but it has no effect on content safety or filtering harmful outputs. Option D is wrong because fine-tuning on customer feedback data could inadvertently reinforce biases or offensive patterns in the data, and it does not directly address safety filtering; safety settings are a separate, configurable layer that should be adjusted first.

120
Multi-Selecthard

A healthcare organization wants to use generative AI for clinical decision support. They must comply with regulatory requirements for high-risk AI systems. Which THREE measures should they implement? (Choose 3)

Select 3 answers
A.Implement a human-in-the-loop review for all AI-generated recommendations
B.Provide clear documentation on the system's purpose, performance, and limitations
C.Conduct periodic risk assessments to identify potential harms
D.Use a model that has been fine-tuned on proprietary hospital data
E.Deploy the system on-premises only to ensure data privacy
AnswersA, B, C

Human-in-the-loop review places a qualified clinician between the model's output and any clinical action, satisfying the regulatory requirement for meaningful oversight of high-risk AI, so erroneous or unsafe recommendations are caught before influencing patient care.

Why this answer

Option A is correct because high-risk clinical decision support requires human oversight so that a qualified clinician reviews and can override every AI-generated recommendation before it affects patient care. Option B is correct because transparency obligations for high-risk AI demand clear documentation of intended purpose, performance metrics, and known limitations so that deployers and regulators can assess fitness and residual risk. Option C is correct because regulatory frameworks for high-risk AI mandate ongoing risk management, including periodic assessments to identify, evaluate, and mitigate potential harms throughout the system lifecycle.

Option D is not required, since fine-tuning on proprietary hospital data is a design choice and does not by itself satisfy regulatory compliance, and could even raise privacy concerns. Option E is not required, because on-premises deployment is one possible privacy control but is not mandated; compliant cloud deployment with appropriate safeguards can meet the same regulatory requirements.

121
MCQmedium

A media company uses Vertex AI to generate video captions. The generated captions sometimes contain factual errors about named entities (e.g., actor names). Which technique would most likely reduce these errors?

A.Enable response caching
B.Increase the temperature parameter
C.Use Vertex AI grounding with a knowledge base of verified entities
D.Decrease top_p to 0.3
AnswerC

Grounding with a verified entity knowledge base constrains generation to retrieved, authoritative facts, so named entities come from the knowledge base rather than the model's parametric memory. This directly targets the factual-error constraint in the stem, reducing hallucinated actor names without retraining or prompt engineering.

Why this answer

Vertex AI grounding connects the model to a knowledge base of verified entities, allowing it to retrieve authoritative facts during generation. This reduces hallucinations about named entities by constraining outputs to validated data rather than relying solely on the model's parametric knowledge.

Exam trap

The trap here is that candidates confuse techniques that control output randomness (temperature, top_p) with techniques that improve factual accuracy, overlooking the fundamental need for external knowledge retrieval via grounding.

How to eliminate wrong answers

Option A is wrong because response caching stores previous outputs for reuse, which does not correct factual errors—it may even propagate them. Option B is wrong because increasing the temperature parameter increases randomness in token selection, making factual errors more likely, not less. Option D is wrong because decreasing top_p to 0.3 narrows the sampling pool to only the most probable tokens, which can reduce creativity but does not address factual accuracy about named entities—it still relies on the model's internal knowledge, which may be incorrect.

122
MCQhard

An enterprise architect must let a fleet of internal applications call Gemini models on Google Cloud while enforcing VPC Service Controls perimeters, customer-managed encryption keys, and audit logging tied to the organization's existing IAM. Which Google Cloud offering should the architect standardize on?

A.Gemini API via Google AI Studio
B.Gemini Enterprise with data connectors
C.Vertex AI with Gemini models
D.Gemini for Google Workspace
AnswerC

Vertex AI exposes Gemini models through endpoints that integrate with Cloud IAM, VPC Service Controls, customer-managed encryption keys, and Cloud Audit Logs. Because the architect must apply perimeter controls, key management, and organization-scoped identity to application API calls, standardizing on Vertex AI delivers the governance surface the scenario demands.

Why this answer

Vertex AI is the Google Cloud platform where Gemini models are served to applications under the same enterprise controls as other Cloud services, including IAM, VPC Service Controls, customer-managed encryption keys, and audit logging. Because the architect needs perimeter enforcement and key management for API traffic, the Vertex AI model endpoints are the appropriate foundation rather than consumer-style APIs or assistant products.

Exam trap

The trap here is treating all Gemini access paths as equally governed, when the developer-oriented Gemini API lacks the enterprise perimeter and key controls that Vertex AI endpoints provide.

123
MCQmedium

A financial services firm wants to deploy a generative AI assistant for employees. The assistant must not reveal any customer data and must comply with internal policies. Which Google Cloud capability should they use to control the assistant's responses based on defined safety and privacy rules?

A.Vertex AI safety filters and configurable thresholds in the generative AI API.
B.Cloud Audit Logs to record all API calls made to the assistant.
C.Vertex AI Model Garden to browse and deploy open models.
D.VPC Service Controls to create a perimeter around the project.
AnswerA

Vertex AI provides safety filters and adjustable thresholds that can block harmful or policy-violating content. By configuring these settings, the firm can reduce the risk of responses that leak sensitive information or violate internal rules. This is the built-in mechanism for applying content safety controls to generative AI responses, making it the appropriate choice for policy enforcement.

Why this answer

To enforce safety and privacy rules on generated content, the firm should use Vertex AI's safety filters and configurable thresholds. These settings allow blocking or adjusting responses that violate defined policies, providing a preventive control at the model output level. This directly supports compliance by reducing the chance of leaking customer data or violating internal rules.

Exam trap

The trap here is confusing infrastructure-level controls like VPC Service Controls or audit logging with content-level guardrails that actually filter model responses.

124
MCQeasy

A marketing team wants to generate product descriptions from a short list of features using a Google Cloud generative AI model. They have no labeled examples and want to avoid any model training. Which approach should they use?

A.Training a new model from scratch using the team's feature list
B.Fine-tuning the model on a dataset of existing product descriptions
C.Zero-shot prompting with a foundation model in Vertex AI
D.Using a traditional rule-based template system to assemble descriptions
AnswerC

Zero-shot prompting sends a task instruction and the feature list directly to a pretrained foundation model, which generates the description without any task-specific examples or training. This matches the team's need for immediate results with no labeled data and no model customization, making it the correct approach here.

Why this answer

Zero-shot prompting lets a pretrained foundation model perform a new task from instructions alone, with no examples or training. Since the team has no labeled data and wants to avoid training, this is the only approach that meets all constraints. Fine-tuning, training from scratch, and rule-based templates either require training or are not generative AI.

Exam trap

The trap here is assuming that any customization, such as fine-tuning, is required to get useful output from a foundation model.

125
MCQeasy

A marketing team wants to use a generative AI model to create ad copy in multiple languages. They are new to Google Cloud and want the fastest way to start experimenting without writing code. Which tool should they use?

A.Cloud Shell Editor to write Python scripts that call the Vertex AI API.
B.Google Cloud CLI with the gcloud ai models command.
C.Vertex AI Generative AI Studio in the Google Cloud console.
D.BigQuery console to run SQL queries against ad performance data.
AnswerC

Generative AI Studio provides a no-code interface in the Google Cloud console for prompting, tuning, and comparing foundation models. The marketing team can experiment with ad copy in multiple languages by typing prompts and adjusting parameters, without writing code. This directly matches their need for a fast, code-free starting point.

Why this answer

Generative AI Studio offers a no-code, console-based environment for prompting and experimenting with foundation models. The marketing team can quickly test multilingual ad copy by entering prompts and adjusting settings, without writing any code. This makes it the fastest and most accessible option for beginners on Google Cloud.

Exam trap

The trap here is equating any Google Cloud console interface with generative AI experimentation, when tools like BigQuery are for analytics, not content generation.

126
MCQhard

A financial services firm is deploying a Gemini-based application that must comply with GDPR. The application processes customer queries and may include personal data. Which Google Cloud capability should the firm use to ensure that the model does not expose personally identifiable information (PII) in its responses?

A.Set the model's safety filters to block all categories at maximum threshold
B.Integrate Cloud Sensitive Data Protection (DLP) to inspect and redact PII from prompts and responses
C.Use Vertex AI's Model Garden with a restricted access policy
D.Fine-tune the model on a dataset that has no PII
AnswerB

Cloud Sensitive Data Protection (DLP) inspects content using infoType detectors, then redacts or de-identifies PII in both prompts and model responses. This satisfies GDPR compliance by preventing personal data from being exposed, complementing Microsoft Entra ID access controls that govern identity rather than content.

Why this answer

Cloud Sensitive Data Protection (DLP) is designed to inspect, classify, and redact sensitive data such as PII. Integrating it with the Gemini application allows real-time scanning and redaction of PII from both prompts and responses, ensuring GDPR compliance by preventing exposure of personal data.

Exam trap

Generative AI Leader often tests the misconception that safety filters or fine-tuning can prevent PII exposure, but only dedicated DLP tools provide the necessary inspection and redaction capabilities.

How to eliminate wrong answers

Option A is wrong because safety filters block harmful content categories (e.g., hate speech, violence) but do not detect or redact PII. Option C is wrong because Model Garden with restricted access controls who can access models, not what data they process or output. Option D is wrong because fine-tuning on a PII-free dataset does not prevent the model from generating PII in responses, as the model may still have learned PII from pre-training or other sources.

127
MCQhard

A research team is fine-tuning a large language model on a dataset containing personal data of EU citizens. They must comply with GDPR. Which measure is ESSENTIAL?

A.Ensure the training data is stored in a specific geographic region
B.Obtain explicit consent from individuals for using their data in fine-tuning
C.Use a Model Card to document the training data
D.Apply safety filters to the model outputs
AnswerB

Explicit consent supplies the lawful basis GDPR requires before processing personal data, satisfying the stem's compliance constraint. Because fine-tuning embeds that data into model weights, purpose limitation and transparency obligations attach directly to this processing, so consent must cover the fine-tuning purpose specifically. Technical safeguards alone cannot substitute for a lawful basis.

Why this answer

Under GDPR, processing personal data requires a lawful basis; explicit consent is essential when no other basis (e.g., legitimate interest) clearly applies, especially for fine-tuning where data is used to train a model that may memorize and regenerate personal information. Without consent, the processing is unlawful, exposing the team to significant fines and regulatory action. This is a foundational requirement that overrides technical measures like storage location or documentation.

Exam trap

The Generative AI Leader exam often tests the distinction between legally required measures (like consent) versus best-practice technical controls (like Model Cards or safety filters), leading candidates to pick a technically sound but legally insufficient option.

How to eliminate wrong answers

Option A is wrong because GDPR does not mandate a specific geographic region for storage; it allows data transfers to third countries under adequacy decisions or appropriate safeguards (e.g., Standard Contractual Clauses), so storage location alone is not essential. Option C is wrong because a Model Card is a best practice for transparency and documentation but is not a legal requirement under GDPR; it does not provide a lawful basis for processing personal data. Option D is wrong because safety filters address output harms (e.g., toxicity, bias) but do not address the legality of using personal data for training; they are a post-hoc mitigation, not a prerequisite for lawful processing.

128
MCQhard

A financial institution wants to deploy a gen AI model for fraud detection but must comply with strict regulations regarding explainability. What is the best strategy?

A.Use Vertex AI Explainable AI with a complex model
B.Deploy multiple models and ensemble
C.Use a large black-box model and rely on external auditing
D.Implement a smaller interpretable model with acceptable accuracy
AnswerD

Regulations demand explainability, which opaque deep models cannot provide. A smaller interpretable model such as logistic regression or a decision tree exposes its decision logic directly, satisfying the compliance constraint, provided its fraud-detection accuracy remains acceptable to the business.

Why this answer

Regulatory compliance for fraud detection demands explainability, which complex black-box models cannot provide. A smaller interpretable model (e.g., logistic regression or decision tree) offers transparency into decision factors, satisfying regulations like GDPR's right to explanation while maintaining acceptable accuracy for the use case.

Exam trap

Google Cloud often tests the misconception that post-hoc explainability tools (like Vertex AI Explainable AI) are equivalent to inherent model interpretability, leading candidates to choose complex models with added explanation layers instead of simpler, transparent models.

How to eliminate wrong answers

Option A is wrong because Vertex AI Explainable AI provides post-hoc explanations for complex models, but these approximations may not meet strict regulatory standards for full transparency and can be unreliable. Option B is wrong because ensembling multiple models increases complexity and opacity, making it harder to explain individual predictions and often violating explainability requirements. Option C is wrong because relying on external auditing for a large black-box model does not guarantee inherent explainability; auditors still face the same opacity, and regulations typically require model-inherent interpretability, not just external review.

129
Multi-Selecteasy

Which TWO methods are most effective for improving factual accuracy in a language model's responses? (Choose two.)

Select 2 answers
A.Use prompt engineering to instruct the model to rely on provided facts.
B.Decrease the temperature to make responses more deterministic.
C.Increase top-k sampling to consider a wider range of tokens.
D.Replace the model with a smaller, more focused model.
E.Implement Retrieval-Augmented Generation (RAG) with a trusted knowledge base.
AnswersA, E

Prompt engineering can explicitly direct the model to verify claims or stick to given knowledge.

Why this answer

Prompt engineering can explicitly instruct the model to base its responses on provided facts, reducing reliance on parametric knowledge that may be outdated or incorrect. By including directives like 'Use only the information in the following text' or 'Answer based solely on the provided context,' the model is guided to prioritize given facts over its internal training data, which improves factual accuracy in the output.

Exam trap

A common misconception is that reducing randomness (temperature) or increasing token diversity (top-k) directly improves factual accuracy, when in fact these parameters affect output style and creativity, not the correctness of the underlying facts.

130
Multi-Selecthard

A team is evaluating whether to use reinforcement learning from human feedback (RLHF) or in-context learning for a chatbot. Which TWO statements correctly describe trade-offs? (Select two.)

Select 2 answers
A.RLHF can align model behavior without any human input.
B.In-context learning is generally more cost-effective than RLHF for one-off tasks.
C.RLHF requires a large dataset of human preferences and additional training.
D.In-context learning permanently modifies model weights.
E.In-context learning can handle longer contexts than RLHF fine-tuned models.
AnswersB, C

In-context learning places task examples in the prompt, requiring no weight updates or reward-model training, so it costs far less than RLHF for one-off tasks. RLHF's expense only pays off when behaviour must be persistently aligned across many interactions.

Why this answer

Option B is correct because in-context learning achieves task adaptation simply by placing examples or instructions in the prompt, requiring no gradient updates or preference dataset, so for a one-off task it avoids the substantial compute and labeling costs of RLHF. Option C is correct because RLHF typically involves collecting a large dataset of human preference comparisons, training a reward model on those preferences, and then fine-tuning the policy (e.g., via PPO) — an additional training pipeline beyond the base model. Option A is wrong because RLHF is defined by its use of human feedback; it cannot align behavior without human input.

Option D is wrong because in-context learning leaves model weights unchanged, adapting behavior only through the prompt at inference time. Option E is wrong because context length is a property of the model architecture and serving setup, not a general advantage of in-context learning over RLHF fine-tuned models, which can share the same context window.

Exam trap

The exam often tests the misconception that in-context learning modifies model weights or that RLHF can operate without human input, so candidates must remember that ICL is purely prompt-based and RLHF is inherently human-dependent.

131
MCQhard

A healthcare technology company is using Vertex AI to build a generative AI assistant that answers patient questions about medications. They must ensure the assistant does not provide medical advice and adheres to safety guidelines. Which Google Cloud feature should they use to enforce these constraints?

A.Vertex AI Explainable AI
B.Vertex AI safety filters and configurable safety settings
C.Vertex AI Pipelines
D.Vertex AI Model Monitoring
AnswerB

Vertex AI provides safety filters and configurable safety settings that can block or filter harmful content, including medical advice that could be dangerous. By adjusting thresholds and categories, the company can enforce constraints to prevent the assistant from giving inappropriate medical guidance, aligning with safety guidelines.

Why this answer

Vertex AI safety filters and configurable safety settings allow developers to set thresholds and categories that block harmful or inappropriate content, including medical advice. This is the only option that provides real-time enforcement of safety guidelines. Monitoring, Explainable AI, and Pipelines serve different purposes and cannot enforce content restrictions.

Exam trap

The trap here is assuming that monitoring or explainability features can enforce safety constraints, when only safety filters and settings actively block or filter content during generation.

132
MCQmedium

A developer is experimenting with a Gemini model in Vertex AI Studio and notices that for the same prompt, the model produces different answers each time. The developer needs the output to be as consistent and deterministic as possible for a classification task. Which parameter change should they make?

A.Increase the maximum output tokens
B.Enable streaming responses
C.Set the temperature to 2
D.Set the temperature to 0
AnswerD

A temperature of 0 makes the model select the highest-probability token at each step, producing the most deterministic and repeatable output. For classification tasks where consistency matters more than creativity, this is the appropriate setting. It minimizes sampling randomness, so identical prompts tend to yield identical or nearly identical results.

Why this answer

Sampling parameters govern how the model picks the next token. Temperature 0 selects the most probable token deterministically, which is ideal when the same input should map to the same output, as in classification. Other parameters such as token limits and streaming affect output length and delivery, not the randomness of selection, so they cannot deliver the consistency the developer needs.

Exam trap

The trap here is believing that output length controls or streaming settings influence how random or repeatable a model's responses are.

133
MCQeasy

A media production studio wants to create short video clips from text prompts for social media content. They need a Google Cloud generative AI model that can generate videos from text. Which offering should they use?

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

Veo is Google's generative AI video model available through Vertex AI, designed to create short video clips from text prompts. It supports cinematic quality and temporal consistency, making it suitable for social media content. The studio can generate clips directly from descriptive text without manual editing. This directly matches the requirement for text-to-video generation.

Why this answer

Veo is the Google Cloud generative AI model specifically built for text-to-video generation. It enables users to create short video clips from textual descriptions, which aligns perfectly with the media studio's goal of producing social media content. Other models like Imagen and Gemini handle images or text but not video output, so Veo is the correct offering.

Exam trap

The trap here is confusing Imagen, which generates images, with Veo, which generates videos, because both are creative media models on Vertex AI.

134
MCQmedium

A developer is building a generative AI application using Vertex AI and wants to ensure that the model's responses are safe and aligned with their company's content policies. They need to filter out harmful content such as hate speech and harassment from both user inputs and model outputs. Which Vertex AI feature should they configure?

A.Cloud Armor
B.IAM policies
C.Safety filters
D.VPC Service Controls
AnswerC

Safety filters in Vertex AI allow you to set thresholds for categories like hate speech, harassment, and sexually explicit content. They can be applied to both prompts and responses, automatically blocking or flagging harmful content. This directly meets the requirement to enforce content policies on inputs and outputs.

Why this answer

Safety filters in Vertex AI are specifically designed to detect and block harmful content in both prompts and responses. By configuring these filters, the developer can enforce the company's content policies and reduce the risk of generating or processing unsafe material, ensuring a safer generative AI application.

Exam trap

The trap here is confusing network security controls like VPC Service Controls with content safety filters; only safety filters inspect text for harmful categories.

135
MCQeasy

A graphic design company wants to generate high-quality synthetic images for product mockups. Which Google Cloud generative AI service is most suitable?

A.AutoML Vision
B.Imagen on Vertex AI
C.Codey APIs for code generation
D.Natural Language API
AnswerB

Imagen on Vertex AI generates photorealistic images from text prompts, directly satisfying the demand for high-quality synthetic product mockups. Unlike text-focused models, it specialises in image synthesis with fine detail control, making it the appropriate Google Cloud service for this graphic design scenario.

Why this answer

Imagen on Vertex AI is the correct choice because it is Google Cloud's state-of-the-art text-to-image diffusion model specifically designed to generate high-quality, photorealistic synthetic images from natural language prompts. This directly meets the requirement for creating product mockups, as Imagen can produce custom visuals with fine-grained control over style and composition, and it integrates seamlessly with Vertex AI for deployment and management.

Exam trap

The trap here is that candidates may confuse AutoML Vision's ability to classify or detect objects in images with generative image creation, leading them to select Option A despite it lacking any generative capability.

How to eliminate wrong answers

Option A is wrong because AutoML Vision is a traditional machine learning service for training custom image classification, object detection, or segmentation models on labeled datasets; it does not generate synthetic images from text prompts. Option C is wrong because Codey APIs are specialized for generating code snippets, documentation, and code completions, not for creating visual content like images. Option D is wrong because Natural Language API is designed for analyzing and extracting insights from text (e.g., sentiment, entity recognition), not for generating synthetic images.

136
MCQmedium

A company uses a generative AI model to generate product descriptions. They notice variations in style and length across products. How can they enforce consistent formatting?

A.Adjust top-k sampling to include more token candidates.
B.Set a system instruction specifying style and structure.
C.Randomly select few-shot examples from a pool of descriptions.
D.Use a high temperature and vary the prompt slightly.
AnswerB

A system instruction is prepended to every request and constrains the model's output style and structure, so each product description follows the same format regardless of input variation. This directly enforces the consistent formatting the stem requires.

Why this answer

Setting a system instruction explicitly defines the desired style, tone, and structure for the model's output. This is a fundamental technique in prompt engineering, particularly with instruction-tuned models like GPT-4 or Claude, where the system message acts as a persistent directive that overrides the model's default behavior, ensuring consistent formatting across all generated product descriptions.

Exam trap

A common misconception in prompt engineering is that increasing randomness (via temperature or top-k) or varying examples can enforce consistency. In reality, these techniques increase variability, while system instructions provide the deterministic control needed for uniform output formatting. This question tests the ability to identify the best practice for consistent formatting in generative AI models.

How to eliminate wrong answers

Option A is wrong because adjusting top-k sampling to include more token candidates increases randomness and diversity, which would exacerbate style and length variations rather than enforce consistency. Option C is wrong because randomly selecting few-shot examples from a pool of descriptions introduces uncontrolled variability in the examples, leading to inconsistent output formatting instead of a fixed template. Option D is wrong because using a high temperature increases randomness and varying the prompt slightly introduces instability, both of which undermine the goal of consistent formatting.

137
Multi-Selecthard

A healthcare company wants to use generative AI to summarize patient notes while ensuring compliance with strict data privacy regulations. They plan to use Google Cloud's Vertex AI. Which two features should they implement to protect sensitive data? (Choose two.)

Select 2 answers
A.VPC Service Controls
B.Storing data in a public Cloud Storage bucket
C.Customer-managed encryption keys (CMEK)
D.Disabling audit logging
E.Public IP addressing for Vertex AI endpoints
AnswersA, C

VPC Service Controls create a security perimeter around Google Cloud services to prevent data exfiltration. For healthcare data, this ensures that Vertex AI resources cannot be accessed from outside the authorized network. It helps comply with regulations by restricting data movement and mitigating insider threats. Implementing VPC Service Controls is a recommended practice for sensitive workloads.

Why this answer

Customer-managed encryption keys (CMEK) and VPC Service Controls are both critical for protecting sensitive healthcare data in Vertex AI. CMEK gives the organization control over encryption keys, while VPC Service Controls prevent unauthorized data exfiltration. Together, they help meet regulatory requirements for data privacy and security.

Exam trap

The trap here is thinking that default Google encryption is sufficient, but for strict compliance, customer-managed keys and network perimeters are needed.

138
MCQmedium

A university research team wants to summarize long academic papers using a Google Cloud model. They need a model that supports very large context windows so an entire paper fits in a single request. Which Gemini model characteristic should they prioritize?

A.A model with the largest number of supported languages
B.A model with the lowest latency for short prompts
C.A model version with a long context window, such as Gemini 1.5 Pro
D.A model with the highest number of output tokens per response
AnswerC

Gemini 1.5 Pro offers a long context window capable of handling very large inputs, which allows an entire academic paper to be included in one request. This directly supports summarization without chunking, preserving cross-section context that improves summary coherence.

Why this answer

Summarizing an entire academic paper in one request depends on the model's input context window. Gemini 1.5 Pro's long context capability lets the team include the full document, preserving structure and cross-references. Latency, output token limits, and language coverage affect other aspects but do not remove the need for a large input window.

Exam trap

The trap here is confusing the output token limit with the input context window, leading to a model choice that still cannot ingest the full paper.

139
MCQhard

A bank is deploying a Gemini-powered assistant on Vertex AI to answer questions about loan products. Compliance requires that every answer be traceable to an approved internal source and that the assistant refuse to answer when no approved source supports the response. Which configuration should the bank implement?

A.Raise the model temperature and add a system instruction to be accurate
B.Ground the model with Vertex AI Search over approved sources and use grounding confidence thresholds
C.Enable a higher safety filter threshold so harmful content is blocked
D.Fine-tune Gemini on historical chat logs from the bank's contact center
AnswerB

Grounding with Vertex AI Search restricts answers to retrieved passages from approved sources and returns citations for traceability. Grounding confidence scores let the bank detect weak support and configure the assistant to decline rather than speculate. This satisfies both the traceability and the refusal requirements.

Why this answer

Grounding the assistant in approved sources through Vertex AI Search makes each answer retrievable from a vetted document and provides citations for audit. Using grounding confidence thresholds lets the bank define when support is too weak and instruct the assistant to refuse. Fine-tuning, temperature changes, and safety filters do not deliver source traceability or principled abstention.

Exam trap

The trap here is equating content safety filtering with factual grounding, when refusal on unsupported questions depends on retrieval quality and confidence thresholds.

140
MCQhard

A machine learning engineer needs to deploy a Gemini model on an Android device for offline inference (no internet connection) to provide real-time suggestions. Which Gemini model variant is MOST appropriate?

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

Gemini Nano is the on-device variant, distilled to run locally on Android hardware via AICore, so inference needs no network connectivity. Gemini Pro and Ultra are cloud-hosted models requiring internet access, failing the offline constraint.

Why this answer

Gemini Nano is specifically designed for on-device inference with small memory footprint. Ultra, Pro, and Flash are cloud-only models that require internet connectivity.

141
Multi-Selecteasy

A project manager wants to measure the success of a generative AI feature that summarizes meeting transcripts. Which TWO metrics are MOST appropriate for evaluating quality improvement?

Select 2 answers
A.Average handle time for meeting follow-ups
B.Accuracy of summaries (e.g., factuality, completeness)
C.API response time
D.Cost per summary generated
E.User satisfaction rating of the summaries
AnswersB, E

Accuracy directly measures whether summaries preserve the transcript's facts and cover its key points, satisfying the stem's quality-improvement focus. Unlike latency or cost metrics, factuality and completeness quantify output correctness, so improvements here demonstrate genuine gains in the summarisation feature's usefulness.

Why this answer

Option B is correct because accuracy metrics such as factuality and completeness directly measure whether the generative AI summaries faithfully and fully capture the meeting transcript content, which is the core quality dimension of a summarization feature. Option E is correct because user satisfaction ratings capture the perceived usefulness and quality of the summaries from the people consuming them, providing a human-centered quality signal that complements automated accuracy checks. Together, these two metrics evaluate both objective correctness and subjective usefulness, which are the most appropriate indicators of quality improvement for a summarization feature.

Option A is not appropriate because average handle time measures operational efficiency of follow-up work, not the quality of the generated summaries. Option C is not appropriate because API response time is a latency/performance metric, not a quality metric. Option D is not appropriate because cost per summary is a financial efficiency metric rather than a measure of summary quality.

Exam trap

Generative AI Leader often tests the confusion between quality metrics and operational metrics (e.g., cost, latency, handle time), so candidates must recognize that only accuracy and user satisfaction directly measure the quality of the generated output.

142
MCQmedium

A startup is developing an AI tool that generates legal contract summaries. Lawyers will use these summaries for advice. What human oversight mechanism is MOST critical for responsible deployment?

A.Require lawyers to review and approve each AI-generated summary before use
B.Provide a confidence score for each summary but allow lawyers to bypass it
C.Use a second LLM to verify the first LLM's summaries automatically
D.Automatically flag summaries that contain low-confidence indicators for review
AnswerA

Requiring lawyer review before use satisfies the human-in-the-loop constraint for high-stakes legal advice, where errors carry liability. Because generative models can hallucinate clauses or misstate obligations, a qualified legal professional must verify each summary's accuracy and applicability before it informs client advice, ensuring accountability remains with a licensed practitioner.

Why this answer

In high-stakes domains like legal contract summarization, the AI output must be validated by a qualified human expert before use. This ensures accountability and mitigates risks of hallucinated clauses or misinterpretations that could lead to legal liability. A confidence score or automated flagging alone is insufficient because even high-confidence outputs can contain subtle errors that only a trained lawyer can catch.

Exam trap

This question tests the misconception that automated verification (e.g., a second LLM or confidence scoring) is sufficient for high-stakes AI outputs, when in fact only human expert review provides the necessary accountability and domain-specific validation, as emphasized in Google's responsible AI principles.

How to eliminate wrong answers

Option B is wrong because allowing lawyers to bypass the confidence score undermines the oversight mechanism; if a lawyer can ignore the score and use the summary without review, the safeguard is effectively disabled. Option C is wrong because using a second LLM for verification introduces correlated failure modes—both LLMs may share similar training data biases or hallucination patterns, providing no independent check. Option D is wrong because automatically flagging low-confidence summaries for review still permits high-confidence but erroneous summaries to go unchecked, and the flagging threshold may miss subtle legal inaccuracies that do not trigger low-confidence indicators.

143
MCQeasy

A marketing team wants to generate product descriptions from a short bullet list of features. They need a Google Cloud service that provides a web-based console for writing prompts, comparing model responses, and adjusting parameters like temperature without writing code. Which service should they use?

A.Vertex AI Studio
B.Cloud Natural Language API
C.Document AI
D.BigQuery ML
AnswerA

Vertex AI Studio is Google Cloud's console for prompt design, model comparison, and parameter tuning such as temperature and top-p, with no coding required. It directly supports the marketing team's need to draft prompts, view generated product descriptions, and iterate quickly, making it the most appropriate choice for non-developers who want visual experimentation with generative AI models.

Why this answer

Vertex AI Studio is the Google Cloud environment built for prompt design and rapid experimentation with generative models. It provides a visual interface where users can enter prompts, compare outputs across models, and adjust sampling parameters. Because the marketing team wants to generate descriptions without coding, this console directly matches their workflow.

Exam trap

The trap here is assuming any Google Cloud AI service can generate text, when several services such as Natural Language API and Document AI are specialized for analysis rather than open-ended generation.

144
MCQhard

A company notices that their GenAI-powered code review assistant sometimes suggests code with security vulnerabilities. They want to reduce this risk without sacrificing review speed. Which approach is MOST effective?

A.Disable the code review assistant for security-sensitive modules
B.Include the company's secure coding guidelines in the system prompt and provide few-shot examples of secure code
C.Manually review every suggestion from the assistant before accepting it
D.Switch to a smaller, less capable model that is less likely to generate complex code
AnswerB

Embedding secure coding guidelines in the system prompt constrains every response, while few-shot examples demonstrate the exact secure patterns the assistant should imitate. This steers generation toward safe output without adding a separate review pass, preserving the review speed the company wants to keep.

Why this answer

It directly addresses the root cause of insecure code generation by providing the model with explicit secure coding guidelines and few-shot examples. This technique, known as in-context learning, steers the model's output toward desired behaviors without altering its architecture or speed. It effectively reduces security vulnerabilities while maintaining the assistant's rapid review capability.

Exam trap

This question tests the common misconception that disabling or manually reviewing the assistant is the safest approach, when in fact the most effective solution is to guide the model's behavior through prompt engineering without sacrificing automation speed.

How to eliminate wrong answers

Option A is wrong because disabling the assistant for security-sensitive modules eliminates its benefits entirely, leaving those modules without automated review and potentially slowing down development. Option C is wrong because manual review of every suggestion negates the speed advantage of the GenAI assistant, defeating the purpose of using it for code review. Option D is wrong because switching to a smaller, less capable model may reduce code complexity but does not inherently improve security; it could even miss vulnerabilities that a larger model might catch, and it still requires additional measures to enforce secure coding practices.

145
MCQmedium

To improve factuality in generative AI, which is the best approach?

A.Set top_p to 0.1
B.Reduce output length
C.Grounded generation with citations
D.Increase model size
AnswerC

Grounded generation retrieves authoritative source content and conditions the model's output on it, with citations letting users verify each claim. This directly constrains hallucination, satisfying the stem's goal of improving factuality rather than relying on the model's parametric memory alone.

Why this answer

Grounded generation with citations directly addresses factuality by forcing the model to retrieve and cite verifiable sources (e.g., from a knowledge base or document store) before generating an answer. This approach, often implemented via retrieval-augmented generation (RAG), ensures outputs are anchored to external evidence rather than relying solely on the model's parametric memory, which can produce hallucinations. Citations also enable users to verify claims, making this the most effective technique for improving factual accuracy.

Exam trap

Google exams often test the misconception that hyperparameter tuning (like top_p) or scaling model size alone can fix factuality, when in reality these methods do not address the root cause of hallucination—lack of external grounding—and candidates may overlook the importance of retrieval and citation mechanisms, such as Google's Vertex AI Grounding or RAG.

How to eliminate wrong answers

Option A is wrong because setting top_p to 0.1 is a nucleus sampling parameter that reduces output diversity by limiting the cumulative probability mass of token choices, but it does not improve factuality—it only makes outputs more deterministic and potentially repetitive. Option B is wrong because reducing output length limits the amount of text generated but does not prevent the model from fabricating facts within that shorter span; hallucinations can occur in even a single sentence. Option D is wrong because increasing model size generally improves language fluency and knowledge capacity but does not guarantee factuality—larger models can still hallucinate confidently, and scaling alone does not provide a mechanism for grounding outputs in verified sources.

146
MCQmedium

A data science team is fine-tuning a large language model using Vertex AI to generate marketing copy. They notice that the generated text is often repetitive and lacks creativity. Which technique should they apply to improve output diversity?

A.Increase the temperature parameter to 0.9.
B.Decrease the beam search width to 1.
C.Decrease the top-k sampling threshold.
D.Add more examples of repetitive text to the training dataset.
AnswerA

Temperature controls the randomness of token sampling during generation. Raising it to 0.9 flattens the probability distribution, so lower-probability tokens are selected more often, directly countering the repetitive, low-creativity output observed in the marketing copy.

Why this answer

Increasing the temperature parameter to 0.9 raises the randomness of the probability distribution over tokens, allowing less likely tokens to be selected. This directly counteracts repetitive output by encouraging the model to explore more diverse word choices, which is a standard technique for improving creativity in text generation.

Exam trap

Google Cloud often tests the misconception that decreasing sampling thresholds (like top-k or beam width) increases diversity, when in fact they reduce the candidate pool and make output more deterministic.

How to eliminate wrong answers

Option B is wrong because decreasing beam search width to 1 reduces the number of candidate sequences considered, which actually makes output more deterministic and less diverse, worsening repetitiveness. Option C is wrong because decreasing the top-k sampling threshold restricts the model to only the k most likely tokens, which reduces diversity and can increase repetition. Option D is wrong because adding more examples of repetitive text to the training dataset would reinforce the unwanted behavior, making the model more likely to generate repetitive output, not less.

147
MCQmedium

A financial services company uses a generative AI model to produce customer-facing investment advice. They need to ensure the model's outputs can be traced back to specific sources. Which explainability technique is BEST suited for this requirement?

A.Confidence indicators
B.Model Cards
C.Chain-of-thought reasoning
D.Grounding (citing sources)
AnswerD

Grounding retrieves authoritative documents and constrains the model to generate responses tied to those retrieved passages, attaching citations to each claim. This satisfies the traceability requirement by linking every output back to a verifiable source.

Why this answer

Grounding (citing sources) is the best technique because it directly links each generated output to specific, verifiable source documents or data points. This ensures traceability, which is critical for regulated financial advice where every claim must be attributable to a known reference, such as a regulatory filing or market data feed.

Exam trap

The Generative AI Leader exam often tests the misconception that chain-of-thought reasoning provides traceability, but it only explains the model's reasoning path, not the external source of the information.

How to eliminate wrong answers

Option A is wrong because confidence indicators only provide a probabilistic score (e.g., 0.95) for the model's certainty, not a traceable source citation. Option B is wrong because Model Cards are documentation artifacts that describe a model's intended use, performance, and limitations, but they do not provide per-output source attribution. Option C is wrong because chain-of-thought reasoning reveals the model's internal step-by-step logic but does not cite external sources; it can even generate plausible but false reasoning paths (hallucinations) without grounding.

148
MCQmedium

A research team uses a generative AI model to answer questions about internal technical documents. The model sometimes provides outdated information because it relies on its pretrained knowledge instead of the latest documents. The team wants the answers to be based on the current document set. Which technique should they implement?

A.Fine-tune the model on the internal documents to update its knowledge.
B.Increase the model's temperature so it relies less on memorized facts.
C.Retrieval-augmented generation that fetches relevant passages from the current document set and includes them in the prompt.
D.Add a prompt instruction telling the model to always use the most recent information it knows.
AnswerC

Retrieval-augmented generation supplies the model with up-to-date passages at inference time, so answers are grounded in the current documents rather than pretrained memory. This directly solves the outdated-information problem without retraining. It also allows the document set to be updated independently of the model. The model uses the retrieved context to generate accurate, source-based responses.

Why this answer

Retrieval-augmented generation is the right technique because it dynamically fetches relevant passages from the current document set and includes them in the prompt. This grounds the model in up-to-date information without retraining, directly solving the outdated-answer problem. Other options either change randomness, require costly retraining, or rely on an instruction the model cannot fulfill without access to the documents.

Exam trap

The trap here is assuming that a prompt instruction or temperature change can make the model use current documents, when it actually needs the documents to be retrieved and provided.

149
MCQhard

A hospital wants to build a generative AI assistant that answers clinician questions using the hospital's own clinical guidelines. The guidelines change frequently, and the hospital wants the assistant to cite the exact guideline section used. Which approach best meets these requirements while minimizing model retraining?

A.Ground the assistant on the guidelines using retrieval-augmented generation with Vertex AI Search
B.Expand the model's context window and paste all guidelines into every prompt
C.Fine-tune the Gemini model every time the clinical guidelines are updated
D.Increase the model's temperature so it recalls guideline details more accurately
AnswerA

Retrieval-augmented generation retrieves relevant guideline passages at query time and grounds the model's answer in them, so citations can point to the exact section. Because the guidelines live in an index rather than the model weights, updates require re-indexing documents, not retraining, which minimizes retraining effort while keeping answers current and attributable.

Why this answer

Grounding with retrieval-augmented generation separates knowledge from the model: guideline passages are indexed and retrieved per query, so updates mean re-indexing rather than retraining, and responses can cite the retrieved section. Fine-tuning forces retraining on every change and gives no citations, temperature affects randomness not accuracy, and stuffing all guidelines into the prompt hits context limits without reliable attribution.

Exam trap

The trap here is assuming fine-tuning is the way to add domain knowledge; when content changes often and citations are required, retrieval grounding is the appropriate pattern, not weight updates.

150
MCQmedium

A company is evaluating the ROI of deploying a GenAI code review assistant. They want to measure productivity gains. Which metric is MOST directly tied to developer efficiency?

A.Reduction in post-release bug count
B.Time saved per code review
C.Developer satisfaction score
D.Number of lines of code reviewed
AnswerB

Time saved per code review directly quantifies developer hours recovered from the assistant's core function, making it the metric most tightly coupled to efficiency. Broader measures such as deployment frequency or defect counts reflect downstream quality or delivery outcomes, not the review task itself.

Why this answer

Time saved per code review (Option B) is the most direct measure of developer efficiency because it quantifies the reduction in manual review effort, which is the primary benefit of a GenAI code review assistant. Unlike indirect metrics, this directly captures the core value proposition of automating or accelerating the review process, leading to faster development cycles and reduced context switching.

Exam trap

Google often tests the distinction between efficiency (time/output) and effectiveness (quality/outcome), so candidates mistakenly choose bug reduction (quality) instead of time saved (efficiency) when the question explicitly asks for productivity gains.

How to eliminate wrong answers

Option A is wrong because reduction in post-release bug count measures code quality and defect prevention, not developer efficiency or productivity gains directly; a GenAI assistant might improve quality, but efficiency is about time and throughput. Option C is wrong because developer satisfaction score is a subjective, lagging indicator of morale or usability, not a direct measure of efficiency or time savings. Option D is wrong because number of lines of code reviewed is a volume metric that can increase with inefficient processes (e.g., reviewing more code due to poor suggestions) and does not capture time savings or productivity improvements.

Page 1

Page 2 of 14

Page 3