Google Cloud · Free Practice Questions · Last reviewed May 2026
24real exam-style questions organised by domain, each with the correct answer highlighted and a plain-English explanation of why it's right — and why the others are wrong.
30% of exam · 6 sample questions below
A startup is building a customer support chatbot using Vertex AI and wants to ground responses in their product documentation to reduce hallucinations. Which approach should they use?
Enable Vertex AI Grounding with a custom enterprise data store containing the documentation.
Grounding with a custom enterprise data store retrieves passages from the product documentation and injects them into the prompt, so responses cite actual content rather than relying on parametric memory. This directly addresses the hallucination constraint in the stem.
Use the Codey API for text generation.
Use the base model without any grounding to maximize flexibility.
Fine-tune the model on the documentation and deploy.
A team is fine-tuning a large language model on custom data using Vertex AI. They find that the training loss decreases but validation loss increases. What is the best course of action?
Increase the number of training epochs.
Reduce the model size or add dropout regularization.
Adding dropout regularisation directly counteracts the overfitting causing validation loss to diverge from training loss. Reducing model capacity likewise limits memorisation of the custom fine-tuning data. Both address the generalisation gap the stem describes, where training loss falls while validation loss rises, restoring alignment between the two curves.
Increase the learning rate.
Switch to a smaller batch size.
A developer wants to generate product descriptions from a list of features using Vertex AI. Which model type is best suited for this task?
An embedding model (e.g., textembedding-gecko@001).
A chat model (e.g., chat-bison@001).
A text generation model (e.g., text-bison@001).
A text generation model such as text-bison@001 maps a feature list to fluent prose, satisfying the stem's requirement to produce product descriptions. Unlike classification or embedding models, it outputs free-form natural language, which is precisely the generative capability Vertex AI needs here.
A code generation model (e.g., code-bison@001).
Which TWO statements are true about generative AI models?
They are typically pre-trained on large datasets.
Pre-training on large datasets is the defining characteristic of generative models: self-supervised learning over billions of tokens or images builds the broad statistical patterns later fine-tuned for specific tasks. This satisfies the stem's requirement for a true statement about how such models are typically built.
They are deterministic by design.
They always produce the same output for the same input.
They can generate new content not seen in training.
Generative models produce novel outputs by sampling from learned probability distributions rather than retrieving stored examples, so responses are synthesised combinations not present verbatim in training data. This directly satisfies the stem's requirement for a true statement about generative capability.
They require no data for training.
A company is deploying a generative AI model for medical diagnosis support. Which THREE considerations are critical for responsible AI?
Ensure the training data is diverse and representative.
Diverse, representative training data reduces demographic bias, preventing skewed diagnostic suggestions for under-represented patient groups. This satisfies the responsible AI requirement by addressing fairness at the data layer, where bias originates before model training begins.
Maximize model throughput to handle high volumes.
Implement human oversight for all diagnostic suggestions.
Human oversight ensures a qualified clinician reviews every AI diagnostic suggestion before it affects patient care, catching errors and preserving clinical accountability. This satisfies the responsible AI requirement for meaningful human control in high-stakes medical decisions.
Provide clear disclaimers about the model's limitations.
Clear disclaimers communicate that model outputs are decision support, not confirmed diagnoses, so clinicians and patients interpret suggestions with appropriate caution. This satisfies the responsible AI requirement for transparency about capability limits in medical contexts.
Use the cheapest model to reduce costs.
A data scientist is fine-tuning a large language model using Vertex AI. The training job fails with an out-of-memory error. Which action should they take to resolve this issue?
Change the accelerator to TPU
Use a larger model
Increase the batch size
Reduce the batch size
Out-of-memory during fine-tuning stems from the activation and gradient tensors held per training step. Reducing the batch size shrinks those tensors proportionally, lowering peak GPU memory below the accelerator's limit so the Vertex AI job can complete without changing the model architecture.
Want more Fundamentals of Generative AI practice?
Practice this domain15% of exam · 6 sample questions below
A healthcare organization is developing a generative AI system to assist doctors with clinical decision support. They are concerned about regulatory compliance (e.g., HIPAA) and potential liability. What is the most important business strategy to mitigate these risks?
Limit the system to non-critical administrative tasks only.
Use an open-source model to avoid vendor lock-in and reduce costs.
Fully automate the system to reduce human error.
Implement a human-in-the-loop review process with clear accountability for AI-generated recommendations.
Human-in-the-loop review keeps a licensed clinician as the accountable decision-maker, so AI output informs rather than determines care. This satisfies the stem's regulatory and liability constraints: HIPAA compliance and malpractice exposure remain with the clinician, and Microsoft Entra ID can enforce role-based access to the review workflow.
A company is evaluating whether to build a custom generative AI solution from scratch or use a pre-built API from a cloud provider. Which factor most strongly supports the build-from-scratch approach?
The team has limited machine learning expertise.
Speed to market is the top priority.
Minimizing initial development cost is critical.
The solution requires deep integration with proprietary data and unique domain-specific outputs.
Building from scratch allows fine-tuning or training on proprietary datasets, giving the model access to unique domain vocabulary and logic that a generic pre-built API cannot replicate. This directly satisfies the stem's constraint of deep proprietary-data integration and unique domain-specific outputs.
A media company uses generative AI to produce personalized news summaries. They notice that summaries occasionally contain factual errors and biased language. What business strategy should they implement to address these issues while maintaining user engagement?
Disable personalization and serve generic summaries to all users.
Allow users to flag errors and manually correct summaries in real-time.
Implement a human review layer for high-risk topics and use automated fact-checking for all content, with a feedback loop for model improvement.
A human review layer catches high-risk factual and bias errors that automation misses, while automated fact-checking scales across all content. The feedback loop retrains the model, reducing recurrence without suppressing the personalisation that sustains user engagement.
Replace AI with entirely human-written summaries.
A manufacturing company wants to use generative AI to create maintenance manuals from sensor data. The manuals must be accurate and reflect the latest equipment configurations. Which approach best ensures data freshness and consistency?
Train the model in real-time as sensor data streams in.
Periodically retrain the model with the latest sensor data.
Have human technicians review and update the manuals manually.
Use a retrieval-augmented generation (RAG) system that queries a live database of sensor configurations.
RAG retrieves current sensor configurations from the live database at inference time, grounding each generated manual in up-to-date equipment state. Unlike fine-tuning, which bakes in stale weights, retrieval guarantees freshness and consistency with the latest configurations.
A company is adopting generative AI for customer support. Which TWO strategies should they implement to manage risks related to brand reputation?
Establish a human-in-the-loop escalation process for sensitive interactions.
Sensitive or ambiguous queries can produce harmful or off-brand replies, so routing them to a human before the response reaches the customer prevents reputational damage. This satisfies the brand-reputation risk constraint by keeping a person accountable for high-stakes interactions.
Publish a disclaimer that the AI may make mistakes.
Implement automated monitoring for toxic or off-brand language.
Automated monitoring continuously scans generated responses for toxic, biased or off-brand language, catching reputational risks at scale before they reach customers. This satisfies the brand-reputation constraint by enabling rapid detection and remediation rather than relying on manual review alone.
Deploy the model without any content filters to maximize helpfulness.
Disable customer support AI entirely to avoid any risk.
A global e-commerce company uses generative AI to generate product descriptions in multiple languages. They want to ensure consistency across markets while respecting cultural nuances. Which THREE strategies should they adopt?
Standardize all descriptions to a neutral tone to avoid cultural issues.
Develop region-specific prompt templates that incorporate local cultural references and legal requirements.
Region-specific prompt templates embed local cultural references and legal requirements into generation, ensuring each market's descriptions respect nuances while a shared template structure maintains cross-market consistency. This directly satisfies both the consistency and cultural-respect constraints in the stem.
Engage local marketing teams to review and approve AI-generated descriptions before publication.
Local marketing teams provide the cultural nuance that a single global prompt cannot encode, catching idioms, taboos and tone that literal translation misses. Their review-and-approval step enforces consistency across markets while adapting each description locally, directly satisfying the stem's dual requirement of uniformity and cultural sensitivity.
Use a single global model with a translation layer to convert English descriptions.
Use A/B testing to measure engagement metrics per region and iterate on prompts.
A/B testing per region supplies the empirical feedback loop the stem demands: engagement metrics reveal whether a prompt's tone or idiom lands culturally, letting the team iterate prompts rather than assume one wording suits every market. This directly satisfies the consistency-with-cultural-nuance constraint.
Want more Business Strategies for Generative AI Solutions practice?
Practice this domain35% of exam · 6 sample questions below
A healthcare company is building a chatbot to answer patient queries based on their medical documents stored in Cloud Storage. They want to minimize latency and ensure data residency in the EU. Which Vertex AI service should they use?
Vertex AI Model Garden with fine-tuning
Vertex AI Search with document grounding
Vertex AI Search with document grounding indexes the Cloud Storage documents and serves grounded answers from an EU multi-region endpoint, keeping data resident in the EU while avoiding cross-region retrieval latency. This satisfies both the data residency and latency constraints.
Vertex AI Agent Builder with web search
Vertex AI Codey APIs
A startup wants to generate product descriptions from a few keywords using a large language model. They have no prior ML experience and need the fastest time-to-market. Which Google Cloud service should they use?
Vertex AI Studio
Vertex AI Studio provides a no-code console for prompting and testing Gemini models directly, letting non-specialists generate product descriptions from keywords without building pipelines. This satisfies the startup's lack of ML experience and fastest time-to-market constraint, since no model training or infrastructure setup is required.
Vertex AI Workbench with custom training
Vertex AI Agent Builder
Vertex AI Model Garden
A retail company wants to build a customer service chatbot that can handle returns, order status, and FAQs. They need to integrate with their existing backend systems. Which Google Cloud service should they use?
Vertex AI Model Garden
Vertex AI Agent Builder
Vertex AI Agent Builder orchestrates conversational agents that call backend systems through tools and extensions, satisfying the integration constraint for returns and order status. Unlike plain generative endpoints, it manages dialogue state and grounding, letting the chatbot retrieve live order data and execute return workflows rather than only answering static FAQs.
Vertex AI Search
Vertex AI Codey API
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?
Enable response caching
Increase the temperature parameter
Use Vertex AI grounding with a knowledge base of verified entities
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.
Decrease top_p to 0.3
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?
Set the temperature to 0.0
Adjust safety settings to block medium-probability harmful content
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.
Enable context caching
Fine-tune the model on customer feedback data
A global e-commerce company wants to translate product descriptions into 50 languages with high accuracy. They need to handle domain-specific terms (e.g., 'size chart', 'return policy'). Which approach should they use?
Use the Gemini API with a prompt like 'Translate to French'
Build a custom agent with Vertex AI Agent Builder
Use Vertex AI Translation with custom glossaries
Custom glossaries let Vertex AI Translation enforce consistent rendering of domain-specific terms such as 'size chart' and 'return policy' across all 50 languages. Generic translation models may mistranslate these, so the glossary constraint is what preserves accuracy at scale.
Use Imagen to generate translated images
Want more Google Cloud's Generative AI Offerings practice?
Practice this domain20% of exam · 6 sample questions below
A team is building a generative AI model for customer support. They notice the model often produces overly polite but unhelpful responses. Which technique would best improve response quality without sacrificing helpfulness?
Apply reinforcement learning from human feedback (RLHF)
Reinforcement learning from human feedback directly optimises the model against human preference rankings, aligning outputs with helpfulness rather than politeness alone. This satisfies the stem's constraint of improving response quality without sacrificing helpfulness, since reward signals penalise unhelpful replies and reinforce substantive ones during fine-tuning.
Increase the amount of training data
Lower the top_k sampling value
Increase the temperature parameter
A generative AI model for code generation sometimes produces syntactically incorrect code. The team wants to reduce syntax errors without retraining the entire model. Which approach is most effective?
Implement constrained decoding with grammar rules
Constrained decoding masks tokens that would violate the target language's grammar at each generation step, so syntactically invalid sequences are never emitted. This directly reduces syntax errors at inference time, satisfying the stem's constraint of no retraining. Unlike fine-tuning, it requires no weight updates, only a grammar specification during decoding.
Run a syntax checker after generation and regenerate
Add a system prompt that instructs the model to produce valid code
Increase beam search width
A company uses a text-to-image model to generate marketing visuals. The outputs often contain distorted human faces. Which technique is most likely to improve face generation?
Fine-tune the model on a curated dataset of human faces
Fine-tuning adjusts the model's weights on curated face data, teaching it the specific facial structures and proportions it currently renders poorly. This directly targets the distorted-face failure mode, unlike prompt engineering or higher resolution, which cannot correct learned representation gaps.
Increase the output resolution
Increase the number of inference steps
Reduce the classifier-free guidance scale
A team is deploying a large language model for legal document summarization. They find the model occasionally omits critical legal clauses. Which improvement technique would be most effective?
Design a prompt that explicitly lists required sections
Explicitly listing the required sections in the prompt constrains the model's output structure, directing attention to mandatory clauses that free-form summarisation tends to drop. This prompt-engineering approach improves recall of critical content without retraining or architectural changes.
Increase the top_p value to 1.0
Fine-tune the model on legal summaries
Lower the temperature to 0.1
A generative AI model for chatbot responses sometimes produces toxic language. The team wants to reduce toxicity without significantly affecting the model's helpfulness. Which approach is best?
Increase the temperature parameter
Reduce the maximum output tokens
Fine-tune with a dataset of non-toxic responses and use RLHF
Supervised fine-tuning on non-toxic responses teaches safer output distributions, and RLHF then optimises the policy against a reward model balancing toxicity reduction with helpfulness. This directly targets the constraint of lowering toxicity without materially degrading response quality.
Apply a toxicity classifier as a post-processing filter
A team notices their text generation model repeats phrases excessively. Which technique would most directly reduce repetition?
Use beam search with a beam width of 5
Apply a repetition penalty of 1.2
A repetition penalty of 1.2 directly down-weights tokens already generated, lowering their probability at each subsequent step. This penalises the excessive phrase recurrence the team observed, satisfying the requirement to reduce repetition without altering the model's weights or retraining.
Increase top_k to 100
Lower temperature to 0.5
Want more Techniques to Improve Generative AI Model Output practice?
Practice this domainThe Generative AI Leader exam has 50 questions and must be completed in 90 minutes. The passing score is 700/1000.
Scenario-based questions covering exam objectives with detailed answer explanations.
The exam covers 4 domains: Fundamentals of Generative AI, Business Strategies for Generative AI Solutions, Google Cloud's Generative AI Offerings, Techniques to Improve Generative AI Model Output. Questions are weighted by domain — higher-weight domains appear more on your actual exam.
No. These are original exam-style practice questions written against the official Google Cloud Generative AI Leader exam objectives. They are not copied from the real exam. Courseiva focuses on genuine understanding, not memorisation of braindumps.
Courseiva tracks your accuracy per domain and routes you toward weak areas automatically. Free, no account required.