Fine-tuning (and when not to) interview questions
SFT, LoRA, preference tuning, and the cheaper alternatives. Ten practice questions with answers, for AI Engineer interviews.
Supervised fine-tuning (SFT)
Show answer
Training a pretrained model further on example input→ideal output pairs so it imitates them.
The most common kind of fine-tuning.
Which is usually the best FIRST approach to make a model follow your output style?
- Better prompting with examples
- Fine-tuning
- Training from scratch
- Switching to a smaller model
Show answer
Better prompting with examples
Prompting is cheaper, faster to iterate, and often enough.
List three good reasons to fine-tune instead of only prompting.
Show answer
You need consistent behaviour or format that prompting can't reliably achieve; you want to cut cost or latency by using a smaller fine-tuned model or shorter prompts at high volume; or you have a specialised task with lots of quality examples where a tuned model clearly beats prompting on your eval.
Fine-tuning should be justified by measured gains.
Distillation
Show answer
Training a smaller 'student' model on outputs from a larger 'teacher' model to get similar task performance at lower cost.
A common reason companies fine-tune small models.
Preference tuning (e.g. DPO)
Show answer
Training a model using pairs of preferred vs rejected responses so it learns which outputs people prefer.
Shapes quality and style beyond imitation.
Fine-tuning is generally a poor way to…
- Add frequently changing factual knowledge
- Teach a consistent format or tone
- Reduce prompt length for a narrow task
- Specialise a small model on one task
Show answer
Add frequently changing factual knowledge
Facts baked into weights go stale and can be hallucinated; use retrieval instead.
What does LoRA do?
- Trains small low-rank adapter matrices instead of all weights
- Removes layers from a model
- Increases the context window
- Quantises the model to 4 bits
Show answer
Trains small low-rank adapter matrices instead of all weights
Parameter-efficient fine-tuning: cheaper to train and store.
What do you need before starting a fine-tuning project?
Show answer
A clear task definition and an eval set with a prompting baseline to beat; enough high-quality, diverse, representative training examples (cleaned and deduplicated, with no eval leakage); a budget and plan for training and hosting; and a process to retrain as data or requirements change.
Data quality matters more than quantity.
A stakeholder wants to fine-tune a model on your company wiki so it 'knows' everything. How do you respond?
Show answer
Explain that fine-tuning is unreliable for injecting facts: it can't cite sources, goes stale as the wiki changes, may hallucinate mixed-up facts, and is expensive to update. Recommend RAG over the wiki (with citations and access controls) and, if needed, fine-tuning only for style or format. Propose a quick prototype and eval to compare.
A classic interview scenario testing judgment.
After fine-tuning, the model is great at your task but worse at general instructions. What's this called?
- Catastrophic forgetting
- Overprompting
- Mode collapse in the tokenizer
- Context rot
Show answer
Catastrophic forgetting
Mitigate with mixed training data, smaller learning rates, or adapters.
Practise these with spaced repetition and AI grading, then try a mock interview.
Start Learning Free