Gen AI Leader: improving model output

Updated November 23, 2026

Section 3 of the Generative AI Leader exam, Techniques to improve gen AI model output, is about 20% of the exam. It asks which technique solves which problem: models are wrong, outdated, biased or unfocused, and you choose the right remedy. Learn the problem-to-fix pairs and you will handle most questions.

3.1 Overcoming foundation model limitations

Limitations named in the guide: data dependency, knowledge cutoff, bias, fairness, hallucinations and edge cases. Google-recommended practices to address them:

ProblemTypical remedy
Outdated or missing knowledgeGrounding, RAG
HallucinationsGrounding, RAG, prompt engineering, human review
Narrow task or stylePrompt engineering, then fine-tuning
Bias and unfair outputsBetter data, evaluation, human in the loop
Quality drifting over timeContinuous monitoring and evaluation

Monitoring includes automatic model upgrades, key performance indicators, security patches and updates, versioning, performance tracking and drift monitoring.

3.2 Prompt engineering

Prompt engineering means designing inputs to get better results from LLMs. Techniques in the guide:

  • Zero-shot, one-shot and few-shot: no example, one example or several examples in the prompt.
  • Role prompting: tell the model what role to play.
  • Prompt chaining: split a task into connected prompts.
  • Chain-of-thought: ask for step-by-step reasoning.
  • ReAct: combine reasoning with actions such as tool use.

Choose few-shot when the format is hard to describe, chain-of-thought for multi-step logic and ReAct when the model must use tools.

3.3 Grounding and sampling

Grounding ties answers to a trusted source. The guide separates grounding with first-party enterprise data, third-party data and world data. Google Cloud grounding offerings are prebuilt RAG with Agent Search, RAG APIs and grounding with Google Search. RAG retrieves relevant content and supplies it to the model with the question, so answers reflect current facts without retraining.

Sampling parameters control behavior:

SettingEffect
TemperatureHigher is more varied; lower is more predictable
Top-p (nucleus sampling)Limits choices to the most probable set of tokens
Token count and output lengthLimits size of input and response
Safety settingsFilter harmful content

Choosing between techniques

  1. Need current or private facts: RAG or grounding.
  2. Need a different format or tone quickly: prompt engineering.
  3. Need consistent specialized behavior across many calls: fine-tuning.
  4. High-stakes decision: add a human in the loop.

Prompting is cheapest and fastest, RAG adds current knowledge, and fine-tuning is heavier. Exam answers often favor the lightest technique that meets the need.

Three practice questions

Question 1. A model answers questions about a policy that was updated last week, but cites the old version. Which approach best fixes this without retraining?

  • A. Lower the temperature
  • B. Switch to a larger model
  • C. Use retrieval-augmented generation with the current policy documents
  • D. Train a new model from scratch
Show answer

Answer: C

RAG supplies the current policy text at question time, so the answer reflects the update. Lower temperature affects variety, a larger model has the same knowledge cutoff problem, and training from scratch is far too heavy for the need.

Want more questions like this? Full Generative AI Leader practice tests →

Question 2. A team gives the model three example question-and-answer pairs in the prompt to show the exact output style they want. Which technique is this?

  • A. Zero-shot prompting
  • B. Few-shot prompting
  • C. Chain-of-thought prompting
  • D. Prompt chaining
Show answer

Answer: B

Providing several examples in the prompt is few-shot prompting. Zero-shot gives none, chain-of-thought asks for reasoning steps, and prompt chaining links several prompts in sequence.

Want more questions like this? Full Generative AI Leader practice tests →

Question 3. A creative-writing app produces repetitive, predictable text. Which setting change is most likely to increase variety?

  • A. Increase the temperature
  • B. Decrease the temperature
  • C. Reduce the output length
  • D. Tighten the safety settings
Show answer

Answer: A

Raising temperature makes token selection less deterministic, which increases variety. Lowering it makes output more predictable, a smaller output length shortens answers but does not diversify them, and stricter safety settings filter content rather than add variety.

Want more questions like this? Full Generative AI Leader practice tests →

Next

Section 4 covers adoption, security and responsibility: business strategies. The study plan shows where this fits in week 3.