Consultative Discovery and Requirements Gathering Questions
Drawing out what needs to be built from stakeholders, customers, and subject-matter experts through structured questioning. Covers turning a vague request into a scoped problem with clarifying questions, preparing and running discovery meetings and workshops, active listening and probing for unstated needs, interviewing stakeholders and subject-matter experts, extracting tacit knowledge and undocumented rules, translating business goals into measurable requirements and non-functional targets, pressing vague quantitative demands (such as '99% accuracy' or 'make it faster') until they are measurable, separating functional from non-functional requirements, eliciting compliance and regulatory constraints as testable requirements, agreeing on definitions and success measures for vague metrics and goals (such as what counts as an active user), recording assumptions and open questions and deciding which unknowns to validate, reconciling conflicting inputs between stakeholders, mapping the people who hold unwritten requirements or veto power, surfacing hidden goals and undocumented dependencies, guarding against cognitive bias, adapting discovery to remote or hard-to-reach stakeholders and to different organization sizes, knowing when to stop asking and start proposing, and synthesizing findings into a shared understanding tailored to each audience. Focused on the inbound half of communication where you gather and validate information to define what to deliver. Excludes sales qualification and deal advancement, formal research study design, writing requirement documents and acceptance-criteria templates, prioritization frameworks, keeping stakeholders aligned through delivery, and governing scope changes.
A client wants to 'cut time-to-insight from a day to an hour.' How do you turn that business target into concrete requirements for the system, and what would you measure to show it was met?
Sample Answer
Direct answer
I turn the target into a timed chain. I define when the clock starts and stops, measure how long each stage takes today, give each stage a share of the one-hour budget, and write each share as a requirement with a measurement point. I also ask which decision gets better with an hour, so the target serves an outcome and not only a number.
Step 1: define time-to-insight
"Day to hour" is ambiguous. Ask: does the clock start when the business event happens or when data reaches the warehouse? Does it stop when the dashboard updates or when someone acts on it? I agree: event time to the insight visible to the decision maker. The whole 60 minutes runs from event to insight. The dashboard itself should show the data earlier, once the first three stages are done (45 minutes), which leaves the last 15 minutes for the person to reach an answer.
Step 2: the current chain (illustrative breakdown of 24 hours)
| Stage | Hours today |
|---|---|
| Waiting for the nightly extract window | 10 |
| Extract and load | 2 |
| Transformations | 6 |
| Dashboard refresh and caching | 2 |
| Analyst finding or building the answer | 4 |
| Total | 24 |
Step 3: budget the 60 minutes
| Stage | Budget (minutes) |
|---|---|
| Ingest (source change visible in the warehouse) | 15 |
| Transform | 20 |
| Dashboard refresh | 10 |
| Self-service answer for the user | 15 |
| Total | 60 |
What replaces the 10-hour wait: instead of one nightly extract, the pipeline loads only new and changed rows every 10 minutes, so there is no nightly window to wait for. That is why ingest can fit in 15 minutes: a change waits at most 10 minutes for the next run, and a run of new rows takes about 5 minutes (to confirm on a prototype), so the worst case is 10 + 5 = 15. Loading every 15 minutes would not fit, because the wait for the next run would add to the run time and exceed the 15-minute budget. Transform fits in 20 minutes only if it processes just those new rows instead of rebuilding everything, which I would confirm by timing a prototype. The 15/20/10/15 split is a first proposal (illustrative): transform gets the largest share because it takes the most processing today, and I revise each share once I measure the real stages.
Requirements that follow
- Freshness: 95% of days, data is visible in the dashboard within 45 minutes of the source event (the first three stages), so the user keeps the last 15 minutes of the 60 to reach an answer. Measured as lag: the current time minus the timestamp of the newest event in the dashboard's table. If the newest loaded event happened at 10:42 and it is now 11:07, the lag is 25 minutes, inside the 45.
- Pipeline success rate and rerun time (a failed run must not eat the budget).
- Reconciliation (checking that the warehouse agrees with the source system): totals match within an agreed tolerance. For example, the source shows 10,000 orders for the day and the warehouse 9,990, a 0.1% gap, inside a 0.5% tolerance.
- Pre-built answers for the top recurring questions, so the last stage in the budget (the self-service answer) takes minutes instead of the analyst's four hours today.
What I measure to show it was met
Freshness lag over time, pipeline failures, and an outcome check: did the decision that needed speed change (for example, how fast was a stock or campaign problem acted on) compared with before.
Other business targets: decomposition and proof
Every target gets the same treatment: define it precisely, break it into parts, name the data that proves it.
| Target | Decomposition | Data and proof |
|---|---|---|
| Trial-to-paid conversion | Trial started, plan chosen, payment succeeded | Events such as trial_started and payment_succeeded joined to a subscriptions table; funnel (the count of users reaching each step in order, showing where they drop off) by cohort (group of users who started in the same week) |
| Cut checkout drop-off by 20% | Ask: 20% relative or in percentage points? If 600 of 1,000 shoppers who start checkout leave today (60%), a 20% relative cut gives 60% x 0.8 = 48%, which is 12 points; a 20-point cut would mean 40% | Discovery questions: at which step, why (payment errors, shipping cost), verified with session data, then an A/B test (show half of users the change and half the old version, then compare) |
| Improve retention | Retention by cohort, with a guardrail (a metric that must not worsen, such as support tickets) | Cohort tables plus the guardrail trend |
| Grow annual recurring revenue (ARR) by 5% | New plus expansion (existing customers paying more) minus churn (revenue lost to cancellations). Illustrative: on $10M ARR, 5% is $500k, for example $600k new + $300k expansion - $400k churn | One experiment per driver, each with a named metric |
| "Improve onboarding" | Testable hypothesis (a specific guess that data can prove wrong): cutting setup from 7 steps to 4 raises the share completing a first project within 7 days | Instrument each step, run an A/B test |
| ML project (machine learning) | Business level (fewer churned customers), product level (offers sent to the riskiest users), model level (precision and recall at a threshold, response time). At a threshold means the model flags users whose risk score is above a cutoff. Precision is the share of flagged users who really would churn; recall is the share of all churners that got flagged. Illustrative: 100 users flagged and 40 of them churn gives precision 40%; if 200 users churn in total, recall is 40/200 = 20% | A chain showing how a model gain lifts product action and then the business goal |
For client-stated key performance indicators (KPIs) I drop the vendor jargon and restate each as an event, a table and a target.
Pitfalls
- Optimising the stage that is easy rather than the biggest one.
- Not asking what the faster insight is for.
- Hitting freshness while accuracy silently drops.
A new feature will hold personal data that may fall under GDPR or HIPAA. How do you find out what the rules actually require of the design, and how do you turn what legal tells you into requirements engineers can test?
Sample Answer
Direct answer
I do not interpret the law myself. I take specific questions to legal or compliance, get their answers in writing, and convert each into a requirement with a pass/fail test. GDPR (the EU General Data Protection Regulation) applies to the processing of personal data by an organisation established in the EU (wherever the people are), and to non-EU organisations that offer goods or services to people in the EU or monitor their behaviour there (Article 3). Territorial scope is itself a question for legal. HIPAA (the US Health Insurance Portability and Accountability Act) applies to protected health information (PHI) held by covered entities and their business associates. Whether either applies to this feature is the first question.
Terms in plain language
- Data subject: the person the data is about. Controller: the organisation that decides why and how personal data is used. Supervisory authority: the regulator that enforces GDPR in a country. Subprocessor: a vendor that handles the data on the organisation's behalf.
- Covered entity (under HIPAA): a health plan, a healthcare clearinghouse, or a healthcare provider that transmits health information electronically in connection with standard transactions such as billing an insurer. Business associate: a company that handles PHI on a covered entity's behalf.
- PII: personally identifiable information, any data that identifies a person, such as a name or email. Lawful purpose: the legal reason for using the data. Erasure request: a person asking for their data to be deleted.
- Need to know: only people whose job requires the data may see it. Masked: partly hidden, such as j***@example.com.
- Contract test: an automated check that what we send a partner matches the agreed field list.
What I ask legal or compliance
- Does either regime apply? Where are the data subjects, and are we a covered entity, a business associate, or neither?
- What exactly counts as personal data or PHI in our data? (Fields, not categories.)
- What is the lawful purpose, and what may the data be used for?
- How long may we keep it, and where may it be stored or processed (data residency, covering backups and logs)?
- What rights must the system support (access, deletion)?
- What are the breach duties? Under GDPR the controller must notify the supervisory authority without undue delay and where feasible within 72 hours of becoming aware, unless the breach is unlikely to risk individuals.
- Which third parties (partners, subprocessors) touch the data?
If legal asks for data without naming fields, I ask what purpose they have in mind, then propose a field-by-field list with justification for each and ask them to approve or strike. HIPAA's minimum necessary standard (reasonable efforts to limit PHI to the minimum needed for the purpose, with exceptions such as treatment) is a good lens for that list.
Turning answers into testable requirements
| Legal says | Requirement | Test |
|---|---|---|
| Delete on request | A verified erasure request removes the user's personal records from all stores within the period legal sets | Automated test: create user, delete, query every store |
| Data stays in-region | All stores, backups and logs for these records are in the approved region | Infrastructure config check |
| Don't show raw identifiers in dashboards | Email is masked for roles without a need to know | Test as a restricted role, including export |
| Partner needs PII | Only fields in the agreed list are sent | Contract test on the payload |
| Know where data came from | Each record carries source system, collection time, purpose and processing job | Trace 20 sample records end to end |
| Explain automated decisions (as legal states it, people affected by an automated decision can get an understandable explanation of how it was made; legal confirms the exact duty) | Each decision stores the model version, inputs and main contributing factors; a plain-language notice and a human-review route exist | Replay a stored decision and check the explanation |
The last row splits an explainability duty into technical requirements (stored inputs, reproducible output) and non-technical ones (the plain-language notice, the human-review route, and how quickly a review must be answered, a period legal sets and the row above leaves to be filled in).
Privacy by design before the policy is final
Design to the strictest plausible reading: field-level controls, configurable retention, minimal collection. Record it as an assumption with an owner and a review date, so loosening later is cheap and tightening is not a rewrite.
When to escalate
Escalate when an ambiguity could change the design, when more than one jurisdiction applies, when a new data category appears, or when engineers and legal read a rule differently. Bring a specific question with two options, not "is this okay?"
Pitfalls
- Treating legal's prose as a requirement an engineer can test.
- Collecting broad fields "just in case".
You have a discovery call with a new client next week. How do you prepare, what do you ask for beforehand, and how do you want the call to end?
Sample Answer
Direct answer
I treat the call as the cheapest place to learn what the client really needs. I do my homework so the call is not spent on basics, I ask for a few documents and the right people in advance, and I plan the last ten minutes so we leave with a shared, written understanding and dated next steps. (A discovery call is an early conversation where you learn the client's goals, constraints and context before proposing anything.)
1. Prepare (before the call)
- Research the client: what the business does, recent news, public product pages, anything from earlier contacts or tickets. Goal: never ask what a search could answer.
- Map the stakeholders (people who care about or are affected by the outcome): the sponsor who owns the goal and budget, the hands-on user, the technical owner, and any gatekeeper such as security or legal. Ask who is attending and why; push for the sponsor plus one real user.
- Set objectives for the call in one line each. Example: "Leave knowing the goal, what is driving the deadline, which systems are involved and who signs off. Do not promise a design or a price."
- Delegate prep to internal teams: ask the account lead for history with this client, the security team for the standard answers to compliance questions, and a colleague who ran a similar project for the typical pitfalls. I arrive with facts instead of guesses.
- Send a short agenda one or two days ahead so people come ready.
2. What I ask for beforehand (pre-reads)
A pre-read is material I read before the meeting. I request: a problem statement in the client's own words; a diagram or description of how the process or system works today; screenshots or sample data from existing reports; rough volumes (users, orders or records per day); any existing requirements, deadlines, budget range or compliance constraints; and the list of systems it must connect to. If they are busy I ask for only the top three. I do not demand a long questionnaire, which delays the call.
3. Running the call: questions in order
Open-ended questions (ones that cannot be answered yes or no) first, each followed by "can you give me a recent example?"
- "What happens to the business if this stays unsolved this year?" (the real goal)
- "Walk me through how it works today." (current state)
- "Who uses it, and who is affected without using it?" (users)
- "What is driving the date, and what limits us: budget, rules, existing technology?" (constraints)
- "In six months, what would you look at to say it worked?" (success)
- "What has been tried before?" (history)
- "Who decides, and what does their approval need?" (decision process)
4. How I want the call to end
In the last ten minutes I play back three to five things I heard and ask for corrections, list open questions with a named owner and a date, book the next step (for example a technical session), and say when the written summary will arrive (within 24 hours).
Worked example (illustrative)
A regional grocery chain wants "a better ordering portal". Pre-reads requested: the current order flow, last month's order count by channel, and the ERP (enterprise resource planning, the back-office system) name. Closing playback: "I heard the goal is to halve phone orders before the holiday season, store managers are the main users, the ERP integration is mandatory, and budget is unknown. Open question: the budget range, owner: finance director, by Friday. Next: technical session Tuesday."
Pitfalls
- Pitching a solution in the first 15 minutes closes down what you learn.
- Hearing only one person gives you one view of a multi-party problem.
- No written recap means each attendee leaves with a private version of the meeting.
You discover that important downstream reports depend on undocumented transformations and manual fixes analysts apply. How do you surface what the system really does, and how do you protect those behaviours during a replacement?
Sample Answer
Direct answer
I treat the old system's real behaviour as a set of hidden requirements and recover it from three directions: the code and jobs, the outputs, and the people. Then I classify each recovered behaviour as a genuine business rule to keep, a workaround for a defect to fix at the source with sign-off, or something obsolete to retire explicitly. Each kept behaviour becomes an automated acceptance test, and cutover (the moment users switch from the old system to the new one) only happens after a parallel run (running old and new side by side) proves the new outputs match.
How to surface what the system really does
- Inventory the consumers. List every downstream report and who relies on it, and what decision each supports. Prioritise by impact if wrong.
- Trace lineage (where each number came from and every step it passed through) from the report backwards. Read the queries, scheduled jobs, stored procedures (saved database programs that run queries) and spreadsheets that sit between source and report. Note every filter, join, hard-coded value and special case.
- Compare outputs, not just code. Capture the legacy outputs for several past periods (this is sometimes called a golden-master or characterization test: you record what the system does today, right or wrong, as the baseline). Run the new pipeline on the same inputs and investigate every difference. Each difference points at hidden logic.
- Interview the people who apply manual fixes. Ask: "Walk me through month-end. Show me the spreadsheet you use. What do you correct by hand, and why? What do you check before sending? Which numbers do you not trust?" Ask them to share a screen and do a real run (watching work happen exposes steps people forget to mention). Ask "tell me about the last time the report was wrong."
- Record what you find in a manual-fix register.
| Behaviour | Who does it | When | Reason | Classification | Owner decision |
|---|---|---|---|---|---|
| Delete duplicate customers that exist in both source systems | Reporting analyst | Every month-end | Two systems both create the record | Business rule: encode | Finance lead, keep |
| Overwrite a region code from a legacy value | Analyst | Weekly | Old mapping error | Workaround: fix at source | Data owner, fix |
| Hide a retired product line | Analyst | Quarterly | Line closed two years ago | Obsolete | Product owner, retire |
How to protect the behaviours during replacement
- Write each kept behaviour as an acceptance test (a plain-language check of whether a behaviour is delivered, in Given/When/Then form): "Given the same customer appears in both source systems, when the monthly revenue is calculated, then it counts once."
- Run both systems in parallel for an agreed number of periods that includes a month-end and a quarter-end, and reconcile outputs (compare them and explain every difference) within an agreed tolerance. Example tolerance (illustrative): money totals match exactly, derived ratios within 0.1 percent, and any larger difference is investigated before cutover.
- Get a named owner to approve each classification, especially retirements. Nothing disappears silently.
- Cut over only on stated criteria (all kept behaviours covered by passing tests, differences explained, rollback plan ready).
Variation: refactoring an internal API with undocumented behaviour
The same approach applies when teams depend on an internal API's undocumented behaviour (sometimes described as Hyrum's law: with enough users, every observable behaviour gets relied on). Find the unstated dependencies by searching consumer code and call logs, ask each consuming team what they rely on beyond the documentation, then convert the findings into contract tests (automated checks that the API still behaves the way its consumers rely on) that run before any change ships.
Given a consumer calls GET /orders with no sort parameter
When the response arrives
Then orders are listed oldest first
This ordering is in no documentation, but a billing job relies on it. If a refactor changes it, the test fails before the change ships.
Interview techniques and artifacts for undocumented workflows
- Contextual walkthrough (watch the person do the real task on their own screen).
- "Last time it went wrong" questions, which surface exceptions.
- Artifacts: a workflow map with the manual steps marked, the manual-fix register above, and a list of acceptance tests traced to each behaviour.
Worked example (illustrative numbers)
The legacy revenue report for last quarter totals 1,000,000. The new pipeline, run on the same data, gives 1,012,000. Investigating the 12,000 difference shows duplicate orders, caused by customers that exist in both source systems, that analysts delete by hand each month. That rule goes into the register, becomes a test, and is encoded in the pipeline. The rerun now matches. Only then is the next difference examined. The 12,000 gap is 1.2 percent of 1,000,000. Because the stated tolerance for money totals is exact, any gap on this total must be explained; the 0.1 percent band (1,000 on this total) applies only to derived ratios, and even if a team chose to allow it on this total, 12,000 would be twelve times that band. Likewise, if a derived ratio such as a churn rate differed between the two systems by 0.5 percent (relative), that is five times the 0.1 percent tolerance and would block cutover until explained. The figure 5,000 would apply only to a 0.5 percent gap on the 1,000,000 total, which the exact-match rule for money totals already blocks. In this example the duplicates are the same kind of record as the register's duplicate customers: the analysts delete duplicate customer records, which removes their duplicated orders from the total.
Trade-offs and pitfalls
- Copying every legacy behaviour also copies its bugs; classify before encoding.
- Parallel runs cost time and compute. Limit them to the reports with real impact.
- Interview notes alone are not protection: only tests that fail when the behaviour breaks protect it.
You are meeting a head of marketing who is not technical, and you need to understand constraints with technical consequences. How do you build trust quickly and draw out what you need without burying them in jargon?
Sample Answer
Direct answer
I build trust by making the conversation about her goals and her language, not about my systems. I ask about her campaigns, deadlines and worries in business terms, then translate each answer into the technical consequence myself, so she never has to read jargon. Afterwards I confirm the translated requirement with her in her words and with engineers in theirs.
The first five minutes: rapport
- Say why we are meeting and what I will do with the answers.
- Start with her goals ("What does a great quarter look like for your team?") before any system question.
- Use her vocabulary (campaign, list, send, launch) and adopt her terms for things.
- Paraphrase back: "So the sale email has to land the moment the sale starts."
- Admit what I do not know about marketing. It signals respect and invites correction.
Questions in business terms that expose technical consequences
| I ask | What it tells me |
|---|---|
| "When is your biggest campaign this year, and what happens on the website that week?" | Peak traffic and a possible change freeze |
| "When someone unsubscribes or declines tracking, what has to happen, and how fast?" | Consent handling and legal obligations |
| "If this report arrives a day late, who notices?" | How fresh the data must be |
| "Which tools do you use every day that this must work with?" | Integrations |
| "Which numbers do you report upward, and where do they come from?" | The trusted source of truth |
The right-hand column is engineering vocabulary, so here are plain-language translations I would give her if a term comes up: peak traffic is the busiest moment of visitors on the site; a change freeze is a period when engineers are not allowed to release changes; consent handling is recording and honouring what people agreed to, such as unsubscribing or refusing tracking (being followed across the site for marketing); integrations are the connections between her tools and ours; the source of truth is the one report everyone agrees is the official number.
Avoiding jargon
Use plain analogies ("the site is a shop doorway: too many people at once and they queue or leave"), and define a term the first time I must use it. Never test whether she knows an acronym.
Converting a business answer into a requirement (illustrative numbers)
She says: "The sale email must go to everyone right when the sale starts." I draft: "Send the 'sale live' email to the whole list within 15 minutes of 9:00." Suppose the list holds 400,000 contacts. Then 400,000 / 15 is about 26,700 emails per minute, roughly 440 per second, which is what engineering must confirm the email provider can sustain. I check both sides: with her, "Is 15 minutes fast enough, and what happens at 45?", and with engineers, "Can we sustain that rate?" The requirement is confirmed only when both agree.
Pitfalls
Talking down, over-simplifying until the constraint disappears, firing a long list of questions, and leaving the meeting without reading the requirements back to her.
Unlock Full Question Bank
Get access to all 16 Consultative Discovery and Requirements Gathering interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.