LyraLearn AI Learning Platform
Exams
← Module 9 Β· Debugging and Ops Scenarios
🎧 Listen

The Performance Hunt

"Users say the app got slow last week. How do you investigate?" Unlike the outage question, nothing is on fire β€” which means the interviewer is watching for method. The common mistake is jumping to a favorite villain ("probably needs caching") before measuring anything. The strong candidate is boringly empirical: measure, narrow, fix, prove.

Metrics first, always

Start by making "slow" concrete: "Slow for everyone or some users? Which pages? What's the p95 latency now versus two weeks ago?" Averages hide pain β€” say p95/p99, not "average response time," and interviewers notice. Then triangulate with the tools an Azure shop actually has: Application Insights (or any APM) for the slowest requests and their dependency breakdowns, SQL query stats for the top offenders by duration and reads, and server metrics for CPU, memory, and GC pressure. The APM dependency view usually answers the first big question in minutes: is time spent in our code, the database, or someone else's API?

Since it "got slow last week," correlate with what changed β€” a deployment, a data-volume milestone (that table finally crossed 10 million rows), a new integration, or traffic growth.

The usual .NET suspects

Name these fluently, with the one-line fix for each:

Proving the fix

This is where candidates separate. State the discipline: capture the baseline number, change one thing, re-measure the same metric under comparable load, and keep the before/after in the ticket. "p95 on the search endpoint went from 3.2s to 240ms after adding the composite index" is an interview-winning sentence β€” and the habit that stops performance work from becoming superstition.

Red flags

Practice prompts

  1. "App Insights shows 80% of request time inside one SQL dependency. What are your next three steps?"
  2. "The app is fast at 9 AM and crawls at 2 PM. What hypotheses does that pattern suggest?"
  3. "Your index fix worked in staging but prod is still slow. Why might that be?"
🧠 Quiz yourself on this lesson →

Ask the AI Tutor

Grounded in the course lessons β€” it cites its sources and says when it doesn't know.