Testing with Generative AI study guide
Fine-Tuning vs Prompt Engineering
Fine-tuning permanently alters an LLM's internal weights by training it on a new dataset to change its fundamental behavior or tone. Prompt Engineering temporarily guides the model's behavior at runtime without changing its underlying architecture.
Practical example
Prompt Engineering: Cheap, fast, no infrastructure needed. Best for giving instructions or adding context. Fine-Tuning: Expensive, requires ML engineers and clean datasets. Best for teaching the model a completely new language, a strict new tone of voice, or highly specialized syntax (like a proprietary coding language).
Exam scenario and common trap
Scenario: A company wants the LLM to know about a product released yesterday. The Trap: "Fine-tune the model on the new product manual." The Correct Answer: Use RAG or Prompt Engineering. Fine-tuning is meant for changing behavior and tone, not for injecting daily factual knowledge.
Related syllabus sections cover this topic. Reference sections: 2.1, 4.2.1. See the official ISTQB syllabus for exam scope. Examples are independent; QA-ace is not affiliated with ISTQB.