Site Reliability Engineer question bank
392 questions. Filter by level and skill, track what you've solved, and see how many people get each one right.
- What is an SLO?
- Error budget for 99.9%
- The four golden signals
- Spotting toil
- Why blameless postmortems?
- How Prometheus collects metrics
- Linux load average
- Readiness vs liveness probes
- Downtime allowed by 99.99%
- Writing an SLI as a ratio
- What MTTR measures
- The USE method
- The RED method
- Counter or gauge?
- Why structured logs?
- Spans in a trace
- DNS TTL before a migration
- A 503 from the load balancer
- Reading logs of a systemd service
- Who is using port 8080?
- A process vanished overnight
- CrashLoopBackOff
- Logs from the crashed container
- What terraform plan does
- A useful runbook
- Grouping in Alertmanager
- Escalation policies
- Grafana template variables
- What is a canary release?
- Idempotent requests
- Mitigate first
- How Loki indexes logs
- Virtual users in k6
- Safer Bash scripts
- Hard link after deleting the original
- The t at the end of /tmp
- Mode of a new file with umask 022
- Hiding error messages of a command
- Process state Z in ps
- Signal sent by plain kill
- Signals a program cannot catch
- Where password hashes are kept
- Safe way to edit sudoers
- Keeping a job running after logout
- Files changed in the last 24 hours
- Meaning of exit status 0
- What /proc contains
- Creating a .tar.gz archive
- Searching every file in a folder
- Which column of free to trust
- The wa figure in top
- How many CPUs this box has
- Where kernel messages appear
- What swap is used for
- Top memory users with ps
- Per-disk busy time and latency
- Seeing the hops to a server
- Finding what fills /var
- Following a log that gets rotated
- Reading a kernel setting
- Which kernel is running
- A server with almost no free RAM
- Re-running a command every few seconds
- The real line from time
- Enable versus start
- After editing a unit file
- Listing units that failed
- Logs from before the crash reboot
- Package tool on RHEL and Ubuntu
- Seeing the server's IP addresses
- Pointing a name at a test server
- Setting up key login to a server
- Copying a file to another server
- What logrotate does
- Renaming a server for good
- Is the clock being synced
- Opening HTTPS in ufw
- Seeing a newly attached disk
- Checking only the response headers
- File names with spaces in a script
- Single quotes and variables
- Counting script arguments
- Putting today's date in a file name
- Running a step only if the last worked
- Counting error lines in a log
- Running a new script
- Variable missing in a child program
- Checking that a file exists
- What increase() returns
- The up metric
- What node_exporter provides
- Naming a new metric
- Finding the busiest endpoints
- Quieting alerts during maintenance
- Links inside alerts
- What OTLP is
- Tracing with little code
- Log level in production
- Observability vs monitoring
- SLO stricter than the SLA
- Why not aim for 100%?
- Error budget in requests
- A good latency SLI
- Choosing what to measure
- Downtime at 99.95%
- An SLA credit
- Data loss vs downtime targets
- Data loss with 6-hour backups
- Where outages come from
- A kill switch
- A burn rate of 1
- Why a 28-day window
- What N+1 means
- Why run load tests
- Setting incident severity
- The first status page update
- Keeping people informed
- Recording what happened
- What MTTA measures
- Handing over on-call
- Incident vs problem
- After a night of pages
- Using rate() on a counter
- Why add jitter to retries?
- Which alert should page?
- Percentiles vs average latency
- Circuit breaker half-open state
- The incident commander
- PodDisruptionBudget
- p99 latency across all instances
- No space left, but disk is not full
- Deleted the log, space not freed
- Reading vmstat output
- Cannot assign requested address
- Alerting when a job disappears
- The for clause in alert rules
- Inhibition in Alertmanager
- A label that broke Prometheus
- Why recording rules?
- Why run an OpenTelemetry Collector?
- Traces broken between services
- Exit code 137 in Kubernetes
- HPA shows unknown CPU
- A pod stuck in Pending
- Terraform state locking
- Unexpected changes in a plan
- Counting errors with LogQL
- Reading a slow trace
- k6 thresholds
- A script that hangs forever
- Timeouts in Go clients
- Errors during every rollout
- Budget spent, release planned
- Timeouts with a healthy database
- Catching certificate expiry
- Cutting Kubernetes cost safely
- How passwd edits a root-owned file
- Shared folder that keeps its group
- Symbolic chmod as a number
- Execute permission on a directory
- Deleting a read-only file
- What an inode does not hold
- Getting rid of zombie processes
- Child whose parent has exited
- How the shell starts a program
- Nice values for a batch job
- Too many open files error
- Seeing what a process has open
- SSH refuses a private key
- Script works by hand, fails in cron
- Reading a crontab line
- Permission denied on an executable
- Boot hangs on a missing data disk
- Giving one more user access
- Trailing slash in rsync
- su versus su -
- More CPU time than elapsed time
- Reading 40% iowait
- High st on a cloud VM
- Low total CPU, slow service
- Which process is hammering the disk
- Which config file is it reading
- What vm.swappiness controls
- Dropping caches to free memory
- Major and minor page faults
- Which function burns the CPU
- CPU usage at 3 AM yesterday
- Capturing traffic for Wireshark
- Every first request takes 5 seconds
- Thousands of TIME_WAIT sockets
- Sockets stuck in CLOSE_WAIT
- Databases and transparent huge pages
- I/O scheduler on NVMe
- Finding a crash dump
- Port open locally, not from outside
- Transfers capped at 11 MB/s
- Restarting a crashed service
- Changing a packaged unit safely
- After= without Wants=
- Service starts before the network is up
- Running a missed nightly job
- Service shows inactive right after start
- Journal empty after every reboot
- Finding what slows the boot
- Growing an LVM volume
- Disk enlarged, df unchanged
- Shrinking an XFS volume
- Permissions fine, nginx still denied
- Accept rule that never matches
- Reaching a private database
- dig and the app disagree
- Keeping one package at its version
- Which interface traffic will use
- Changing sshd_config remotely
- App keeps writing to the old log
- Certificate not yet valid
- Passing arguments through a wrapper
- Reading a file one line at a time
- Counter is zero after the loop
- Default when a variable is unset
- Removing a file extension
- Cleaning up when a script exits
- Creating a temp file safely
- Dividing numbers in Bash
- Matching a file name pattern
- Deleting files with odd names
- Writing a script with a heredoc
- Parsing -e and -v flags
- irate or rate?
- Metrics from a nightly job
- Checking a site from outside
- What a ServiceMonitor does
- Aggregating with without()
- Comparing with last week
- Alerting before a disk fills
- Jumping from a graph to a trace
- The traceparent header
- Why errors go missing from traces
- Joining logs and traces
- Calculating Apdex
- kube-state-metrics or cAdvisor
- Counting time series
- Three services in a chain
- Two replicas in parallel
- Budget left after an outage
- Rolling or calendar window
- What an error budget policy says
- Calculating burn rate
- How long the budget lasts
- An SLI for a data pipeline
- Do 404s count as failures?
- Promising more than a dependency
- Agreeing an SLO with product
- An SLO that is too strict
- Picking an initial target
- One SLI for success and speed
- Availability from MTBF and MTTR
- Planning for monthly growth
- Planning for a big sale
- Autoscaling at a flash sale
- Degrading instead of failing
- One slow dependency takes all threads
- An incident report for customers
- Roll back or roll forward?
- Declaring an incident
- When to write a postmortem
- Action items that get done
- How much toil is too much
- Sharing on-call across time zones
- Your payment gateway is down
- "Human error" as the cause
- Reviewing a near miss
- Business impact of an outage
- How much budget does a burn rate use?
- Retry amplification
- Combining percentiles from many servers
- Little's Law for capacity
- Tail latency with fan-out
- Throttled but not busy
- Handling overload
- Running a safe chaos experiment
- Why a short window in burn-rate alerts
- Coordinated omission
- Gaps in a rate() graph
- Misleading histogram quantiles
- Outage that outlives its trigger
- A hot cache key expires
- Wasted work after timeouts
- Go service OOMKilled under load
- Two leaders after a GC pause
- DNS failover that did not fail over
- Refactoring Terraform without destroy
- Double pages from HA Prometheus
- Broken tail-based sampling
- Alerting on queue lag
- Random packet drops on a busy node
- Listen queue overflows
- SLOs for a low-traffic service
- Where to measure the SLI
- Rollback blocked by a schema change
- A surprise network bill
- Emergency access to production
- What to drop when overloaded
- Slow requests, idle CPU
- Which pods are evicted first?
- Replacing a config file safely
- Binding port 443 without root
- Invalid cross-device link
- Container takes 10 seconds to stop
- A process kill -9 cannot stop
- Memory cost of fork
- ls says 50 GB, du says 2 GB
- Disk 100% for users but not for root
- Setuid on a Bash script
- Protecting a process from the OOM killer
- Root denied on an NFS share
- Root cannot delete a file
- limits.conf change has no effect
- Bad interpreter with a ^M
- RSS adds up to more than RAM
- %util at 100% on an NVMe drive
- Packet loss at one middle hop
- Uneven speed on a two-socket server
- Writes freeze for seconds at a time
- malloc succeeded, then OOM kill
- Container memory near its limit
- Reading /proc/pressure/memory
- Retransmission counter climbing fast
- Slow, but the flame graph looks calm
- Running strace on a busy service
- Spotting rare slow disk I/Os
- Latency improves under load
- RAM used but no process owns it
- Memory held by kernel slab caches
- Idle DB connections die silently
- Start request repeated too quickly
- Service writes to /tmp but nothing is there
- Read-only file system under systemd
- Stopping a service kills its helpers
- Variable set in /etc/profile is missing
- Cannot mount root after a hardware change
- New kernel will not boot
- SSH works, big transfers hang
- Second NIC drops incoming traffic
- Agent forwarding through a bastion
- nginx cannot bind to port 8081
- Many DNS queries per lookup in pods
- Patched OpenSSL, still vulnerable
- Running fsck on a live filesystem
- Suppressed messages in the journal
- unary operator expected
- Failure hidden inside a function
- Cron job runs twice at once
- Loop stops after the first host
- Looping over an array safely
- sed -i works on Linux, not on a Mac
- Job exited with code 143
- Command found, but not under sudo
- A 10-minute scrape interval
- Pushgateway hiding a dead job
- Dropping a noisy metric
- Adding a label from another metric
- Fleet error rate done right
- Reading histogram buckets
- Bucket edges and the SLO
- One span, many parent traces
- An alert reaches only one team
- Collector crashing under bursts
- A child span before its parent
- How many nodes to run
- Latency at 90% utilisation
- Retries and the SLI
- Counting requests or good minutes
- Do 429s burn the budget?
- Combining daily SLI numbers
- Two targets for one service
- A release during a freeze
- SLOs for an internal platform
- Blaming the cloud provider
- When a bad incident rolls off
- How many queue workers
- p99 per window vs a ratio
- Surviving a zone loss
- An SLI that looks too good
- Limits of the 5 whys
- The Swiss cheese model
- How many incidents per shift
- How big an on-call rotation should be
- Rewarding fewer incidents
- MTTR hiding the real picture
- Learning across postmortems
- A crowded incident channel