.NET Production Debugging Interview: From a Slow API to a Verified Fix
Practise a 35-minute senior .NET interview exercise: isolate a slow API, interpret progressively revealed evidence, and justify a fix you can verify. Includes a printable candidate pack and scoring rubric.
Why this interview skill matters
Senior .NET candidates are expected to do more than define async/await or name a cloud service. Can you narrow an incident with evidence, protect users while you investigate, and prove that a fix worked? That combination appears in selected employer postings: Martinet’s .NET Technical Lead emphasizes SQL, delivery, production diagnosis and mentoring; Société Générale’s Specialist Software Engineer calls out ASP.NET Core, async and concurrency, EF Core/SQL and Azure delivery; Zip’s Senior Backend Engineer combines C#/.NET, event-driven Azure services, testing and incident ownership. These are illustrative job descriptions, not a market ranking or a claim that every interview uses this exercise. Microsoft’s technical interview guidance also emphasizes problem solving, verification, and design trade-offs.
The scenario
You own an ASP.NET Core endpoint, GET /orders/{id}/summary. Release v42 enables an optional shipping ETA lookup. At roughly 110 requests per second, p95 latency rises from 210 ms to 2.4 s and HTTP 5xx from 0.2% to 6%. CPU moves from 39% to 43%. The numbers, service and release are synthetic. The accompanying PDF reveals additional clues in stages; write your answer to each stage before reading on.
Run the 35-minute mock
- Establish scope. Which routes, versions and cohorts changed? What would you compare against a stable baseline? Clarify impact and what the optional ETA represents for users.
- Compare hypotheses. Ask for a slow trace, SQL timing and plan evidence, downstream attempts, and relevant runtime counters. A deployment correlation, a timeout or a high thread count alone is not a diagnosis.
- Contain the incident. Explain whether to turn off the optional feature, roll back, or use another reversible action. State what stays correct and what temporarily degrades. Give an explicit recovery check.
- Design and verify the fix. Separate the cause of blocking from the cause of retry amplification. Set a total time budget; ensure cancellation reaches the dependency. Compare changes separately and together under the same workload.
- Explain it like a lead. Describe the owner, user impact, how you measured recovery, and what makes the fix safe to release. Use evidence rather than blaming a team or simply recommending more replicas.
What a strong answer sounds like
A strong answer explains how the proposed evidence distinguishes SQL latency, connection-pool wait, downstream retries and ThreadPool starvation. It stops the customer impact first, calls out the trade-off of dropping an optional ETA, and verifies both latency and order-summary correctness. It sets a canary stop condition and tests slow dependencies as well as the happy path. An answer that jumps straight to adding an index, increasing the timeout or scaling up without evidence misses the reasoning this interview is testing.
Use the PDF for the evidence reveals, candidate worksheet, worked answer and scoring rubric. For the underlying concepts, see the existing Production-Grade .NET Backend Interview Path and Microsoft’s ThreadPool diagnosis guidance.
Put it into practice
- Practice 1: Diagnose the Slow API — five questions on comparing traffic, traces, SQL and runtime evidence.
- Practice 2: Mitigate and Verify the Fix — five questions on feature flags, retry budgets and canary decisions.
Both tests are free. You can start without signing in; a free account is needed to see your score and answer explanations.
TechInterviewNotes Editorial Team · Updated 21 Nov 2026 ·