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
Central question: Where do foundation models fall short?
Facts (exam guide list with general background)
| Limitation | What it looks like |
|---|---|
| Data dependency | Output quality depends on training and supplied data |
| Knowledge cutoff | No knowledge of events after training |
| Bias and fairness | Skewed or unequal outputs learned from data |
| Hallucinations | Confident, plausible but false content |
| Edge cases | Unusual 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
Central question: Which technique fixes which limitation?
Facts
| Technique | Use it for |
|---|---|
| Prompt engineering | Better instructions, format, examples; fastest and cheapest |
| Grounding / RAG | Fresh, private or verifiable facts; citations |
| Fine-tuning | Consistent 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
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
Central question: Which prompting technique fits the task?
Facts
| Technique | Description | Use when |
|---|---|---|
| Zero-shot | Instruction only, no examples | Simple, common tasks |
| One-shot | One example | Show the format once |
| Few-shot | Several examples | Consistent format, tone or labels |
| Role prompting | Tell the model who it is ("You are a claims analyst") | Set expertise, tone, audience |
| Prompt chaining | Split a task into steps; each output feeds the next prompt | Complex, 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
- GAIL exam guide — checked Oct 26, 2026
- Grounding overview — checked Oct 26, 2026
- Gemini supervised tuning — checked Oct 26, 2026
- Gen AI evaluation service overview — checked Oct 26, 2026
Check your understanding
Model doesn't know last week's price change?Show answerHide answer
Answer
Knowledge cutoff.Answers must cite the internal policy?Show answerHide answer
Answer
Grounding / RAG.Test whether a new model is better for your prompts?Show answerHide answer
Answer
Gen AI evaluation service.Classify tickets with a fixed label set and sample answers?Show answerHide answer
Answer
Few-shot.Confident, invented citation?Show answerHide answer
Answer
Hallucination.