Generative AI Leader Practice Question: Techniques to Improve Generative AI Model Output
A company is using a large language model for automated translation of legal contracts. They find that the translations sometimes alter the meaning of specific clauses. Which TWO approaches would most effectively preserve the original meaning? (Choose two.)
⚠ Common exam trap
A common misconception is that prompt engineering alone (Option A) or parameter tweaks like top-p and temperature (Options B and E) can substitute for domain-specific fine-tuning or explicit glossary control, when in fact these methods do not address the root cause of semantic drift in specialized translations.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Fine-tune the model on a parallel corpus of legal translations.
Fine-tuning on a parallel corpus of legal translations adapts the model's weights to the specific legal domain, improving fidelity for legal terminology and clause structures by learning from ground-truth translations. In addition, providing a glossary of key legal terms with their approved translations constrains the model to use consistent, correct terminology, reducing meaning-altering substitutions. Together, these two approaches most effectively preserve the original meaning. Prompt engineering alone (Option A) and parameter tweaks such as top-p or higher temperature (Options B and E) do not address the root cause of semantic drift.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Provide the full contract context in a single prompt.
Why it's wrong here
Contract length often exceeds context window, leading to truncation.
- ✗
Set top-p=0.1 to limit the vocabulary to the most likely tokens.
Why it's wrong here
Low top-p restricts vocabulary but does not preserve clause meaning.
- ✓
Fine-tune the model on a parallel corpus of legal translations.
Why this is correct
Fine-tuning on domain-specific translations improves accuracy.
- ✓
Use a glossary of key legal terms with their translations.
Why this is correct
A glossary ensures consistent and correct translation of specialized terms.
- ✗
Increase the temperature to allow more creative phrasing.
Why it's wrong here
Higher temperature increases randomness, risking alteration of meaning.
Go deeper
Related to this question
About these practice questions
Courseiva writes every Generative AI Leader question from scratch — 1,008 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This Generative AI Leader practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the Generative AI Leader exam.