Delivering Software Under Ambiguous Specifications
Medium · Behavioral & Leadership · Software Engineer · Onsite
Prompt
During an engineering behavioral interview, you are asked to reflect on how you operate without a complete specification:
Walk me through a project from your past experience where the initial goals, constraints, or specifications were poorly defined. How did you bring structure to the work, drive execution, and land an outcome?
Acceptable examples include projects that lacked definition on day one or experienced major scope shifts mid-flight, spanning either product workflow uncertainty or open-ended system architecture—provided you personally drove the discovery and execution of your area.
Scope & Expectations
- Pinpointing gaps and discovery tactics: Articulate the specific open questions you faced initially and distinguish what you validated through conversations, empirical data inspection, or documented defaults.
- Establishing measurable targets: Explain how you quantified the starting state and secured partner sign-off on concrete success criteria before scaling implementation.
- Incremental validation and course correction: Show how you released early milestones to surface flawed hypotheses quickly and adapted when hidden constraints emerged.
- Quantified results and lasting takeaways: Share concrete before-and-after metrics alongside specific engineering habits you adopted afterward.
Step-by-step walkthrough
What the interviewer is really testing
Every software engineer eventually receives an underspecified task, so the interviewer is not testing whether ambiguity has happened to you. They are testing your engineering process when there is no checklist to follow:
- Cataloging open questions. Instead of saying "the spec was fuzzy," you can list the exact missing facts (who uses the workflow, how success is measured, what corner cases exist).
- Matching each open question to the fastest discovery method. Some gaps are closed by interviewing a stakeholder (anyone affected by or accountable for the workflow), some by writing a tiny prototype (a quick throwaway script or mock-up built solely to test feasibility), and some by documenting a sensible default so execution does not stall.
- Getting written agreement on a baseline and a goal. A baseline is how the system or team performs today before your change; without it, nobody can tell later whether your project actually helped.
- Shipping in thin vertical slices. A thin slice is a small, working end-to-end piece of a feature (for instance, search only before editing) demoed early so hidden misunderstandings surface in week two rather than after launch.
- Adapting calmly when assumptions break. You expect at least one assumption to turn out wrong and design your schedule so fixing it is cheap.
J.P. Morgan is one of the world's largest regulated financial institutions, where a single workflow often spans operations, engineering, risk, and compliance teams. Showing that you clarify goals in writing and ask early about safety controls—such as audit logs (tamper-evident records of who viewed or changed data and when) and dual approvals (requiring a second person to approve high-risk actions like moving money)—signals strong judgment for this role.
Pick a strong project and frame its boundaries
Pick a real project where you personally drove how the uncertainty was untangled, even if a manager or tech lead owned the broader roadmap. Check your candidate story against five criteria:
- Genuine uncertainty about what to build, such as "speed up failed-payment investigations," rather than a finished specification that merely arrived late.
- At least three distinct open questions answered in different ways (shadowing users, inspecting historical data with code, and documenting an explicit default).
- One initial hypothesis that broke mid-flight, because interviewers routinely ask what forced your plan to adapt.
- Clear personal agency ("I shadowed the analysts," "I drafted the one-page brief"), never waiting passively for a product manager to rescue the project.
- Before-and-after numbers tied directly to the target you established.
If you briefly confirm scope boundaries with your interviewer before diving in, keep it under fifteen seconds—and know how each framing shapes your narrative:
- Underspecified on day one vs. mid-flight scope shift: Starting poorly defined on day one gives the cleanest arc, though a major midstream pivot also works well when you highlight how you re-scoped and protected existing milestones.
- Workflow uncertainty vs. architectural uncertainty: User-workflow ambiguity usually makes a richer behavioral story because it tests cross-team alignment alongside technical judgment.
- Owning a subsystem vs. leading the whole initiative: You do not need to have led the entire multi-team program, provided you personally drove discovery and delivery for your slice rather than waiting for instructions.
Structure your story: STAR plus an unknowns tracker
Use the STAR method—a four-part storytelling framework standing for Situation (background context), Task (your responsibility), Action (concrete steps you took), and Result (measurable outcome)—plus one short Lesson sentence at the end. Spend more than half of your speaking time on Action.
Unstructured request: "Help operations handle failed payments faster" │ ▼ Write down every unknown on Day 1 ┌────────────────────┼────────────────────┐ ▼ ▼ ▼ [Ask & Observe] [Build to Measure] [Assume in Writing] Sit with users; Run a quick script Pick a safe default measure baseline on historical logs and share it openly └────────────────────┼────────────────────┘ ▼ One-page brief signed off (baseline -> target goal) │ ▼ Weekly thin slices + live demos -> catch wrong assumptions earlyDuring real projects—and when rehearsing your story—organizing your unknowns into a mental four-column tracker keeps your explanation crisp and easy for a listener to follow:
Unknown Resolution method Outcome ------------------------------- ---------------------------- ------------------------------ Who uses the tool & what hurts? Ask + shadow 4 ops analysts 25 min/case (20 min copy-paste) Can bank error codes be grouped? Prototype script on 30d logs 85% fit cleanly in 8 buckets Should v1 modify payment state? Assume read-only in brief Wrong in wk 3 -> added retries Who can view/act on PII & money? Missed at start; compliance Added audit log + 2nd approvalFull first-person sample answer
Below is a realistic sample response (~310 words, about two and a half minutes spoken aloud) from a backend engineer interviewing for a Software Engineer role at J.P. Morgan. Adapt the domain and metrics to your own experience.
At my previous company, a payments processor, our head of operations asked my team for "a tool so operations can handle failed payments faster." That sentence was the entire specification. I was the engineer assigned to build it, with a six-week target.
Rather than guessing or waiting for a detailed spec, I wrote down every unknown: who used the workflow, what "faster" meant in minutes, whether bank failure codes could be grouped, and whether the tool should modify payments. Then I chose a resolution method for each unknown. To understand the workflow, I sat with four analysts for two days and timed 30 cases: investigating one failed payment averaged 25 minutes, including 20 minutes spent copying IDs across three internal tools. To check data quality, I ran a short script over a month of logs and saw that 85% of failure codes fit cleanly into eight categories. For scope, I documented an assumption that version one would be read-only.
I summarized this in a one-page brief with a concrete goal: reduce average investigation time from 25 minutes to under 10. Once my manager and the operations lead signed off, I shipped in weekly vertical slices—unified search in week two, failure grouping in week three—with Friday analyst demos.
In week three, two things changed. Analysts asked to retry failed payments directly from the screen, proving my read-only assumption wrong. Because retries move money, I gated them behind a second person's approval. Compliance also required an audit log for every customer-data view, which I had missed asking earlier. Building both controls shifted delivery from six weeks to seven.
Post-launch, average investigation time fell from 25 minutes to 8 minutes, helping clear a 1,200-case backlog in one month. Now I share a written unknowns list on day one and ask about audit and approval rules immediately—a habit especially relevant at J.P. Morgan's scale.
Notice why this works for a beginner listener and a senior interviewer alike: every unknown is paired with why that resolution method made sense, the target (
< 10 minutes) comes directly from a measured baseline (25 minutes), and the speaker honestly owns both a disproved assumption and an overlooked compliance requirement.Prepare for skeptical follow-up probes
Strong interviewers test whether you actually lived the story by poking at edge cases in your process and design. Have clear, grounded answers ready one level deeper:
- "What exactly went into your one-page brief?" Four short items: the current baseline (
25 min/case) and target (< 10 min/case), the initial user group (four operations analysts), explicit in-scope vs. out-of-scope features for version one, and the written assumptions list with named reviewers. - "How did you prevent retrying the same failed payment twice?" Each retry request carried an idempotency key—a unique identifier tied to that failed payment attempt so the payment gateway ignores accidental duplicate submissions—and locked the case status to
PENDING_APPROVALso a second analyst could not queue a parallel retry. - "How did you measure 25 minutes before and 8 minutes after?" Before launch, I timed 30 real investigations with a stopwatch across four analysts from ticket open to resolution. After launch, I measured elapsed time between
case_openedandcase_resolvedevents in application logs and manually shadowed ten cases to verify analysts were not doing hidden side work outside the tool. - "Why didn't you wait for a product manager to write formal requirements?" No product manager had the underlying facts in their head either—the answers lived in raw bank failure logs and the analysts' daily screen habits. Waiting would have burned weeks and produced guesses instead of measurements.
- "What exactly went into your one-page brief?" Four short items: the current baseline (
Intuition & how it works
Think of handling vague software requirements like renovating a kitchen when the homeowner only says, "Make it easier to cook dinner." You would never swing a sledgehammer on day one based on pure guesswork, nor would you sit idle for six weeks waiting for architectural blueprints that the homeowner does not know how to draw. Instead, you watch where they get stuck while cooking, measure the bottlenecks, sketch a simple one-page floor plan for approval, and build in small stages so they can test counter heights before the cabinets are bolted down permanently.
Naive answers to this interview question fail in one of two opposite ways. Some candidates describe waiting passively or repeatedly asking their manager what to code, which signals low ownership. Others brag about heroically coding a massive solution in isolation based on unstated guesses—an approach that works only by luck and routinely causes expensive rewrites in production.
Here is how a structured engineering approach turns a vague prompt into predictable progress over four concrete steps:
1. Unpack "Make failed-payment ops faster" -> list 4 concrete unknowns on Day 1.
2. Triage Shadow 4 analysts (25m baseline), run a 30-day log script (85% groupable),
and write down 1 reversible assumption ("v1 is read-only").
3. Align Get sign-off on a 1-page goal (< 10m/case) and demo thin slices weekly.
4. Adapt Week-3 demo reveals analysts need retries -> add dual approval + audit log,
delivering in 7 weeks with average case time reduced from 25m to 8m.
What interviewers look for
- An explicit inventory of unknowns: Naming the exact missing pieces (users, success metric, data quality, permissions) rather than vaguely saying "the spec was messy."
- Choosing the right tool per unknown: Asking a stakeholder (a person who uses, owns, or regulates the workflow) when human context is missing, building a tiny prototype (a quick throwaway script or mock-up used to test feasibility) when data behavior is unknown, and documenting explicit assumptions for low-risk defaults.
- A measured baseline and written definition of done: Measuring a baseline (how slow, error-prone, or costly the process is before your work starts) and getting stakeholders to agree in writing on the target improvement.
- Iterative delivery in thin slices: Shipping a thin slice (a small, end-to-end usable piece of functionality) and holding frequent demos so wrong assumptions fail cheaply in week two or three instead of after launch.
- Early awareness of risk controls: In regulated settings like banking, thinking proactively about audit logs (permanent records of who viewed or changed sensitive data) and dual approval (requiring a second authorized person to approve actions that move money or alter critical records).
- Intellectual honesty: Owning at least one assumption that turned out wrong or one requirement you wished you had uncovered earlier, along with a concrete habit you changed afterward.
Common mistakes
- Waiting to be unblocked: Telling a story where your main action was escalating repeatedly until someone else handed you a finished specification.
- Big-bang delivery on hidden guesses: Disappearing for a month to build everything at once without checking assumptions with real users.
- Blaming stakeholders for ambiguity: Speaking dismissively about non-technical partners ("ops had no idea what they wanted") instead of treating requirement discovery as core engineering work.
- Claiming victory without a baseline: Saying "the new tool was way faster" without knowing how long the task took beforehand or how you measured the improvement.
- Presenting a suspiciously perfect story: Pretending every initial assumption was 100% right leaves you nothing authentic to say when the interviewer asks what changed mid-project.
- Drowning in background context: Spending three minutes explaining company org charts and thirty seconds rushing through the actual actions you took.
Follow-up questions
- How did you resolve conflicting priorities between different partner teams or decision-makers? Operations analysts wanted one-click payment retries to move fast, while compliance wanted strict safeguards so an investigation dashboard could not accidentally trigger unauthorized money movement. Rather than picking a side quietly, I wrote down both constraints in a short shared note and proposed a design that satisfied both: allowing retries from the tool only after a second person approved the action, backed by an immutable audit log entry and an idempotency key (a unique request token that prevents duplicate charges if someone clicks twice). The head of operations reviewed both viewpoints and signed off on that middle ground.
- At what point did you feel confident enough to stop gathering context and begin writing production code? I started coding once three anchors were solid: a verified baseline (
25 minutesper case), a signed-off target (under 10 minutes), and a first slice that every analyst clearly needed regardless of future scope changes (unified cross-system search). I distinguished between two-way doors (reversible choices like UI layout, where building fast and adjusting after a Friday demo is cheap) and one-way doors (hard-to-reverse choices like core database schemas or money-moving endpoints, where I waited until requirements and compliance rules were confirmed). - Tell me about an initial hypothesis that failed during implementation and how it surfaced. My hypothesis that version one could stay strictly read-only broke during our week-three Friday demo. Watching real analysts test the prototype with live cases, I saw that almost every investigation ended with switching back to a legacy terminal just to trigger a retry, which capped how much time they could save. Because I had documented the read-only default explicitly in our day-one brief and demoed weekly, catching and adding controlled retries cost one extra week instead of a painful post-launch rewrite.
- How has that experience changed the habits you bring to underspecified projects today? On day one of any poorly specified initiative, I publish a short "Knowns, Open Questions, and Defaults" note so partners can spot flawed guesses before code is written. Next to each default assumption, I note how costly a reversal would be, which tells me what to validate first. Finally, in my very first kickoff conversation, I always ask about security, data-access permissions, audit trails, and approval workflows rather than treating compliance as a pre-launch checklist.
Follow-up questions
- How did you resolve conflicting priorities between different partner teams or decision-makers?
- At what point did you feel confident enough to stop gathering context and begin writing production code?
- Tell me about an initial hypothesis that failed during implementation and how it surfaced.
- How has that experience changed the habits you bring to underspecified projects today?
Similar questions
- Five Core Onsite Engineering Behavioral Questions
- Navigating Technical Disagreements and Delivering Under Tight Guardrails
- Career Summary, Standout Project, and Peer Disagreement
- Articulating Career Motivations and Managing Role Transitions
- Service Boundaries and Sharding for an ACID Ledger
- Course Prerequisite Feasibility
More J.P. Morgan interview questions
- Dropped Server Requests Under One-Time Thread Allocation Medium
- Career Summary, Standout Project, and Peer Disagreement Easy
- Resumable Large-File Transfer with Scoped Token Auth Medium Pro
- Multimodal RAG Architecture for Financial Research Medium Pro
- Distributed API Rate Limiter: Algorithms and High Availability Medium Pro
- Idempotent and Fault-Tolerant Bank Transfer Backend Medium Pro
- Compliance-Grade Enterprise Knowledge Chatbot Easy Pro
- Modular AI Skills vs. Stateful Agents in LangChain and LangGraph Medium Pro
- Daily Quantitative Signal Design and Forecasting Pipeline Medium Pro
- CPython Concurrency, Conditional HTTP Writes, GC, and Deadlocks Medium Pro