Lesson 29 of 30
When an alert fires, the first question is always 'was this us?' If your monitoring shows deploy markers next to the error graph, you already know the answer.
15 min read
Every option explains itself — why the right one is right, and why each wrong one is wrong. Miss one and it comes back later on a spaced-repetition schedule.
This topic is about judgment and practical tradeoffs more than a single right answer — a mock interview is the better way to test yourself on it.
Be interviewed on this →Hints without spoilers, and a plain explanation of why a wrong answer was wrong — answered only from this lesson. Free account, no card.
Sign up freeWhat interviewers actually ask about this, and what a strong answer has to cover.
A strong answer covers
Likely follow-ups
An error-rate alert fires. The first question anyone on call asks is "was this us?" — did a recent deploy cause this, or is it something external (a dependency outage, a traffic spike, a bad actor)? Answering that fast matters more than it sounds: if it was a deploy, the fix is often a rollback that takes two minutes; if it wasn't, a rollback wastes those two minutes and the real cause is still live.
The way you answer it fast is by making deploys visible inside the same tool that shows you errors — a vertical line on the error-rate graph marking exactly when each deploy went out. Without that, "was this us" means someone manually cross-referencing a deploy log against a timestamp, during an active incident, which is exactly when you have the least attention to spare for detective work.
A deploy job that also tells your monitoring tool it happened:
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pnpm build
- name: Deploy
run: vercel deploy --prod --token=$VERCEL_TOKEN
- name: Record deploy marker in Sentry
run: |
curl -sf -X POST "https://sentry.io/api/0/organizations/$SENTRY_ORG/releases/" \
-H "Authorization: Bearer $SENTRY_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"version\": \"${{ github.sha }}\", \"projects\": [\"praxis\"], \"dateReleased\": \"$(date -u +%Y-%m-%dT%H:%M:%SZ)\"}"
Now Sentry's (or Datadog's, or whatever the monitoring tool is) error-rate dashboard shows a thin vertical line at 2026-09-09T14:17:00Z labeled with that commit SHA. If the error spike's leading edge sits right on that line, that's not a coincidence to investigate — that's your answer.
Rolling back to the last known-good deploy as fast as possible, before fully understanding why the new one broke things, is precisely the technique the rollbacks lesson covers. Incident response doesn't introduce a new tool — it's that same fast-revert instinct, just now with a live outage supplying the urgency to actually use it immediately instead of debating it.