Book 9 · Volume V — CI/CD & DevOps Architecture · Topic 1.2
Development + Operations
Shared ownership of building and running software
11 min readStage 4 · Production & architecture10 interview questions
Written byMaheshFounder · Senior Technical Architect
Chapter
Chapter 1 — DevOps Fundamentals
Prerequisites
Topic 1.1
You will be able to
Design team structures where development and operations share ownership, apply SRE practices such as SLOs and error budgets, set up sustainable on-call and incident management, run production-readiness reviews, align incentives and metrics, and choose production access models
Development + Operations describes the organisational integration at the heart of DevOps: the people who build software also share responsibility for running it, supported by platform and reliability specialists. Instead of developers optimising for change and operators for stability, both optimise for customer outcomes measured by shared metrics such as SLOs.
# Runbook automation: SSM Automation document for a common mitigationaws ssm start-automation-execution --document-name "ShopNow-ScaleCheckout" \ --parameters "Replicas=120,Reason=INC-2291"
6Practical Examples
6.1 Operability improved by ownership
After teams went on-call, they added structured logs, trace IDs and dashboards within weeks — pages went from 11 to 2 per week because noisy alerts were fixed by those who felt them.
6.2 Error budget freeze
Checkout exhausted its error budget after two incidents; the team paused features for two weeks to fix connection pool issues. The next quarter had zero budget burns.
6.3 PRR caught missing limits
A new loyalty service's PRR found no timeouts on a partner API; adding them prevented cascading failure during a partner outage later.
6.4 Worked example — SLO selection
Journey
SLI
SLO
Browse
Latency p99 < 300 ms
99.9%
Checkout
Success ratio
99.95%
Order history
Availability
99.5%
Table 9 — SLOs per user journey
6.5 Worked example — alert classes
Class
Route
SLO fast burn
Page
SLO slow burn
Ticket
Resource warnings
Dashboard only
Table 10 — Page on symptoms
6.6 Worked example — toil inventory
Toil
Automation
Manual certificate renewals
cert-manager
Scaling for sales
Scheduled pre-scaling
Restarting stuck consumers
Liveness + self-healing
Table 11 — Eliminate toil
6.7 Worked example — interview whiteboard
Prompt
Answer outline
"How should development and operations be organised?"
"Stream-aligned teams build and run their services (on-call, SLOs, dashboards) using a platform team's paved roads; enabling SRE/security teams coach; SLOs per journey with error budget policies balancing speed and reliability; sustainable on-call (≥ 6 per rotation, burn-rate paging, runbooks, compensation); PRRs before launch; blameless incident process; production access via pipelines, read-only observability, JIT elevation."
Table 12 — Structured answer
6.8 Worked example — PayGrid model
Element
Detail
Central SRE for cells
Deep expertise
Service teams own CDE services
With dual-approval deploys
Table 13 — Hybrid for complex platforms
6.9 Worked example — anti-patterns
Anti-pattern
Effect
On-call without authority to fix
Burnout
Paging on CPU thresholds
Alert fatigue
Ops as change gatekeeper
Slow delivery
No compensation for on-call
Attrition
Table 14 — Common mistakes
6.10 Worked example — incident communication
Channel
Audience
Incident Slack channel
Responders
Status page
Customers
Exec summary
Leadership
Table 15 — Structured comms
6.11 Worked example — handoffs
Practice
Detail
On-call handoff notes
Open issues, risks
Table 16 — Continuity
6.12 Worked example — shared metrics
Metric
Owner
SLO attainment
Team + SRE
Deploy frequency
Team
Platform SLOs
Platform
Table 17 — Aligned incentives
6.13 Worked example — embedded vs central SRE
Model
Pros
Cons
Embedded
Context
Spread thin
Central
Consistency
Distance
Hybrid (ShopNow)
SRE enabling team + consultations
—
Table 18 — Choose by scale
6.14 Worked example — game days
Exercise
Learning
AZ failure
Runbooks, capacity
Dependency slowdown
Timeouts, fallbacks
Table 19 — Practice incidents
6.15 Worked example — runbook quality
Criterion
Example
Linked from alert
Yes
Steps tested in last quarter
Yes
Table 20 — Usable at 3 a.m.
6.16 Worked example — interview follow-ups
Follow-up
Answer
"What if error budget is exhausted?"
Prioritise reliability; slow feature releases
"Who is on-call for the platform?"
Platform/SRE team
Table 21 — Common probes
6.17 Worked example — checklist
Item
✔
Teams own services end to end
✔
SLOs + error budgets
✔
Sustainable on-call
✔
PRRs
✔
Blameless incidents
✔
JIT production access
✔
Table 22 — Operating model baseline
6.18 Worked example — on-call load metric
Metric
Target
Pages per week
≤ 2
Night pages per month
≤ 1
Table 23 — Sustainability
6.19 Worked example — knowledge sharing
Practice
Detail
Monthly incident review forum
Cross-team learning
Table 24 — Sharing (CALMS)
6.20 Worked example — hiring and skills
Skill
Development
Observability, incident response
Training, shadowing
Table 25 — Invest in operational skills
6.21 Worked example — interview scenario
Question
Answer
"Developers refuse on-call"
Fix alert quality, runbooks, platform support, fair compensation; start with business hours
Table 26 — Make ownership humane
6.22 Worked example — incident severity levels
Sev
Definition
Response
SEV1
Checkout down / data risk
IC + exec comms, 5 min
SEV2
Degraded tier-0
IC, 15 min
SEV3
Minor, workaround
Team, business hours
Table 27 — Shared language for incidents
6.23 Worked example — postmortem action tracking
Metric
Target
Actions closed within 30 days
> 80%
Table 28 — Learning must lead to change
6.24 Worked example — service ownership in catalog
Field
Use
owner team, on-call schedule, runbook
Routing during incidents
Table 29 — Ownership must be discoverable
6.25 Worked example — dev-ops shared rituals
Ritual
Purpose
Weekly ops review per team
SLOs, alerts, toil
Monthly reliability review (org)
Trends, cross-team issues
Table 30 — Operations as part of development cadence
6.26 Worked example — capacity planning ownership
Activity
Owner
Load tests before sales
Service teams
Cluster capacity
Platform
Table 31 — Shared, explicit responsibilities
7Common Problems & Mistakes
Mistake
Fix
Pager without platform
Paved roads first
Noisy alerts
SLO-based paging
Gatekeeping ops
Guardrails + automation
Blame
Blameless reviews
Table 32 — Mistakes and fixes
The model fails most often when ownership is handed over without the means to exercise it. Putting developers on call before there is a platform, good observability and runbooks simply moves the pain, so build paved roads first. Noisy, cause-based alerts follow close behind: CPU thresholds and single pod restarts page people for things users never notice, and teams quickly learn to ignore the pager. Another mistake is keeping operations as a gatekeeper that approves changes by hand, which slows delivery without making it safer; replace approval queues with automated guardrails, canaries and policy checks. Finally, blame in incident reviews teaches people to hide mistakes, so run blameless postmortems focused on system causes and track their actions to completion.
8Performance & Production Considerations
Consideration
Practice
Incident MTTR
Runbooks, automation
Burnout
On-call limits
Reliability vs speed
Error budgets
Table 33 — Operating the model
Measure the operating model like any production system. Mean time to restore depends less on heroics than on preparation: runbooks linked from alerts, one-click mitigations, clear severity levels and practised incident roles. Track on-call health per team, including pages per week, night pages and the share of pages that needed no action, and treat breaches as work to prioritise, because burnout is an availability risk that eventually shows up as attrition. Track SLO attainment next to deployment frequency, so gains in speed cannot hide falling reliability. Postmortem actions need owners and deadlines; ShopNow targets more than 80% closed within 30 days. Review these numbers in weekly team ops reviews and a monthly organisation-wide reliability review.
9Architecture & Design Considerations
Guideline
Detail
Operability as a requirement
PRR
SLOs drive design
Resilience patterns
Access via automation
Safety
Table 34 — Design guidance
10Interview Questions & Answers
Q1L1 · BasicConcept
What does "you build it, you run it" mean?
It means the team that builds a service also operates it in production: it deploys it, is on call for it, watches its dashboards and SLOs, handles its incidents and fixes their causes. The phrase comes from Werner Vogels at Amazon. The point is the feedback loop. When builders feel the pain of noisy alerts, missing logs or fragile deployments, they fix them quickly, which is why ShopNow's pages fell from 11 to 2 a week after teams went on call. It only works with support: a platform team providing paved roads, SRE coaching, good tooling and the authority to change what hurts. Without that, it simply moves the pager to another desk.
Q2L1 · BasicConcept
What is an SLO?
An SLO, or service level objective, is a target for how reliable a service should be, measured through a service level indicator over a time window. The SLI is a ratio of good events to total events, such as successful checkout requests or requests served in under 400 milliseconds, and the SLO sets the target, for example 99.95% success over 28 days. SLOs should reflect what users experience on a journey, not internal resource metrics. They differ from SLAs, which are contractual promises with penalties and are usually looser. ShopNow defines SLOs per journey as code in OpenSLO format: browse at 99.9%, checkout at 99.95% and order history at 99.5%.
Q3L2 · IntermediateConcept
What is an error budget?
An error budget is the amount of unreliability an SLO allows: one minus the SLO over the window. A 99.95% success SLO over 28 days permits 0.05% of requests to fail, roughly 20 minutes of full-outage equivalent. The budget turns reliability into a shared, measurable resource. While budget remains, teams can ship quickly and take reasonable risks; when it runs low, the agreed error budget policy slows change. At ShopNow, below 25% remaining every change needs canary analysis and non-critical releases pause, and an exhausted budget triggers a feature freeze until it recovers. Checkout used this after two incidents, fixed its connection pool problems and had no budget burn the next quarter.
Q4L2 · IntermediateConcept
What team types exist in Team Topologies?
Team Topologies, by Matthew Skelton and Manuel Pais, defines four team types. Stream-aligned teams own a flow of business value, such as checkout, and build and run their services end to end; most teams should be of this type. Platform teams provide self-service infrastructure, paved roads and tooling that reduce the cognitive load on stream-aligned teams. Enabling teams, such as SRE or security specialists, coach other teams in new practices and then step back rather than doing the work for them. Complicated-subsystem teams own components that need deep specialist knowledge, like a payments core or an ML model. The book also defines three interaction modes: collaboration, X-as-a-service and facilitating.
Q5L3 · Senior EngineerTricky
What should trigger a page?
A page should fire only for user-impacting symptoms that need a human now, typically a fast SLO burn rate, such as consuming 2% of the monthly error budget within an hour. Slower burns become tickets for working hours. Cause-based alerts, such as high CPU, memory or disk, or a single pod restart, should not page: they often do not hurt users, they fire constantly in elastic systems, and they train people to ignore the pager. Keep them on dashboards for diagnosis. Every paging alert needs an owner, a linked runbook and a clear action. ShopNow targets no more than two pages per on-call week and treats a page with no action as a defect.
Q6L3 · Senior EngineerConcept
What is a production readiness review?
A production readiness review is a structured check, before a service launches or takes tier-0 or tier-1 traffic, that it can be operated safely. It uses a shared checklist: observability, with RED metrics, traces, dashboards and SLOs; alerting, with burn-rate alerts and linked runbooks; resilience, with timeouts, retries, circuit breakers and multi-AZ deployment; capacity, through load tests and dependency limits; deployment, with canaries and tested rollback; security, with a threat model and clean scans; and ownership, with an on-call rota and catalog entry. It is a collaboration with SRE, not a gate run by a separate ops team. ShopNow's review once caught a missing partner API timeout that later prevented a cascade.
Q7L4 · Technical ArchitectDesign
How do you make on-call sustainable?
Treat on-call as a system with measurable load. Rotations need enough people, at least six, so each person is on call about one week in six, with primary and secondary roles. Alert quality matters most: page only on SLO burn, delete or downgrade alerts that need no action, and review every page weekly. Each alert links to a tested runbook, and recurring mitigations become automation, such as SSM documents or self-healing. Compensate fairly with an allowance and time off after night pages. Set targets, such as two pages a week and one night page a month, and give teams the authority and platform support to fix whatever keeps waking them.
Q8L4 · Technical ArchitectDesign
How should humans access production?
By default, humans should not change production directly. Changes flow through pipelines and GitOps, where they are reviewed, tested and audited. Every engineer gets read-only observability, meaning dashboards, logs and traces with sensitive data masked. When an incident needs more, use just-in-time elevation that is time-bound, approved and recorded, for example a one-hour role granted through an access tool with the session logged. Break-glass admin access exists for emergencies, but it is rare, alarmed and reviewed afterwards. This gives teams the ownership they need without standing privilege, which limits both accidental damage and the impact of stolen credentials, and satisfies auditors in regulated systems such as PayGrid's.
Q9L5 · Solution ArchitectTricky
Why did "DevOps teams" fail?
Because many organisations renamed their operations team, or created a new team called DevOps, and gave it deployments and pipelines, which recreated a silo between the people who write code and the people who run it. Developers still threw changes over the wall, just to a different team, and that team became the new bottleneck; ShopNow went through exactly this at stage two of its evolution. DevOps is a way of working, not a job title or a team. Ownership must sit with stream-aligned product teams who build and run their services, supported by a platform team offering self-service tooling and enabling SRE who coach. Shared SLOs and DORA metrics keep incentives aligned.
Q10L5 · Solution ArchitectTrade-off
How do you balance speed and reliability?
Make the trade-off explicit with SLOs and an error budget policy agreed with the business, instead of arguing it release by release. Product owners and engineering agree what reliability users need on each journey and what happens when the budget is spent. Within budget, teams ship as fast as they like, using canaries, feature flags and automated rollback to keep each change's risk small. As budget runs low, changes need more verification; when it is exhausted, feature work pauses for reliability fixes. This removes the old conflict in which developers wanted speed and operations wanted stability. Speed and reliability also reinforce each other: small, frequent, reversible changes are safer than large, rare releases.