📁 Sangam Dhakal - Portfolio v2.0 - Netscape Navigator 4.0
_
□
×

📚 Interview question

Tell me about a system you improved significantly. What was wrong with it, how did you decide what to change, how did you measure the improvement, and how did you get buy-in to spend time on it?

Answering the system-improvement question: spotting the problem, baselining with data, prioritising the change, getting buy-in, delivering incrementally, and proving the result with before-and-after metrics.

Senior Behavioral Advanced behavioral initiative metrics performance stakeholder-management system-improvement

🎯 Key points

  • A problem with business cost: latency, cost, incidents, lead time
  • Baseline measured before changing anything (p95, cost per month, DORA metrics)
  • Root cause or bottleneck found with data, not guessed
  • Buy-in: business case in stakeholder terms, weighed against competing priorities
  • Relationships: involved the product owner and affected teams early
  • Delivered incrementally behind flags, measuring each step
  • Before-and-after numbers plus qualitative feedback (users, support, developers)
  • Sustained: dashboards, alerts or standards to keep the gain

⏱ 30-second answer

Pick an improvement with a business cost behind it: slow pages, high Azure spend, frequent incidents, slow deployments. Show that you measured a baseline first (p95 latency, cost per month, deployment frequency), found the real bottleneck with data (Application Insights, Query Store, profiling), won buy-in with a business case, delivered incrementally, and proved it with before-and-after numbers.

Close with how the gain was kept (dashboards, alerts, standards). The trade-off is ambition versus risk: small, measured steps beat a big-bang rewrite.

🗣 Full answer (senior)

How I would answer this in an interview

"At [company], our [search API] had become the slowest part of the product: p95 was [about 2.5 seconds], and [support tickets about slowness had doubled]. Nobody owned it, so I offered to look into it.

Before changing anything, I set a baseline: p95 and p99 from Application Insights, [the top ten queries from Query Store], and [the Azure SQL DTU cost]. The data showed [70%] of the time was [one query doing a key lookup on a large table and an N+1 pattern in EF Core]. I wrote a half-page case for the product owner: [slow search correlates with lower conversion; I estimated N days of work]. They agreed to [one developer for two sprints]. I made the changes in small steps behind a feature flag: [a covering index], then [projecting to DTOs with AsNoTracking and removing the N+1], then [short-lived caching for popular searches]. After each step I compared the numbers.

p95 dropped from [2.5 s to 300 ms], [we scaled the database down a tier, saving about $X a month], and [slowness tickets fell by Y%]. I added a p95 alert and a dashboard so it wouldn't drift back. What I learned is that the baseline is what makes the case: without it, it's just an opinion."

The mistake I see is describing the technical change without the before-and-after numbers or how the time was justified.


Choosing the improvement

Type Good metrics
Performance p95/p99 latency, throughput, timeouts
Cost Azure spend per month, cost per request
Reliability Incidents per month, error rate, MTTR
Delivery Deployment frequency, lead time, build time (DORA)
Developer experience Build or test time, onboarding time

Making the case

Stakeholder Frame it as
Product owner Conversion, customer satisfaction, fewer tickets
Finance / management Monthly cost saved, effort needed
Engineering manager Fewer incidents, faster delivery

Production example

A strong result: "p95 went from [2.5 s to 300 ms], database cost dropped [$X a month], and the incremental, flag-driven approach meant [zero incidents] during the change."

🔍 What the interviewer is checking

Checks initiative, data-driven improvement, business justification and sustained results.

Green flags

  • Baseline and bottleneck from data
  • Business case and buy-in
  • Incremental, safe delivery
  • Before-and-after numbers and sustainment

Red flags

  • No numbers or vague "faster"
  • Big-bang rewrite with no risk control
  • No business link

📚 Learn in depth

1. What is being assessed

  • Initiative: did you spot and pursue the problem?
  • Data-driven thinking: baseline, bottleneck, measurement.
  • Business sense: does the improvement matter?
  • Influence: did you get time and support?
  • Delivery discipline: incremental, safe change.

2. The improvement loop

Notice pain ─► Baseline metrics ─► Find bottleneck ─► Business case ─► Buy-in
                                                                    │
                                                                    ▼
          Sustain (alerts, dashboards) ◄── Measure ◄── Small change behind flag
                                              │            ▲
                                              └── repeat ──┘

3. Measurement basics

  • Use percentiles (p95, p99), not averages; averages hide tail latency.
  • Compare like with like: same time of day, same load.
  • For cost, use Azure Cost Management; for delivery, the four DORA metrics.
  • Attribute carefully: if traffic also changed, say so.

4. How it is scored

Score Evidence
Low "Made it faster", no numbers, no case
Medium Numbers but no baseline method or buy-in
High Baseline, bottleneck, business case, increments, before/after, sustained

5. Adapting the story

The same story answers "a time you took initiative", "a time you used data to make a decision" and "a time you influenced priorities". In Australian values rounds it maps to values like "continuous improvement" or "customer focus".

Try it yourself

  1. Pick an improvement you led and find the before and after numbers.
  2. Write the business case in three sentences.
  3. List the increments you delivered and the metric after each.
  4. Name what keeps the gain (alert, dashboard, standard).
  5. Rehearse in under two minutes.

💻 Code

Fill-in template:

S   At [company], [system] had [problem] costing [tickets / $ / incidents].
T   I [volunteered / was asked] to improve it.
A   Baseline: [metric values] from [tool].
    Bottleneck: [finding] (from [Query Store / profiler / traces]).
    Case: [business framing]; got [time / people].
    Changes in steps: [1], [2], [3], measuring after each, behind [a flag].
R   [Metric before → after]; [cost / tickets / incidents]; kept by [alert / dashboard].
    Lesson: [one line].

Illustrative only:

Search p95 [2.5 s]; Query Store showed [a key lookup + N+1].
Case: [slow search hurts conversion]; got [two sprints].
Index → DTO projection → cache; p95 [300 ms]; DB tier down, [$X/month saved].

⚠ Common mistakes

  • Mistake: No baseline. Why it is wrong: you can't prove improvement. Instead: show the numbers before you started.
  • Mistake: Averages instead of percentiles. Why it is wrong: they hide what users feel. Instead: quote p95 or p99.
  • Mistake: A big-bang rewrite story. Why it is wrong: it signals risk-taking without control. Instead: show small, measured steps.
  • Mistake: Ignoring how you got time for it. Why it is wrong: senior engineers must justify investment. Instead: describe the business case.
  • Mistake: Technical result only. Why it is wrong: the panel wants business impact. Instead: tie it to cost, tickets or conversion.
  • Mistake: Claiming sole credit. Why it is wrong: it sounds unrealistic. Instead: say what you did and credit others.
  • Mistake: No sustainment. Why it is wrong: gains often drift back. Instead: name the alert, dashboard or standard.

🏛 Senior insight: trade-offs

Senior engineers choose the improvement with the best return, prove it with data and protect it. What lifts the answer is the business case, incremental delivery behind flags, honest attribution and the mechanism that keeps the gain.

Approach When it fits Cost When not to
Incremental, flag-guarded steps Most production systems Slower to finish Throwaway prototypes
Targeted rewrite of one component Component beyond repair Higher risk When the bottleneck is elsewhere
Infrastructure scale-up Urgent, short-term relief Ongoing cost As the only fix for inefficient code

Measure with percentiles, cost and tickets before and after, under comparable load.

🔗 Follow-ups the interviewer may ask

  1. When: Candidate mentions convincing a product manager to fund the improvement. Why: Checks how they use data to win time for reliability or improvement work.
    How to answer

    I make the case in business terms with data, not as "we need tech debt time". I bring the cost of the outage (customers affected, revenue, support tickets), the error budget burn against our SLO, the repeat pattern across postmortems, and the engineering hours lost to incidents and toil.

    Then I bring a short, ranked list of specific fixes, each sized and tied to a risk it removes, and options for the product manager: for example 20% of capacity for two sprints, or one focused sprint. Items go into the same backlog with acceptance criteria. If we have an error budget policy, it does much of the arguing for me. Afterwards I report the outcome: fewer incidents, lower burn, fewer pages. The trade-off is real: every reliability sprint delays a feature, so the work has to earn its place.

  2. When: Candidate mentions technical debt as the cause. Why: Checks how they track and prioritise technical debt with cost of delay.
    How to answer

    A technical debt register is a prioritised backlog of known debt, where every entry records what it is, the interest it charges, the effort to fix, an owner and the evidence: lead time in that area, incident counts, hours lost.

    • Interest is the ongoing cost: extra days on every change in that area, incidents, on-call hours, audit risk.
    • I prioritise with cost of delay divided by effort (WSJF), focusing on debt in hotspots we change often. Debt in code nobody touches can wait.
    • I make the case to product owners in business terms, backed by that evidence: "Every pricing change takes five extra days and caused two incidents this quarter; three sprints of work removes that."
    • Paying down: a fixed capacity slice (15–20%) plus fixing debt in areas we're already changing.

    The trade-off: not all debt is worth paying. Track it, measure its interest, and pay the expensive debt first.

  3. When: Candidate gives strong before-and-after numbers. Why: Checks long-term ownership of gains.
    How to answer

    Two things: guard rails and team ownership. Guard rails are a p95 or cost alert with a threshold, a dashboard the team reviews in a regular slot, performance tests in CI for the hot path, and a standard (e.g. DTO projection, no N+1) checked in code review. Ownership means the team agrees the metric matters, someone owns it, and when it drifts we treat it in a retro to understand why, so keeping the gain is part of how the team works, not one person's crusade.

🛠 Real-world problems: how you handle them

Cutting search latency and database cost
Situation
[Search API] with p95 [~2.5 s], [rising support tickets], [Azure SQL tier cost $X/month]; no owner.
Signals
Application Insights p95/p99, Query Store top queries, support ticket trend, Azure Cost Management.
Investigation
Baseline metrics; Query Store and execution plans; EF Core query logging revealed N+1; half-page business case for the product owner.
Resolution
Covering index, DTO projection with AsNoTracking, removal of N+1, short-lived caching, each behind a feature flag and measured.
Prevention
p95 alert, dashboard, performance test on the hot path, review standard against N+1.

How to tell it (STAR)

**S:** At [company], our [search API] had p95 of [~2.5 s] and slowness tickets had [doubled]. **T:** I offered to fix it, and needed the time approved. **A:** I baselined with Application Insights and Query Store, found [a key lookup and an N+1 query], and wrote a half-page case linking speed to [conversion]. With [two sprints] approved, I shipped [an index, DTO projection and caching] behind a flag, measuring after each step. **R:** p95 fell to [300 ms], we [dropped a database tier, saving $X a month], tickets fell [Y%], and a p95 alert keeps it there.

↩ Usually asked after

More in Behavioral Interview Topics

Last updated 23 Nov 2026.

🌐 Sangam's Webring

⏪ Previous 🏠 Main Next ⏩
💬 Chat with me