Fine-tuning vs Prompting Questions with Answers

6 practice questions on Fine-tuning vs Prompting (Generative AI & LLMs) with answers and step-by-step solutions. Try 6 samples below, then practise all 6 free in the AptiNest app.

Sample questions

Question 1Easy

What does fine-tuning a pre-trained model involve?

  1. Writing a longer prompt that contains many examples of the task to be performed
  2. Changing only the sampling temperature
  3. Further training its weights on a smaller, task-specific dataset
  4. 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

  1. Start from a model that is already pre-trained.
  2. Continue training its weights on a smaller dataset for your task or domain.
  3. 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?

  1. When you need consistent specialised behaviour that prompts cannot achieve
  2. When you need to try out new ideas within minutes, without any setup
  3. When the knowledge it must use changes daily
  4. 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

  1. Prompting is fast and cheap, so try it first.
  2. If you need consistent specialised behaviour (format, tone, domain skill) that prompts cannot deliver reliably, fine-tune.
  3. 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?

  1. Fine-tuning the model again every week
  2. Raising the temperature
  3. RAG over the current documentation
  4. 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

  1. The knowledge changes weekly.
  2. With RAG, updating the document index updates answers immediately.
  3. 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?

  1. The model can no longer be tokenized
  2. It automatically removes all biases from the model
  3. Catastrophic forgetting of general capabilities
  4. 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

  1. Training hard on a narrow dataset pushes weights towards that task.
  2. Skills learned in pre-training can be overwritten.
  3. 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. 1,000,000
  2. 8,000
  3. 64,000
  4. 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

  1. B is 1000 x 8 = 8,000 parameters.
  2. A is 8 x 1000 = 8,000 parameters.
  3. 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)?

  1. A loss function for classification
  2. A method that extends the context window by compressing older tokens into summaries
  3. A tokenizer for low-resource languages
  4. 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

  1. Freeze the original weight matrix W.
  2. Add a low-rank update B x A, where B and A are small matrices.
  3. 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 →

Related topics

See all Generative AI & LLMs topics · All topics