Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

HomeCertificationsGenerative AI LeaderExam Questions

Google Cloud · Free Practice Questions · Last reviewed May 2026

Generative AI Leader Exam Questions and Answers

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.

50 exam questions
90 min time limit
Pass: 700/1000 / 1000
4 exam domains
OverviewDomain BlueprintStudy GuideAll QuestionsSample by Domain
1. Fundamentals of Generative AI2. Business Strategies for Generative AI Solutions3. Google Cloud's Generative AI Offerings4. Techniques to Improve Generative AI Model Output
1

Domain 1: Fundamentals of Generative AI

All Fundamentals of Generative AI questions
Q1
easyFull explanation →

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?

A

Enable Vertex AI Grounding with a custom enterprise data store containing the documentation.

Grounding ties responses to specific documents, reducing hallucinations.

B

Use the Codey API for text generation.

C

Use the base model without any grounding to maximize flexibility.

D

Fine-tune the model on the documentation and deploy.

Why: Vertex AI Grounding with a custom enterprise data store is the correct approach because it allows the chatbot to retrieve and cite specific chunks from the product documentation in real time, directly reducing hallucinations by constraining responses to verified content. This method uses the underlying grounding service to query a vector-based data store (powered by Vertex AI Search) and append source references to the model's output, ensuring factual accuracy without retraining.
Q2
mediumFull explanation →

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

A

The max_output_tokens is too low; increase it to allow more diverse output.

B

The top_p value is too high; reduce top_p to limit token sampling.

Reducing top_p narrows the token pool, reducing repetition.

C

The model is overfitted; switch to a smaller model.

D

The temperature is too low; increase temperature to add randomness.

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

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

A

Vertex AI Grounding with their compliance database.

B

Prompt engineering with instructions to avoid guarantees.

C

Safety filters with a custom blocklist that includes phrases like 'guaranteed return'.

Safety filters can block defined categories or custom phrases.

D

Reinforcement learning from human feedback (RLHF) on the model.

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

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

A

Decrease the temperature parameter.

Lower temperature reduces randomness, making output more factual.

B

Increase the max_output_tokens parameter.

C

Increase the top_p parameter.

D

Add a post-processing step to verify facts using a database.

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

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

A

Increase the number of training epochs.

B

Reduce the model size or add dropout regularization.

Regularization techniques combat overfitting.

C

Increase the learning rate.

D

Switch to a smaller batch size.

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

A developer wants to generate product descriptions from a list of features using Vertex AI. Which model type is best suited for this task?

A

An embedding model (e.g., textembedding-gecko@001).

B

A chat model (e.g., chat-bison@001).

C

A text generation model (e.g., text-bison@001).

Text generation models are ideal for generative tasks from prompts.

D

A code generation model (e.g., code-bison@001).

Why: Option C is correct because text-bison@001 is a dedicated text generation model optimized for tasks like summarization, translation, and content creation from structured inputs. It can take a list of features as a prompt and generate coherent, descriptive product descriptions without needing conversational context or code-specific outputs.

Want more Fundamentals of Generative AI practice?

Practice this domain
2

Domain 2: Business Strategies for Generative AI Solutions

All Business Strategies for Generative AI Solutions questions
Q1
easyFull explanation →

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

A

Ground the model with proprietary product data and brand guidelines in a retrieval-augmented generation (RAG) architecture.

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

B

Use a generic pre-trained model without customization to reduce development time.

C

Deploy a large language model with a feedback loop to iteratively improve responses.

D

Train the model on public customer reviews to capture common preferences.

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

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?

A

Limit the system to non-critical administrative tasks only.

B

Use an open-source model to avoid vendor lock-in and reduce costs.

C

Fully automate the system to reduce human error.

D

Implement a human-in-the-loop review process with clear accountability for AI-generated recommendations.

Human oversight ensures compliance and provides a clear chain of responsibility.

Why: Option B is correct because human oversight and clear accountability are essential for high-stakes decisions. Option A is wrong because automation without oversight increases liability. Option C is wrong because open-source models may not comply with privacy requirements. Option D is wrong because limiting scope reduces utility but does not address accountability.
Q3
hardFull explanation →

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

A

Build a centralized model in a cloud region with the most stringent regulations and apply it globally.

B

Use a single global model with a unified compliance layer applied post-generation.

C

Deploy separate, jurisdiction-specific models with tailored guardrails and audit trails for each region.

This ensures compliance with local regulations and provides auditable logs.

D

Rely on a third-party API with built-in compliance for all regions.

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

A startup is building a generative AI content creation tool. They want to minimize operational costs while maintaining low latency for end users. Which deployment strategy should they adopt?

A

Deploy the model on edge devices to reduce cloud dependency.

B

Build an on-premises infrastructure to avoid cloud egress fees.

C

Use a serverless inference endpoint that scales to zero when not in use.

Serverless aligns cost with usage and auto-scales to meet demand.

D

Provision dedicated GPU instances for consistent performance.

Why: Option C is correct because serverless inference endpoints, such as AWS Lambda with SageMaker or Google Cloud Run, automatically scale to zero when idle, eliminating costs during periods of no traffic. This directly addresses the startup's goal of minimizing operational costs while maintaining low latency through rapid cold-start optimizations and provisioned concurrency for burst handling.
Q5
easyFull explanation →

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?

A

The team has limited machine learning expertise.

B

Speed to market is the top priority.

C

Minimizing initial development cost is critical.

D

The solution requires deep integration with proprietary data and unique domain-specific outputs.

Custom models can be fine-tuned on proprietary data for unique needs.

Why: Building a custom generative AI solution from scratch is most strongly supported when deep integration with proprietary data and unique domain-specific outputs is required. Pre-built APIs are typically trained on general data and may not capture the nuances of specialized domains, whereas a custom model can be fine-tuned or trained from scratch on proprietary datasets to achieve higher accuracy and relevance for unique business needs.
Q6
hardFull explanation →

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?

A

Disable personalization and serve generic summaries to all users.

B

Allow users to flag errors and manually correct summaries in real-time.

C

Implement a human review layer for high-risk topics and use automated fact-checking for all content, with a feedback loop for model improvement.

This ensures accuracy and allows continuous improvement.

D

Replace AI with entirely human-written summaries.

Why: Option C is correct because it balances accuracy and engagement by combining automated fact-checking with human review for high-risk topics. This hybrid approach reduces factual errors and biased language while maintaining the personalization that drives user engagement. The feedback loop continuously improves the model, addressing root causes rather than just symptoms.

Want more Business Strategies for Generative AI Solutions practice?

Practice this domain
3

Domain 3: Google Cloud's Generative AI Offerings

All Google Cloud's Generative AI Offerings questions
Q1
mediumFull explanation →

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

A

Vertex AI Model Garden with fine-tuning

B

Vertex AI Search with document grounding

Supports private document indexing and data residency controls.

C

Vertex AI Agent Builder with web search

D

Vertex AI Codey APIs

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

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

A

Vertex AI Studio

No-code prompt engineering and testing.

B

Vertex AI Workbench with custom training

C

Vertex AI Agent Builder

D

Vertex AI Model Garden

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

A financial services firm uses a fine-tuned Gemini model in Vertex AI for regulatory compliance checks. They notice that token usage is high, increasing costs. They want to reduce costs without sacrificing accuracy. Which approach should they take?

A

Switch to a smaller base model like PaLM 2 Bison

B

Enable context caching to reuse previous responses

C

Set max output tokens to a lower value and use more precise prompts

Directly reduces output tokens; precise prompts maintain accuracy.

D

Reduce temperature to 0.0

Why: Option C is correct because reducing max output tokens directly lowers the number of tokens generated per request, which is the primary cost driver in pay-per-token models like Gemini. Using more precise prompts further reduces token waste by guiding the model to produce concise, relevant outputs without sacrificing accuracy, as compliance checks often require specific, structured responses rather than verbose explanations.
Q4
easyFull explanation →

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?

A

Vertex AI Model Garden

B

Vertex AI Agent Builder

Provides tools for building chatbots with backend integration.

C

Vertex AI Search

D

Vertex AI Codey API

Why: Vertex AI Agent Builder is the correct choice because it provides a low-code platform specifically designed for building conversational AI agents (chatbots) that can be integrated with enterprise backend systems via APIs, connectors, and custom tools. It supports grounding in enterprise data, multi-turn dialogue management, and seamless integration with existing systems for handling returns, order status, and FAQs, making it the most suitable service for this use case.
Q5
mediumFull explanation →

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

Grounding supplies factual context to the model.

D

Decrease top_p to 0.3

Why: Option C is correct because 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.
Q6
hardFull explanation →

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

Stricter thresholds block more offensive outputs.

C

Enable context caching

D

Fine-tune the model on customer feedback data

Why: Option B is correct because 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.

Want more Google Cloud's Generative AI Offerings practice?

Practice this domain
4

Domain 4: Techniques to Improve Generative AI Model Output

All Techniques to Improve Generative AI Model Output questions
Q1
mediumFull explanation →

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?

A

Apply reinforcement learning from human feedback (RLHF)

RLHF tunes the model to align with desired response characteristics.

B

Increase the amount of training data

C

Lower the top_k sampling value

D

Increase the temperature parameter

Why: RLHF directly addresses the misalignment between the model's training objective (e.g., predicting the next token) and the desired outcome (helpful, not just polite). By using human feedback to train a reward model, the system learns to optimize for response quality and helpfulness, reducing sycophantic or overly polite but uninformative outputs.
Q2
hardFull explanation →

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

A

Implement constrained decoding with grammar rules

Constrained decoding ensures output respects syntax rules.

B

Run a syntax checker after generation and regenerate

C

Add a system prompt that instructs the model to produce valid code

D

Increase beam search width

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

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?

A

Fine-tune the model on a curated dataset of human faces

Fine-tuning specializes the model for better face generation.

B

Increase the output resolution

C

Increase the number of inference steps

D

Reduce the classifier-free guidance scale

Why: Fine-tuning the model on a high-quality dataset of human faces directly addresses the distortion issue. Option B is wrong because increasing inference steps may improve image quality but not specifically faces. Option C is wrong because reducing CFG scale reduces adherence to the prompt, not face quality. Option D is wrong because increasing image size might not fix distortion.
Q4
mediumFull explanation →

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?

A

Design a prompt that explicitly lists required sections

A structured prompt with requirements improves completeness.

B

Increase the top_p value to 1.0

C

Fine-tune the model on legal summaries

D

Lower the temperature to 0.1

Why: Using prompt engineering with explicit instructions to include all clauses and possibly a checklist directly addresses omissions. Option A is wrong because fine-tuning would require labeled data of summaries with clauses. Option B is wrong because temperature reduction might make output less creative but doesn't enforce completeness. Option D is wrong because it adds randomness, making omissions more likely.
Q5
hardFull explanation →

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?

A

Increase the temperature parameter

B

Reduce the maximum output tokens

C

Fine-tune with a dataset of non-toxic responses and use RLHF

Fine-tuning combined with RLHF aligns model behavior effectively.

D

Apply a toxicity classifier as a post-processing filter

Why: Fine-tuning with a curated dataset of non-toxic responses directly adjusts the model's weights to reduce the likelihood of generating toxic language, while RLHF (Reinforcement Learning from Human Feedback) further aligns the model with human preferences for helpfulness and safety. This combined approach addresses the root cause of toxicity in the model's behavior without the blunt trade-offs of other methods, preserving the model's utility.
Q6
easyFull explanation →

A team notices their text generation model repeats phrases excessively. Which technique would most directly reduce repetition?

A

Use beam search with a beam width of 5

B

Apply a repetition penalty of 1.2

Repetition penalty directly discourages repeated tokens.

C

Increase top_k to 100

D

Lower temperature to 0.5

Why: Using a repetition penalty during decoding discourages the model from repeating tokens. Option A is wrong because it increases randomness, which might reduce repetition but could also reduce coherence. Option B is wrong because beam search can increase repetition. Option D is wrong because temperature reduction makes output more deterministic, potentially increasing repetition.

Want more Techniques to Improve Generative AI Model Output practice?

Practice this domain

Frequently asked questions

How many questions are on the Generative AI Leader exam?

The Generative AI Leader exam has 50 questions and must be completed in 90 minutes. The passing score is 700/1000.

What types of questions appear on the Generative AI Leader exam?

Scenario-based questions covering exam objectives with detailed answer explanations.

How are Generative AI Leader questions organised by domain?

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.

Are these the actual Generative AI Leader exam questions?

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.

Ready to practice all 50 Generative AI Leader questions?

Courseiva tracks your accuracy per domain and routes you toward weak areas automatically. Free, no account required.

Browse all Generative AI Leader questionsTake a timed practice test