Sample questions
Question 1Easy
What does fine-tuning a pre-trained model involve?
- Writing a longer prompt that contains many examples of the task to be performed
- Changing only the sampling temperature
- Further training its weights on a smaller, task-specific dataset
- Training a brand-new model from scratch on the full dataset
Answer: C. Further training its weights on a smaller, task-specific dataset
Explanation
Fine-tuning adapts existing knowledge to a domain, style or task, starting from pre-trained weights.
Step-by-step solution
- Start from a model that is already pre-trained.
- Continue training its weights on a smaller dataset for your task or domain.
- The model keeps general skills and adapts to the new data.
Why the other options are wrong
- A. Putting examples in the prompt is few-shot prompting; no weights change.
- B. Temperature is a sampling setting, not training.
- D. Training from scratch is pre-training, far more costly.
Tip: Fine-tuning changes weights; prompting and RAG change inputs.
Question 2Medium
When is fine-tuning usually a better choice than prompt engineering alone?
- When you need consistent specialised behaviour that prompts cannot achieve
- When you need to try out new ideas within minutes, without any setup
- When the knowledge it must use changes daily
- When you have no training data at all and need results without collecting any
Answer: A. When you need consistent specialised behaviour that prompts cannot achieve
Explanation
- Start with prompting (fast, cheap);
- move to fine-tuning when you have quality examples and need consistent format, tone or task skill.
Step-by-step solution
- Prompting is fast and cheap, so try it first.
- If you need consistent specialised behaviour (format, tone, domain skill) that prompts cannot deliver reliably, fine-tune.
- Fine-tuning needs quality examples and time.
Why the other options are wrong
- B. Quick experiments favour prompting, which needs no training run.
- C. Knowledge that changes daily suits RAG, not fine-tuning.
- D. Fine-tuning requires training data.
Tip: Order to try: prompt, then RAG, then fine-tune.
Question 3Medium
A company's product documentation changes every week and the chatbot must always reflect the current version. What approach fits best?
- Fine-tuning the model again every week
- Raising the temperature
- RAG over the current documentation
- Pre-training a new model from scratch
Answer: C. RAG over the current documentation
Explanation
Retrieval picks up changes as soon as the index is updated. Fine-tuning bakes knowledge into weights, which is slow to update and poor for frequently changing facts.
Step-by-step solution
- The knowledge changes weekly.
- With RAG, updating the document index updates answers immediately.
- Fine-tuning or pre-training would need repeated, costly retraining.
Why the other options are wrong
- A. Weekly fine-tuning is slow and costly, and weights still go stale between runs.
- B. Temperature does not add new knowledge.
- D. Pre-training from scratch is vastly more expensive and still goes stale.
Tip: Changing facts: RAG. Changing behaviour or style: fine-tuning.
Question 4Medium
What is a risk of fine-tuning a model heavily on a narrow dataset?
- The model can no longer be tokenized
- It automatically removes all biases from the model
- Catastrophic forgetting of general capabilities
- The context window shrinks to zero tokens
Answer: C. Catastrophic forgetting of general capabilities
Explanation
Over-training on narrow data can degrade abilities learned during pre-training; mixing in general data or using parameter-efficient methods helps.
Step-by-step solution
- Training hard on a narrow dataset pushes weights towards that task.
- Skills learned in pre-training can be overwritten.
- This loss of general ability is called catastrophic forgetting.
Why the other options are wrong
- A. Tokenization is unaffected by fine-tuning.
- B. Fine-tuning can add biases from the narrow data; it does not remove them all.
- D. The context window is an architectural limit, not changed by training data.
Tip: Narrow, heavy fine-tuning risks forgetting.
Question 5Hard
A weight matrix is 1000 x 1000. LoRA with rank 8 adds matrices B (1000 x 8) and A (8 x 1000). How many trainable parameters does this add, compared with 1,000,000 for full fine-tuning of the matrix?
- 1,000,000
- 8,000
- 64,000
- 16,000
Answer: D. 16,000
Explanation
B has 1000 x 8 = 8,000 and A has 8 x 1000 = 8,000 parameters: 16,000 in total, 1.6% of the full matrix.
Step-by-step solution
- B is 1000 x 8 = 8,000 parameters.
- A is 8 x 1000 = 8,000 parameters.
- Total = 16,000, which is 1.6% of 1,000,000.
Why the other options are wrong
- A. That is full fine-tuning of the matrix, not LoRA.
- B. Counts only one of the two matrices.
- C. 64,000 does not match either matrix size.
Tip: LoRA parameters = r x (rows + columns).
Question 6Hard
What is LoRA (Low-Rank Adaptation)?
- A loss function for classification
- A method that extends the context window by compressing older tokens into summaries
- A tokenizer for low-resource languages
- A fine-tuning method that trains small low-rank matrices added to frozen weights
Answer: D. A fine-tuning method that trains small low-rank matrices added to frozen weights
Explanation
Updating W as W + BA with small rank-r matrices B and A trains a tiny fraction of parameters and allows cheap swappable adapters.
Step-by-step solution
- Freeze the original weight matrix W.
- Add a low-rank update B x A, where B and A are small matrices.
- Train only B and A; the effective weight is W + BA.
Why the other options are wrong
- A. LoRA is a fine-tuning method, not a loss function.
- B. Compressing older tokens is a context-management trick, not LoRA.
- C. LoRA is unrelated to tokenizers.
Tip: LoRA: freeze the big matrix, train two thin ones.
Practise all 6 questions free
The full question bank with timed practice, progress tracking and Vidya, your AI tutor. Free, no ads.
Open this topic in the app →