System Reliability and Availability Questions
Engineering systems to stay available and recover from failure. Covers redundancy, failover, graceful degradation, availability targets, and reliability trade-offs and safety. Includes SRE fundamentals and capacity-aware reliability design. Frames reliability as a property designed in, not bolted on.
Provide a simple, automatable smoke test script in bash that checks Postgres connectivity with psql, runs 'SELECT 1', measures latency, and exits nonzero if latency exceeds 200ms. Explain how you'd run this script as a pre-merge CI check without exposing credentials.
Integration issues often appear only after multiple teams' features are deployed together. As an SRE, design a strategy (test environments, selective integration tests, trunk-based testing) to catch cross-team integration issues earlier while keeping CI time reasonable.
Describe synthetic monitoring and propose three synthetic checks you would run for a public-facing REST API after an infrastructure change. For each check explain what it validates and how you would detect regressions automatically.
What is test data management in the context of infrastructure testing? Describe two strategies to manage secrets and credentials safely in test environments, e.g., ephemeral credentials and secrets redaction, and explain trade-offs.
Design an error-budget-aware testing policy that maps SLOs to testing aggressiveness. Given a 99.95% availability SLO for a service, show how you would calculate allowable disruptive experiments per month (like chaos tests or risky infra changes), and describe how to enforce and automate that policy in CI/CD.
Unlock Full Question Bank
Get access to all System Reliability and Availability interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.