⚠
Privacy Notice: When you sign in with GitHub, your quiz attempts are stored in Google Firebase so you can track your progress. This data is only accessible to the course instructor, is not otherwise shared, and will be deleted at the end of the semester. For earlier deletion, contact the instructor. Prefer to stay anonymous? Use guest mode or a GitHub account without your real name.
Loading...

06 Lecture 6 Quiz: Steering the Distribution

Score: 0 / 20

Instructions

This is an interactive quiz on Lecture 6 — Steering the Distribution. Sign in with GitHub to save your progress, or continue as a guest.

  • Questions 1–10 cover Block A (why the model fails); questions 11–20 cover Block B (how you deliberately steer it)
  • Select your answer for each question
  • Get immediate feedback on your choices
  • Retry questions as many times as you need
  • Track your progress across sessions
Question1 Next-Token Prediction

Pre-training optimises a transformer against exactly one objective. What is it?

Question2 Next-Token Prediction

Which of the following does a pre-trained language model NOT possess by direct construction?

Question3 Post-Training

Why have you almost certainly never interacted with a “base” model (the raw artefact of pre-training)?

Question4 Post-Training

In the standard post-training recipe, what is the division of labour between SFT and RLHF?

Question5 Hallucination

Mechanistically, why does a model confidently emit a fabricated API endpoint when asked about one it has never seen?

Question6 Hallucination

A model produces a long, fluent, well-structured prose explanation of a requests.DEFAULT_POOL_SIZE attribute that does not exist, full of plausible implementation detail. Which category is this, and what is the recommended mitigation?

Question7 Instruction Files

A 615-line CLAUDE.md states a project convention, yet mid-session the model ignores it. What is the best mechanistic explanation?

Question8 Instruction Files

Which statement about instruction files (AGENTS.md, CLAUDE.md) is correct as of the lecture’s April 2026 snapshot?

Question9 Positional Effects

Liu et al.’s “lost in the middle” result implies which practical rule for a CLAUDE.md file?

Question10 Three-Layer Model

In the three-layer model (influence / enforcement / human), why can’t you reach production reliability with a great influence layer alone?

Question11 Temperature

Which statement about temperature (T) is correct?

Question12 Few-Shot in Practice

You want the model to write a new error-handling function that matches your codebase’s house style. According to the lecture, what is the most reliable approach?

Question13 In-Context Learning

What routine does an induction head implement?

Question14 In-Context Learning

Min et al. (2022) replaced the correct labels in few-shot demonstrations with random labels. What happened, and what does it imply?

Question15 Chain-of-Thought

Mechanistically, why does chain-of-thought help on multi-step reasoning tasks?

Question16 Chain-of-Thought

How should you treat a model’s visible chain-of-thought when verifying a high-stakes answer?

Question17 Reasoning Models

How should you prompt a modern reasoning model (o1, DeepSeek-R1, extended-thinking models) differently from a standard chat model?

Question18 Self-Consistency

Self-consistency samples N chain-of-thought responses at T > 0 and takes the majority answer. When does it FAIL to help?

Question19 Beyond Prompting

Constrained decoding (structured outputs / JSON mode) masks the sampling distribution so only grammar-valid tokens can be emitted. What does it guarantee?

Question20 Security Boundary

A malicious instruction hidden in a web page the agent reads makes it ignore the application’s instructions (prompt injection — OWASP LLM01). How does this differ from CLAUDE.md non-compliance, and where must the mitigation live?

© 2026 Dominik Müller   •  Powered by Soopr   •  Theme  Moonwalk