Skip to content
Google Cloud Certified Generative AI Leader (GAIL) Exam Prep

Lesson 6 of 8 · 13 min

x
6/8

Domain 3: Techniques to Improve Gen AI Model Output (Part 1 of 2)

This lesson covers 4 exam topics: Foundation Model Limitations, Overcoming Model Limitations, Monitoring and Evaluating Gen AI, Prompt Engineering Techniques. Each topic has a short video, then the notes: key facts, exam traps and what to check in the official docs.

1. Foundation Model Limitations

Video lesson: GAIL 22/32: Foundation Model Limitations

Central question: Where do foundation models fall short?

Facts (exam guide list with general background)

LimitationWhat it looks like
Data dependencyOutput quality depends on training and supplied data
Knowledge cutoffNo knowledge of events after training
Bias and fairnessSkewed or unequal outputs learned from data
HallucinationsConfident, plausible but false content
Edge casesUnusual inputs the model handles badly
  • Hallucination is content that isn't factual; grounding reduces hallucinations by tethering output to verifiable sources and adds auditability with links to sources (Grounding overview).
  • Models are probabilistic: the same prompt can give different answers, so test and monitor.

Exam traps

  • Grounding eliminates all hallucinations. It reduces them.
  • Fine-tuning fixes the knowledge cutoff for fast-changing facts. Use grounding or RAG for fresh facts.

2. Overcoming Model Limitations

Video lesson: GAIL 23/32: Overcoming Model Limitations

Central question: Which technique fixes which limitation?

Facts

TechniqueUse it for
Prompt engineeringBetter instructions, format, examples; fastest and cheapest
Grounding / RAGFresh, private or verifiable facts; citations
Fine-tuningConsistent style, format or domain behavior learned from many examples
Human in the loop (HITL)High-stakes decisions, review of uncertain or sensitive outputs
  • Order of effort: start with prompt engineering, add grounding or RAG for knowledge, consider tuning only when prompts and grounding can't reach the quality target.
  • Supervised fine-tuning of Gemini on Agent Platform uses labeled prompt-response examples to adapt the model to a task (Gemini supervised tuning docs).

Exam traps

  • Fine-tuning to teach new product prices. Use RAG.
  • Removing humans from high-impact decisions such as loan denials.

3. Monitoring and Evaluating Gen AI

Video lesson: GAIL 24/32: Monitoring and Evaluating Gen AI

Central question: How do you keep a gen AI solution good after launch?

Facts

  • Exam guide practices: automatic model upgrades, key performance indicators, security patches and updates, versioning, performance tracking, drift monitoring and Agent Platform Feature Store.
  • The Gen AI evaluation service assesses models for migrations, prompt edits and tuning; methods: adaptive rubrics (recommended, per-prompt pass or fail tests), static rubrics, computation-based metrics (ROUGE, BLEU) and custom functions (evaluation overview).
  • Models are versioned and retired on schedules (for example Imagen 4 API models shut down August 17, 2026), so pin versions, track deprecations and re-evaluate before switching.

Exam traps

  • Evaluate once, then never again. Data and models drift; monitor continuously.
  • Switching to a new model version without re-running evaluations.

4. Prompt Engineering Techniques

Video lesson: GAIL 25/32: Prompt Engineering Techniques

Central question: Which prompting technique fits the task?

Facts

TechniqueDescriptionUse when
Zero-shotInstruction only, no examplesSimple, common tasks
One-shotOne exampleShow the format once
Few-shotSeveral examplesConsistent format, tone or labels
Role promptingTell the model who it is ("You are a claims analyst")Set expertise, tone, audience
Prompt chainingSplit a task into steps; each output feeds the next promptComplex, multi-step work
  • Prompt engineering designs inputs to get better outputs from an LLM without changing the model; it's the first lever to pull.
  • Clear instructions, context, constraints, output format and examples improve results.

Exam traps

  • Few-shot with inconsistent examples. The model copies the inconsistency.
  • One giant prompt for a multi-stage process. Chain prompts.

References

  1. GAIL exam guide — checked Oct 26, 2026
  2. Grounding overview — checked Oct 26, 2026
  3. Gemini supervised tuning — checked Oct 26, 2026
  4. Gen AI evaluation service overview — checked Oct 26, 2026

Check your understanding

  • Model doesn't know last week's price change?Show answer

    Answer

    Knowledge cutoff.
  • Answers must cite the internal policy?Show answer

    Answer

    Grounding / RAG.
  • Test whether a new model is better for your prompts?Show answer

    Answer

    Gen AI evaluation service.
  • Classify tickets with a fixed label set and sample answers?Show answer

    Answer

    Few-shot.
  • Confident, invented citation?Show answer

    Answer

    Hallucination.
Previous

Progress is saved in this browser.

Next Lesson