AWS design and SRE · senior
Alerts, dashboards, tracing and SRE practice
Good alerts use ratios and sensible windows and also notice when data disappears. Observability needs standard instrumentation, and SRE practice means testing limits and removing toil.
Explain it out loud
Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.
Practise by voiceThe notes
What you must know
- Alert on symptoms users feel, such as error ratio and latency, not on every cause.
- A rate window needs at least four scrape intervals. Use the error ratio (errors divided by all requests) with status =~ 5.. instead of a count of 500 only, and use for: so one spike does not page.
- up == 0 fires only while the target exists. If the whole deployment vanishes, there is no series. Add absent() alerts for key jobs.
- Empty dashboards after a move: check Prometheus Status, Targets and service discovery. The chain is Prometheus selectors, ServiceMonitor selectors, namespace selectors and the named port. A namespace label or a renamed port breaks it quietly.
- Design for many services: OpenTelemetry SDKs with standard resource attributes (service.name, deployment.environment), the OpenTelemetry Collector as agent and gateway for batching, filtering and sampling, and a Prometheus-compatible store with Grafana.
- Logs are structured with trace ids. Traces use sampling, and the cost of cardinality and retention is managed on purpose.
- Before a big sale, find platform limits: instance quotas, pod IPs, NAT connections, load balancer scaling, database connections, DNS capacity, API rate limits and third-party quotas. Compute needs from peak times the growth factor, add headroom, load test and run a game day.
- Toil is manual, repetitive, automatable work with no lasting value. Remove it by cost and risk, fix the cause, and measure hours saved.
The red pen
Common traps: mistake → fix
Mistake: More alerts mean safer systems
Fix: noisy alerts hide real ones.
Mistake: An alert on up == 0 catches a deleted service
Fix: no series, no alert.
Mistake: Load test each service alone is enough
Fix: the shared platform has limits too.
Easy to hard
Questions interviewers ask, easy to hard
- These alert rules page at night for nothing and missed an outage. What is wrong?
- Dashboards went blank after moving a service. How do you debug?
- Design observability for 150 services on EKS.
- What platform limits can stop scaling before a sale?
- Tell me about toil you removed.
Practise
Practise with these questions
Explain it out loud
Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.
Practise by voiceYour first interview is free
Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.