SRE Practices Questions with Answers

18 practice questions on SRE Practices (DevOps & Kubernetes) with answers and step-by-step solutions. Try 10 samples below, then practise all 18 free in the AptiNest app.

Sample questions

Question 1Easy

During an incident, what should the first priority usually be?

  1. Refactor the code
  2. Find who caused it, so they can be removed from the on-call rota before more damage is done
  3. Write the postmortem
  4. Mitigate user impact, then find the root cause

Answer: D. Mitigate user impact, then find the root cause

Explanation

Restoring service (rollback, failover) comes first; deep analysis follows.

Step-by-step solution

  1. During an incident, user impact comes first.
  2. Restore service quickly with a rollback, failover, or other mitigation.
  3. Find the root cause after service is restored. Option D is correct.

Why the other options are wrong

  • A. Refactoring during an incident adds risk and delays recovery.
  • B. Blaming a person is not the first priority.
  • C. The postmortem comes after recovery, not first.

Tip: Stop the bleeding first, then find the cause.

Question 2Easy

MTTR stands for:

  1. Mean test-to-run ratio
  2. Mean time to recovery (or repair)
  3. Minimum traffic to route
  4. Maximum time to release

Answer: B. Mean time to recovery (or repair)

Explanation

It is the average time to restore service after a failure; lowering it improves availability.

Step-by-step solution

  1. MTTR means Mean Time To Recovery.
  2. It measures how long it takes to fix a problem.
  3. Mean time to recovery (or repair) is the correct term.
  4. This matches option B exactly.
  5. Final answer: B (Mean time to recovery (or repair)).

Why the other options are wrong

  • A. MTTR is not a test ratio; it measures how long recovery takes after a failure.
  • C. Traffic routing minimums are not part of MTTR; it measures recovery time after failures.
  • D. Release time is not MTTR; MTTR is the average time to restore service after a failure.

Tip: Remember MTTR = Mean Time To Recovery.

Question 3Easy

What is an SLO (Service Level Objective)?

  1. A deployment strategy
  2. A target for an SLI, such as 99.9% of requests succeed over 30 days
  3. A contract with customers that includes financial penalties if the target is missed
  4. A log format

Answer: B. A target for an SLI, such as 99.9% of requests succeed over 30 days

Explanation

SLOs set the reliability goal that engineering decisions are measured against.

Step-by-step solution

  1. SLO stands for Service Level Objective.
  2. It sets a target for an SLI over a time window.
  3. Option B gives this target, so it is correct.

Why the other options are wrong

  • A. A deployment strategy is a rollout method, not a reliability target.
  • C. A contract with financial penalties describes an SLA.
  • D. A log format is unrelated.

Tip: SLO = internal target for an SLI; SLA = customer contract.

Question 4Easy

A blameless postmortem focuses on:

  1. What in the system and process allowed the failure
  2. Finding the person responsible so that the same mistake is not repeated by them
  3. Hiding the incident
  4. Rewriting the code from scratch

Answer: A. What in the system and process allowed the failure

Explanation

Without blame, people share details openly, which leads to real fixes.

Step-by-step solution

  1. A blameless postmortem looks at system and process issues.
  2. It identifies what went wrong in the system or process.
  3. This helps prevent similar failures in the future.
  4. Finding a person responsible is not the focus here.
  5. The goal is to improve systems, not assign blame.
  6. Final answer: A (What in the system and process allowed the failure).

Why the other options are wrong

  • B. Naming a person as the cause is what blameless postmortems avoid; the focus is on systems and processes.
  • C. A postmortem documents the incident to learn from it; hiding it defeats the purpose.
  • D. A postmortem is about learning from the failure, not rewriting code from scratch.

Tip: Focus on system flaws, not personal blame, for effective problem-solving.

Question 5Medium

Which is a good availability SLI for an HTTP API?

  1. Successful requests / valid requests
  2. Number of servers running
  3. CPU usage
  4. Number of deploys per day, since frequent deploys show that the service is healthy

Answer: A. Successful requests / valid requests

Explanation

Ratio SLIs reflect what users experience; infrastructure counts do not.

Step-by-step solution

  1. Successful requests / valid requests shows user experience directly.
  2. Other options measure infrastructure, not user interaction.
  3. Ratio SLIs are better for availability metrics.
  4. Number of servers running is not a user-focused metric.
  5. CPU usage reflects system health, not service availability.
  6. Final answer: A (Successful requests / valid requests).

Why the other options are wrong

  • B. Server count is an infrastructure number; it does not show whether users got successful responses.
  • C. CPU usage reflects load, not whether users get successful responses, so it is a weak availability SLI.
  • D. Deploy count is a change-rate measure and says nothing about health; frequent deploys can also break things.

Tip: Use ratios to measure user-facing performance, not server counts or CPU usage.

Question 6Medium

What is the purpose of an on-call runbook?

  1. A list of every employee's phone number, so the on-call engineer can call whoever wrote the code
  2. A coding style guide
  3. Step-by-step guidance for diagnosing and mitigating known alerts
  4. A list of features for the next quarter

Answer: C. Step-by-step guidance for diagnosing and mitigating known alerts

Explanation

Runbooks shorten response time and spread knowledge.

Step-by-step solution

  1. A runbook is a document used by the on-call engineer.
  2. It lists steps to diagnose and mitigate known alerts.
  3. Option C matches this, so it is correct.

Why the other options are wrong

  • A. A contact list of employees is not a runbook.
  • B. A coding style guide is a different document.
  • D. A feature list for next quarter is unrelated to on-call.

Tip: A runbook turns a known alert into a set of steps.

Question 7Medium

An SLO is 99.9% availability over 30 days. How much downtime is the error budget?

  1. 43.2 minutes
  2. 8.76 hours
  3. 432 minutes
  4. 4.32 minutes

Answer: A. 43.2 minutes

Explanation

0.1% of 43,200 minutes = 43.2 minutes.

Step-by-step solution

  1. Total time in 30 days = 30 * 24 * 60 = 43200 minutes.
  2. Error budget = 0.1% of 43200 = 43200 * 0.001 = 43.2 minutes.
  3. So downtime allowed is 43.2 minutes.
  4. This matches option A.
  5. Final answer: 43.2 minutes.

Why the other options are wrong

  • B. 8.76 hours is the yearly budget at 99.9 percent, not the 30-day one; 30 days allow 43.2 minutes.
  • C. 432 minutes is ten times too large; 0.1 percent of 43200 minutes is 43.2, not 432.
  • D. 4.32 minutes is ten times too small; 0.1 percent of 43,200 minutes is 43.2 minutes.

Tip: Use formula: Error budget = Total time * SLO percentage.

Question 8Medium

An SLO says 99.5% of requests succeed. In a month with 2 million requests, how many may fail?

  1. 100,000
  2. 5,000
  3. 1,000
  4. 10,000

Answer: D. 10,000

Explanation

0.5% of 2,000,000 = 10,000 failed requests.

Step-by-step solution

  1. Total requests are 2,000,000.
  2. Failure rate is 0.5% of total requests.
  3. 0.5% of 2,000,000 = 10,000.
  4. So, 10,000 requests may fail.
  5. Final answer: 10,000.

Why the other options are wrong

  • A. 100,000 is 5 percent of 2 million, which fits a 95 percent target, not 99.5.
  • B. 5,000 is only 0.25 percent of 2 million; 0.5 percent is 10,000.
  • C. 1,000 is only 0.05 percent of 2 million; 0.5 percent of 2 million is 10,000.

Tip: Use formula: Failures = Total Requests × Failure Rate (as decimal).

Question 9Hard

Why is a 100% availability target usually a mistake?

  1. 100% is easy to reach with enough redundancy, so it is the standard target for all services
  2. Monitoring cannot measure 100%
  3. SLAs forbid 100%
  4. It is unattainable, blocks all change, and users cannot tell beyond a point

Answer: D. It is unattainable, blocks all change, and users cannot tell beyond a point

Explanation

Networks and clients fail anyway; each extra nine costs much more, so targets should match user needs.

Step-by-step solution

  1. 100% availability means no downtime ever.
  2. But networks and clients can still fail, making it impossible to achieve.
  3. Trying for 100% blocks necessary changes to improve service.
  4. Users cannot notice improvements beyond a certain point.
  5. This makes 100% unattainable and counterproductive.
  6. Final answer: It is unattainable, blocks all change, and users cannot tell beyond a point.

Why the other options are wrong

  • A. Redundancy cannot make a service 100 percent available, so 100 percent is not a sensible standard target.
  • B. Monitoring can report 100 percent over a window; the problem is that the target is unattainable, not unmeasurable.
  • C. SLAs are negotiated contracts and do not ban a figure; the real issue is that 100 percent cannot be reached.

Tip: Set realistic targets based on user expectations, not 100%.

Question 10Hard

Why do SRE teams alert on error-budget burn rate rather than every error spike?

  1. It removes the need for SLOs
  2. Spikes never matter
  3. Burn rate is easier to compute than error rate, so the alerting rules are simpler to write
  4. It pages only when reliability is truly at risk

Answer: D. It pages only when reliability is truly at risk

Explanation

Fast-burn and slow-burn alerts catch both sudden outages and gradual degradation with less noise.

Step-by-step solution

  1. Every system has some errors.
  2. Burn rate shows how fast the error budget is used.
  3. Alerting on it pages only when reliability goals are at risk.

Why the other options are wrong

  • A. SLOs are required.
  • B. Spikes can matter, but not all.
  • C. Simplicity is not the reason.

Tip: Alert on budget burn.

Practise all 18 questions free

The full question bank with timed practice, progress tracking and Vidya, your AI tutor. Free, no ads.

Open this topic in the app →

Related topics

See all DevOps & Kubernetes topics · All topics