Production Debugging interview questions
100 Backend Engineering practice questions. Read what a strong answer covers, then practise it out loud against the clock.
Practise Production Debugging questionsBeginner
- A third-party API is down
- Dashboards that help during incidents
- Error rate spikes right after a deployment
- Failing background job leaves no trail
- Feature flags as kill switches
- Google SRE's four golden signals
- Incident roles
- Incidents and severity levels
- Load balancer returns 502 and 504 errors
- Log levels
- Logs are too noisy to be useful
- Logs, metrics and traces for debugging
- MTTD and MTTR
- On-call basics
- One customer gets errors, others don't
- Paged at 3 a.m. for an unfamiliar alert
- Percentiles vs averages for latency
- Rollback vs roll forward
- Root causes and contributing factors
- Running a blameless postmortem
- Server disk is full
- Service cannot connect to the database after deployment
- SLIs, SLOs and SLAs
- Structured logging for production debugging
- The RED method
- The USE method
- TLS certificate expired
- Token validation fails on some servers
- Users say the site is slow
- Using error budgets in practice
- What a useful log line contains
- What makes a good alert
- When to use logs, metrics or traces
- Writing useful runbooks
Intermediate
- Burn-rate alerting
- Cache hit rate drops suddenly
- Connection pool exhausted
- Correlating incidents with changes
- Counters, gauges and histograms
- Customers report missing records
- Database CPU is at 100 percent
- Debugging services in Kubernetes
- eBPF-based observability
- Error tracking tools
- Exemplars linking metrics to traces
- Finding slow queries in production
- Head-based vs tail-based trace sampling
- High-cardinality metrics
- Intermittent timeouts to a downstream service
- Investigating high CPU in production safely
- Latency creeps up over weeks
- Linux performance triage in 60 seconds
- Log aggregation pipelines
- Memory leak that only shows up in production
- Monitoring message queues and consumers
- On-call engineers suffer alert fatigue
- Order queue backlog explodes
- p99 latency is high while p50 is fine
- Pods are OOMKilled after a traffic increase
- Problem only on one instance
- Real user monitoring vs synthetic monitoring
- Rollback didn't fix the problem
- Scheduled job ran twice or not at all
- Slow DNS lookups in Kubernetes
- Sudden 429 errors from a partner API
- Taking dumps safely in production
- Tools for debugging network problems
Experienced
- A bug has been corrupting data for days
- A configuration change takes down every region
- A persistent 1 percent error rate nobody can explain
- Accidental cache flush overwhelms the database
- An incident with almost no useful telemetry
- Automated remediation
- Capacity planning for backend services
- Clock skew breaks ordering logic
- Connection resets between services
- Controlling observability costs
- Correlated failures and shared fate
- Customer issue invisible in overall metrics
- Debugging across clocks and causality
- Designing SLOs around user journeys
- Detecting silent data loss in a pipeline
- Gray failures in production
- Hot partition throttling in production
- Kafka consumer lag spikes from rebalancing storms
- Latency spikes caused by a noisy neighbour
- Leading a major outage as incident commander
- Making postmortem actions effective
- Managing a slow memory leak while hunting it
- Metastable failures
- Migration causes a database lock pile-up
- Monitoring vs observability
- One region is slower than the others
- Partial network degradation in one zone
- Proving a third-party provider is at fault
- Reducing time to recover across an organisation
- Running incident command at scale
- Safe deployment practices at scale
- System stays down after the traffic spike ends
- Two database nodes both think they are primary