Module quiz

Evaluation and model adaptation quiz

35 questions across 4 lessons. Choose an answer, check it, and read why each option is right or wrong.

Checking answers needs JavaScript. You can still read every question and option below.

0 of 35 answered

Keyboard: arrow keys move between options. Space or Enter selects the focused option.

Evaluating LLM systems11 questions

ObjectiveDesign a layered evaluation (deterministic checks, reference metrics, model judge, human review, online signals) for an LLM feature and say what each layer catches.

  1. Question 1 of 35A feature must return valid JSON with three required fields. Which layer of the evaluation pyramid should check this on every commit?

    Choose one answer.

  2. Question 2 of 35A team writes a helpfulness score and a similarity score for a new assistant before reading any failures. Scores rise for weeks, yet complaints continue. What most likely went wrong?

    Choose one answer.

  3. Question 11 of 35A team builds its regression set from 80 chats that users rated thumbs-up, and a new prompt scores 100% on it. Why is that weak evidence, and what should change?

    Choose one answer.

ObjectiveValidate an LLM judge against human labels using agreement beyond chance (Cohen's kappa), and name its known biases and mitigations.

  1. Question 3 of 35A judge and a human label 100 outputs pass or fail. They agree on 80, and chance agreement is 0.50. What is Cohen's kappa?

    Choose one answer.

  2. Question 4 of 35In pairwise testing, your judge picks the answer shown first in 70% of comparisons, whichever answer that is. Which fix addresses this?

    Choose one answer.

  3. Question 5 of 35A judge agrees with humans on 90% of items, but 95% of the labelled items are passes. What is the sensible next step?

    Choose one answer.

ObjectiveDecide whether a small score difference justifies shipping, using sample size, confidence intervals, slices and a held-out release set.

  1. Question 6 of 35A prompt change scores +3 points over the old prompt on a 100-case set with a pass rate near 0.8. A single score here has an approximate 95% interval of about 8 points either way. What is the right call?

    Choose one answer.

  2. Question 7 of 35After many rounds of prompt edits guided by the held-out set, its score is the highest ever, yet production quality is flat. What does this show?

    Choose one answer.

  3. Question 8 of 35After a prompt change, a 10-case slice for one customer drops from 8 passes to 6, while every other slice is flat. What is the most reasonable reading?

    Choose one answer.

ObjectiveExplain why public benchmarks shortlist models while a product eval makes the decision, citing contamination, saturation and domain mismatch.

  1. Question 9 of 35A public benchmark ranks model A above model B. Your 400-case eval, built from logged production requests, ranks B above A. How should you resolve this?

    Choose one answer.

  2. Question 10 of 35A model scores 99% on a public benchmark released before its training cutoff, then fails many near-identical items from your internal set. What is the most likely explanation?

    Choose one answer.

Fine-tuning vs RAG vs prompting9 questions

ObjectiveChoose between prompting, RAG and fine-tuning for a stated requirement, and justify the order in which you would try them.

  1. Question 12 of 35A support bot must quote the current refund policy, which legal updates several times a quarter. Which lever fits the requirement?

    Choose one answer.

  2. Question 13 of 35A pipeline extracts records into a strict schema from two million emails a day. Constrained decoding already guarantees valid JSON, but a tuned prompt gets field values right in 91% of cases with a 1,500-token instruction block. Which next step is most defensible?

    Choose one answer.

  3. Question 14 of 35Summaries from a new feature are inconsistent in length and tone. The team has written one short prompt with no examples. What should they try first?

    Choose one answer.

  4. Question 20 of 35A fine-tuned model reliably writes answers in the house format. Fares now change every month, and the tuned model quotes old ones. What is the best design?

    Choose one answer.

ObjectiveExplain what fine-tuning cannot do well: add changing facts, provide citations, enforce per-user access, or cure hallucination by itself.

  1. Question 15 of 35A company fine-tunes a model on its whole internal wiki, including HR pages visible only to managers. What is the problem with relying on the result for employee questions?

    Choose one answer.

  2. Question 16 of 35A stakeholder says: 'Fine-tuning will fix our hallucination problem.' Which reply is the most accurate?

    Choose one answer.

  3. Question 17 of 35A team fine-tunes a model on 10,000 new product facts and then sees more confident wrong answers on product questions. Which explanation best fits the evidence from controlled studies?

    Choose one answer.

ObjectiveState the labelled data, the baseline to beat and the evaluation that must exist before a fine-tune is worth starting.

  1. Question 18 of 35A team fine-tunes a model and reports a 12-point gain over the 'base model with a first-draft prompt'. What is missing before this justifies shipping?

    Choose one answer.

  2. Question 19 of 35Which justification for starting a fine-tuning project is strongest?

    Choose one answer.

Fine-tuning methods: SFT, LoRA, QLoRA and DPO9 questions

ObjectiveDistinguish pretraining, SFT, RLHF, DPO and distillation by the data each uses and what each one teaches.

  1. Question 21 of 35You want a model to choose between two acceptable answers by preferring the concise one, and you have reviewers who rank pairs of responses. Which data and method fit?

    Choose one answer.

  2. Question 22 of 35Compared with RLHF, what does DPO remove from the training pipeline?

    Choose one answer.

  3. Question 23 of 35A team needs a model to emit a fixed ticket-triage format for every request. Which training data does SFT use for this?

    Choose one answer.

ObjectiveCompute the trainable parameters and fraction of a LoRA adapter for a given layer shape and rank, and explain why the base stays frozen.

  1. Question 24 of 35A layer has shape 2048 x 2048. How many trainable weights does a rank-8 LoRA adapter add, and what fraction of the layer is that?

    Choose one answer.

  2. Question 25 of 35Just after LoRA adapters are initialised, before any training step, how does the adapted layer's output compare with the original layer's output?

    Choose one answer.

  3. Question 28 of 35Why does keeping W frozen make LoRA cheaper to train than updating the full layer?

    Choose one answer.

ObjectiveChoose between full fine-tuning, LoRA and QLoRA for a given hardware and quality constraint, and state the trade-off of each.

  1. Question 26 of 35You must fine-tune a 70-billion-parameter model on one 48 GB GPU. Weights alone are 140 GB at 16-bit and about 35 GB at 4-bit. Which method is feasible to try?

    Choose one answer.

  2. Question 27 of 35A team switches from 16-bit LoRA to QLoRA to save memory. What should it plan for?

    Choose one answer.

  3. Question 29 of 35A team serves twelve customers who each want a slightly different house style from the same base model, on modest hardware. Which approach fits best?

    Choose one answer.

Fine-tuning data, risks and shipping6 questions

ObjectivePlan how to evaluate and ship a fine-tuned model: baseline to beat, regression and safety checks, held-out data, versioned adapters and rollback.

  1. Question 30 of 35After fine-tuning, accuracy on your task rose, but a general-ability regression suite shows a drop. What is the most likely cause, and what is the next step?

    Choose one answer.

  2. Question 31 of 35A tuned model scores well in the notebook but worse than the base model in production. Training prompts were bare questions, while production adds a system prompt and a chat template. What is the fix?

    Choose one answer.

  3. Question 32 of 35A week after rollout, a canary shows a regression on one customer slice with the new adapter. Which earlier practice makes recovery fastest?

    Choose one answer.

ObjectiveName the main risks of fine-tuning (forgetting, overfitting, safety regression and leakage) and the check or mitigation for each.

  1. Question 33 of 35A team tunes an aligned model on a few thousand harmless support chats, and its task score is excellent. What should guide the release decision?

    Choose one answer.

  2. Question 34 of 35A retrained announcer scores almost perfectly on practice slips. Later you learn about half of those slips were in the training pile. What does the score tell you?

    Choose one answer.

  3. Question 35 of 35During training the loss on the training examples keeps falling, but accuracy on the held-out set stops improving and then drops. What is happening, and what is a sensible response?

    Choose one answer.