Skip to content
Try for freeBook a demo

November 27, 2026 · 10 min readWork-sample design

A work sample for data analysts: the analysis is the easy part

Analyst assessments usually consist of SQL questions with correct answers. Analysts rarely fail because of syntax. They fail by answering the wrong question confidently, or by missing the thing in the data that makes their answer untrue.

By Oliver Bennett, MSc in Work and Organizational Psychology

In short

A work sample for a data analyst should present a vaguely worded business question and a small dataset containing a defect — a changed definition, a missing segment, a survivorship problem — and ask for a short answer with its caveats. This samples question framing, scepticism about the data and the ability to communicate a qualified finding, which is where analytical work actually succeeds or fails. A query-correctness test measures syntax, which is the component least likely to be the binding constraint in the role.

Ask an analytics lead what goes wrong and they will not say "people cannot write joins". They will describe a dashboard that answered a question nobody asked, a number quoted in a board pack that turned out to exclude a segment, or a finding presented without the caveat that would have changed the decision.

None of those is a syntax failure. All of them are the job.

The three things that actually differentiate

Framing. A stakeholder asks "is churn getting worse?" The analyst has to decide what churn means here, over what window, for which cohort, and whether the question as asked is the question that matters. Getting this wrong makes everything downstream irrelevant, however elegant.

Scepticism about the data. Real datasets contain changed definitions, backfilled rows, missing segments, duplicated events and periods where a tracker was broken. An analyst who does not look is going to publish something untrue, and will do it confidently.

The caveat. What this analysis does not show. This is the most valuable sentence an analyst writes and the one most often missing, because it feels like weakening your own work.

The task

A small dataset — a few thousand rows, two or three tables — and a question written the way stakeholders actually write them. Vague, with an assumption baked in.

Something like: "Our Tuesday campaign isn't working — can you confirm?" Note that the question presupposes its answer, which is also realistic.

Plant one defect. Choose exactly one, make it discoverable, and do not signpost it:

  • a definition that changed partway through the period
  • a segment missing from part of the range because of an integration gap
  • a survivorship problem — only active accounts in the table, so churned ones are invisible
  • a denominator that is not what its column name suggests
  • duplicate events from a retry, inflating one metric

Ask for: the answer in under 200 words, the figure it rests on, and what the analysis does not show. Allow their own tools. Sixty minutes.

The word limit is deliberate. Analysts asked for a report produce length; asked for 200 words they have to decide what matters, which is the skill.

What to score

Score the task criterion by criterion rather than collapsing the response into a single overall impression. A consistent approach to how work samples are scored makes it easier to separate framing, data scepticism, correctness and communication before combining them into a decision.

CriterionEvidence
question framingstated what they took the question to mean; noticed the embedded assumption
data scepticismfound the defect, or checked in a way that would have found it
method fitapproach proportionate to the question, no unnecessary machinery
correctnessthe number is right, given the stated definition
caveatsnamed what the analysis does not support
communicationa non-analyst could act on this

Correctness is one row of six, deliberately. An analyst who computes the wrong thing accurately is more dangerous than one who computes the right thing approximately, and a pass/fail correctness gate inverts that.

The second row has an important scoring nuance: credit the candidate who checked in a way that would have found the defect even if they did not quite name it. "I compared monthly counts and the definition looks inconsistent after March, which I have not resolved" is strong work. Scoring only discovery rewards luck.

What not to test

Query puzzles with a clever answer. They measure recent practice at puzzles.

Tool-specific syntax. Unless the tool is non-negotiable, in which case make it a separate short check rather than letting it dominate a reasoning task.

Large-scale statistical modelling, unless the role does it. Most analyst roles are counting things correctly and explaining them, and testing modelling filters for a skill the job will not use.

Dashboard aesthetics. A separate, narrower competency. If it matters, score it on its own with its own brief.

The AI assistance question

This is the role where the question is sharpest, because a model writes competent SQL and competent prose.

What it does not do well is the part that carries the signal: noticing that this dataset's definition changed in March, deciding that the stakeholder's framing is wrong, and knowing which caveat a board actually needs. An assisted answer to this task tends to be fluent, correctly computed for the stated question, and silent about the defect.

So the design that handles assistance is again the better design. Permit it, say so, and ask for the reasoning: what did you check and why, what did you decide the question meant, what would change your conclusion. Those are answerable from understanding and generic from a generator.

The alternative — attempting to detect assistance — rests on tooling whose reliability does not support acting on it, and a false accusation is a much worse outcome than an undetected assist. A better approach is to focus on evaluating AI-assisted work by scoring the candidate's reasoning, verification and judgement rather than trying to infer whether assistance occurred.

Running it

Sixty minutes, own tools, dataset downloadable. The right work sample length should give candidates enough time to inspect the data and explain their reasoning without turning the task into an endurance test. Two reviewers independently, and calibrate first on three submissions: the row that will not agree on the first pass is "method fit", because analysts hold strong views about proportionality. Argue it once, write the resolution into the levels.

One operational detail worth getting right: make the dataset small enough to explore in the time. A candidate who spends thirty minutes loading data has had a different assessment from one who did not, and the difference is not about analysis.

Why this is defensible

The chain is the usual one and it is visible to everyone: the role requires framing questions, interrogating data and communicating qualified findings; the task produces evidence of each; the rubric describes levels. That is the basis of content validity in hiring assessments: the evidence comes from the link between the job, the task and the scoring criteria. Content validity is the oldest defensibility argument in selection, and unlike a query puzzle, this task's relevance does not need explaining to a candidate — which is also why it scores better on perceived fairness.

Our position, and its limit

Tasks built from the role, with the data and the context supplied, scored against described levels by independent reviewers who calibrated first.

The limit: a sixty-minute task samples framing, scepticism and communication on one question with one planted defect. It does not tell you whether someone will maintain a model in month eight, how they behave when a stakeholder dislikes the finding, or whether they will keep looking when nothing is obviously wrong. We describe content validity — the chain from role blueprint through task to rubric — and report reliability where there is enough data to compute it. We do not claim an assessment predicts later job performance.

  • data analyst
  • analytics hiring
  • work samples
  • SQL
  • data literacy

Key takeaways

  • Analysts rarely fail on syntax. They fail by answering the wrong question confidently or by missing the thing in the data that makes the answer untrue.
  • Plant exactly one discoverable defect — a changed definition, a missing segment, a survivorship problem — and do not signpost it.
  • Credit a candidate who checked in a way that would have found the defect even if they did not name it, or you are rewarding luck rather than method.
  • Cap the answer at 200 words. Asked for a report, analysts produce length; asked for 200 words, they have to decide what matters.
  • Correctness is one row of six, because an analyst who computes the wrong thing accurately is more dangerous than one who computes the right thing approximately.

Frequently asked questions

Should we test SQL at all?
A short floor check is reasonable if the role writes queries daily — can they join, group and filter without help. What is not reasonable is letting that check become the assessment, because syntax is the component least likely to be the binding constraint in the job. Keep it separate, keep it brief, and keep it out of the reasoning task where it would dominate the score.
What if the candidate uses a different tool than we do?
Usually fine, and often preferable. An analyst who reasons well in Python will learn your stack; one who knows your stack and accepts a stakeholder's framing uncredited will not improve. Where a specific tool is genuinely non-negotiable, test it as a separate short check rather than smuggling it into a task about judgement.
How do we score a candidate who did not find the planted defect?
By what they checked rather than by whether they found it. A candidate who reconciled totals, compared period over period and flagged an inconsistency they could not resolve has demonstrated the method, and should score well on data scepticism even if they stopped short. A candidate who computed the headline number and reported it with no checks has not, regardless of whether the figure happened to be right.
Is sixty minutes long enough?
For one question against a small dataset, usually yes — provided the dataset really is small and loads quickly. The thing that breaks this task is scale: a candidate who spends half the time wrangling has had a different assessment from one who did not. Keep it to a few thousand rows and two or three tables, and test the setup on a clean machine before you send it.

For hiring teams

Build the question the way stakeholders ask it

A vague brief, a dataset with one planted defect, a 200-word answer with its caveats, and a rubric where correctness is one row of six.