DevOps Culture and Delivery Practices Questions
The principles and engineering culture behind modern software delivery: what DevOps means as a shared-ownership way of working and how to ease development and operations friction, adopting DevOps, infrastructure-as-code and GitOps practices across teams, the software development lifecycle and its methodology trade-offs (waterfall, agile, trunk-based development and branching agreements), engineering velocity and how it is measured without perverse incentives, development standards and how they are rolled out, enforced, excepted and justified with a business case, code review policy, turnaround expectations and handling bypasses, governance of shared delivery assets and changes to production automation, and the role of a platform team in enabling faster, safer delivery. Focuses on why teams work this way and how to drive adoption, not on how to build the machinery. Pipeline and build mechanics, deployment and rollback techniques, infrastructure tooling, reliability practice, and incident handling are covered elsewhere.
A non-technical executive asks what DevOps actually means and why it is not just buying tools or creating a DevOps team. How would you explain it, and what would you say it changes about how work and ownership flow between development and operations?
Sample Answer
Direct answer
I would tell the executive: DevOps is a way of working in which the people who build software also share responsibility for running it, so problems are found and fixed quickly instead of being passed between teams. Tools help, but they do not create that shared responsibility, and a separate "DevOps team" often just becomes a third group in the queue.
An analogy a non-technical executive can use
Imagine a restaurant where the chefs cook and then slide plates through a hatch to waiters who have never seen the kitchen. When a dish comes back wrong, the waiters blame the chefs and the chefs blame the waiters' handling. DevOps is the kitchen and the floor agreeing on one goal (the customer enjoys the meal), seeing each other's problems, and fixing them together.
In software terms: development writes the code, operations keeps it running. Historically developers were rewarded for shipping features, operations for stability, so they pulled in opposite directions and handed work over a wall.
What it changes about work and ownership
- Ownership: the team that builds a service also carries responsibility for how it behaves in production, including being reachable when it fails ("you build it, you run it"). Being reachable means being on call: carrying the pager, the alert device or phone app that wakes the responsible person when the service breaks. You might say: "The team that writes the payment code is the first to be woken when it breaks, so they build it to break less."
- Shared goals: development and operations are judged on the same outcomes, such as how often changes reach customers and how quickly service is restored, not on opposing ones.
- Feedback: production data (errors, usage) flows back to the builders quickly, so learning is in days, not quarters.
- Smaller, more frequent changes: small changes are easier to understand and undo than big ones, so more frequent releases can actually be safer.
- Blameless learning (a review after an incident that asks how the process allowed it, not who to blame): after an incident the team asks what in the system allowed it, not who to punish, so people report problems early.
- Operations expertise moves closer: reliability specialists coach teams and build shared platforms, rather than owning every release as a gatekeeper.
Why not just buy tools or create a team?
- Tools automate whatever process you already have. If the process still has a wall in it, you get a faster wall.
- A "DevOps team" that owns deployments for everyone recreates the hand-off: developers request, the team queues, and developers still do not feel production consequences.
- What helps is a platform team (a group that builds shared tools for the product teams) that provides self-service tooling, meaning teams can deploy, create environments or roll back themselves without filing a ticket, while product teams keep ownership of their services.
Worked example
Before: a payment bug appears at 2 a.m.; operations pages a developer who is asleep, the developer needs a ticket approved to deploy a fix, and the next release window is Thursday. After: the owning team gets the alert, rolls back (returns to the previous working version) with a button they control, and fixes it the next morning in a small change.
One sentence for the executive: "DevOps is about who owns the outcome, not which tools we own, so I would look for teams that can ship and fix their own work."
What I would ask the executive to look for
Not the tool list, but whether a team can release on its own, how quickly it recovers from a bad release, and whether people can describe who owns each service.
Pull requests on your team sit unreviewed for days and leadership wants a review-turnaround commitment. How would you set realistic expectations, decide what happens when they are missed, and report on adherence without pushing people to rubber-stamp reviews or game the numbers?
Sample Answer
Direct answer
I would agree a commitment on the time to first substantive review response, not approval, tiered by pull request size, set with the team after a two-week baseline. I would define what happens when it is missed as a support ladder, not a penalty, and I would report adherence for the whole team alongside quality signals, so the number cannot be improved by rubber-stamping (approving without reading).
Set realistic expectations
- Baseline first. For two weeks, measure how long pull requests currently wait for a first meaningful review, by size. Setting a target before this is guesswork.
- Commit to first response, in working hours. A first response means a real review comment or approval, not an emoji. Approval time depends on the author's rework and is not the reviewer's to control.
- Tier by size. Small changes are quick to review; large ones take longer and should be split. Illustrative tiers: small (under about 100 changed lines) 4 working hours, medium 8, large 16, with large changes also prompting the author to split or walk the reviewer through it.
- Agree it with the team. Leadership sets the goal ("pull requests do not sit for days"); the team picks the numbers and the way reviewers are assigned. Run a pilot on one team for four weeks before extending.
When it is missed (the escalation ladder)
- At the SLA (service level agreement, the promised response time): an automatic reminder to the assigned reviewer.
- At 1.5 times the SLA (6 working hours for small, 12 for medium, 24 for large): another team member (a reviewer on rotation) takes it.
- At 2 times (8, 16 and 32 hours): the engineering manager steps in to clear reviewer load or reprioritise.
No one is penalised for a miss; repeated misses are read as a capacity or ownership problem.
Worked example (illustrative week, hours are working hours to first response)
| Tier (SLA) | Pull requests | Within SLA | Observed hours |
|---|---|---|---|
| Small (4) | 4 | 3 | 3, 6, 2, 1 |
| Medium (8) | 4 | 1 | 7, 12, 9, 30 |
| Large (16) | 2 | 1 | 20, 14 |
Overall 5 of 10 are within SLA, 50%. Per tier, the median first-response time is 2.5 hours for small, 10.5 for medium (the middle of 7, 9, 12, 30 is the average of 9 and 12) and 17 for large. Pooled over all ten, sorted as 1, 2, 3, 6, 7, 9, 12, 14, 20, 30, the median is 8 hours and the 90th percentile is 20 hours (the 9th of 10 values); with so few reviews that is only an illustration, and real reports use a month or more of data per tier. The finding is that the medium tier fails: three of four missed, with one at 30 hours. I would ask why before blaming anyone. Perhaps medium pull requests are big enough to need a block of time that nobody has, or the 8-hour target is too tight. I would adjust the target or add review time, then compare the next week.
Report without gaming
- Report at team level, never per person, using the median and the 90th percentile (the value that 9 in 10 reviews beat) per tier.
- Place quality beside speed: changes-requested rate (the share of reviewed pull requests where the reviewer asked for changes before approving; for example 3 of 10 is 30 percent) and reverts (changes undone after merge) or bug fixes after merge. The median is the middle value when sorted, so one 30-hour outlier does not distort it. A falling response time with falling changes-requested rate suggests rubber-stamping.
- Report the distribution of pull request sizes, since people can also game by splitting changes into trivial slices.
What would change my call: if the team is small enough that everyone sees every pull request, drop the formal tiers and use a single norm.
One engineer keeps bypassing pull-request review and pushing straight to the main branch, causing intermittent breakages. How do you handle it, both technically and with the person?
Sample Answer
Position. Fix the system first, then talk to the person. If one engineer can push to main, the real defect is that the control does not exist, not only that someone used the gap.
Technical fix (same day)
- Turn on branch protection on main: require a pull request (a proposed change others review), require at least one approval, require the automated checks to pass, and apply the rule to administrators too (so even people with admin rights cannot push around it).
- Add a CODEOWNERS file (a file naming who must review which paths) for sensitive directories.
- Make reverting cheap: a broken main is reverted first (a revert is a new change that undoes an earlier one, restoring the last good state) and debugged second, so breakages cost minutes.
- Provide a documented emergency path (a hotfix PR with one fast approver), because people bypass rules that have no legitimate fast lane.
With the person: a private 1:1 (a one-on-one meeting between a manager and one report), curious before corrective
- Open with facts, not a verdict. I would use SBI (Situation, Behavior, Impact, a feedback model from the Center for Creative Leadership): "On Tuesday afternoon (situation) you pushed commit a1b2c3 (a saved snapshot of code changes, identified by that id) directly to main without review (behavior); the nightly build failed and two teammates lost about an hour (impact)."
- Ask why. I might say: "Help me understand what was going on when you pushed that. What made going straight to main the easiest option at that moment?" Then I listen without interrupting. Common causes: reviews take a day, they work in a different time zone, they believed the change was trivial, or they were never told the rule. Each cause has a different fix; slow review is a team problem I would own.
- Agree expectations in writing: all changes go through PRs; if reviews are slow, say so in the team channel and I will unblock within a set time. I might say: "From now on every change to main goes through a pull request. If a review is stuck for more than half a working day, message me in the team channel and I will get it moving. Does that work for you? I will send this to you in writing after we talk."
- Follow up in a week and acknowledge the change.
Escalation. If it repeats after the technical block is gone and expectations are clear, it becomes a conduct issue (a behaviour problem rather than a skill gap) handled through the normal performance process (the company's formal, documented route for addressing a sustained problem with someone's work, with written expectations and follow-ups) with my own manager and HR involved. Repeated attempts to circumvent a control on purpose are treated seriously; one-off shortcuts under deadline pressure are coached.
What would change my call. If the root cause is a review queue that really is too slow, the priority shifts to fixing that queue. If the engineer is the on-call fixer of urgent incidents, the emergency path matters more than a reprimand.
You are setting up code review for a team that has none. What goes into the policy (who must approve, what gets checked, how long reviews may take), and how do you keep it from turning into a bottleneck?
Sample Answer
Direct answer
Code review means a teammate other than the author reads a proposed change (a pull request, or PR) before it joins the shared codebase. For a team starting from nothing I would write a short, one-page policy with three parts: who approves, what is checked, and how fast reviews must start. Then I would put the speed controls in place from day one, because a review process with no time expectation turns into a queue within weeks.
Draft policy (the excerpt I would publish to the team)
| Topic | Rule |
|---|---|
| Who approves | One approval from a teammate who is not the author. Changes in sensitive areas (payments, authentication, database schema) also need approval from the named code owner for that area (the person or group officially responsible for that part of the code, listed in a file the hosting tool reads). Authors never approve their own change. |
| What reviewers check | Does it work and is it tested? Is the design understandable and in the right place? Would a new teammate be able to maintain it? Are there security or data-privacy implications? |
| What reviewers do not check by hand | Formatting and style: a formatter (a tool that rewrites code into one standard layout) and a linter (a tool that flags likely mistakes and rule violations) run automatically, so humans spend time on design and correctness. |
| Approval standard | Approve once the change improves the overall health of the codebase, even if it is not how the reviewer would have written it. Style preferences are marked as optional comments ("nit", short for nitpick, meaning a minor point the author may ignore). In plain terms: if the change makes the code better than before and breaks nothing, do not hold it up over taste. This follows Google's published engineering practices. |
| Speed | First response within one business day (Google's guidance is that one business day is the maximum). First response means a real read, not a rubber stamp, and it is not the same as final approval. |
| Size | Aim for changes a reviewer can understand in one sitting; split larger work into steps that each leave the code working. |
Keeping review from becoming a bottleneck
- Automate the mechanical checks (tests, formatting, linting) so a human is never the one catching a missing semicolon.
- Spread the load: rotate or auto-assign reviewers instead of letting the most senior person become the gate.
- Small changes: a short change is reviewed faster and more carefully than a large one.
- Make the wait visible: a weekly look at how long PRs sit before a first response, treated as a team problem, not a ranking of individuals.
- Allow approval with minor follow-ups: a reviewer who trusts the author can approve while leaving small comments to be fixed.
Worked example (illustrative)
A team of 6 engineers each opens about one PR a day, so there are about 6 reviews to do per day. With 5 possible reviewers per PR (everyone except the author) that is 6 / 5 = 1.2 reviews each per day. That is manageable only if changes are small and reviews are shared evenly; if one lead reviews everything, that person faces 6 per day and becomes the bottleneck. In hours, at about 30 minutes per review: 1.2 reviews is 36 minutes a day each, but 6 reviews is 3 hours a day for the lead, which is why work starts to queue.
Pitfalls
- Two required approvers everywhere sounds safer but doubles the waiting for little added protection on routine changes.
- Using review turnaround to rank people encourages hasty approvals.
- A policy nobody can see enforced (no branch protection, the repository setting that blocks merging until the required approvals are in) lasts only until the first deadline.
You must introduce mandatory code review and automated gates, but a team that works in ad-hoc, fast-moving fashion fears being slowed down. Lay out a phased rollout and how you would earn adoption rather than impose it.
Sample Answer
Position. I would roll this out in four phases over about 14 weeks, make the team co-owners of the rules, and let data, not a calendar, decide when a check becomes blocking. Code review means a teammate reads a change before it merges. Automated gates are checks (tests, linting, security scans) that must pass before a change merges. The fear of slowness is legitimate, so the plan has to prove it is not true.
Phase 0, weeks 1 to 2: listen and measure. Interview the team about what slows them and what hurts today (recent breakages). Record a baseline: median time from first commit to merge, and how long a PR (pull request: a proposed change awaiting review) waits for first review. Illustrative baseline: median merge time 6 hours and median wait for first review 4 hours. Recruit two respected engineers as co-designers.
Phase 1, weeks 3 to 6: advisory. Checks run on every PR and report, but block nothing. Review is expected but not enforced. Fix noisy or flaky checks now (flaky means a check that sometimes fails for no real reason and passes on rerun), because one false failure costs more trust than ten successes earn. Agree a review response time (illustrative: first look within 4 working hours).
Phase 2, weeks 7 to 10: block a small set. Only the high-signal rules block: tests pass, secret scan clean, one approving review on the main branch. A hotfix lane (a fast route for urgent fixes: one approver, fuller review afterwards) exists from day one. The main branch is the shared branch that production is built from.
Phase 3, weeks 11 to 14: tighten and hand over. Add the next rules the team asked for, publish the rules in the team's own repo, and let the team change them through the same review process.
Earning adoption
- Speed budget: a limit the team agrees on how much slower things may get. CI (continuous integration, the automatic build-and-test run) must stay fast enough that nobody waits on it. Illustrative budget: median merge time may rise no more than 20 percent over the baseline, so 6 x 1.2 = 7.2 hours, and median wait for first review stays at or under 4 hours.
- Hold rule: if median merge time or review wait rises past the agreed budget, pause the next phase until it recovers. Reading the gate: at the end of phase 2, suppose median merge time is 6.8 hours and review wait is 3.5 hours. Both are inside the budget (7.2 and 4), so phase 3 starts. If instead median merge time is 8.5 hours, it is 2.5 hours over baseline and 1.3 hours over budget, so we stay in phase 2, find which check or queue added the time, and fix it first.
- Visible wins: share a breakage the gate caught in the team channel, without naming the author.
- Retro (retrospective: a short team meeting on what worked and what did not) at the end of each phase; the team may veto a rule with evidence.
What would change my call. A regulated or high-risk system (payments, safety) compresses phases 1 and 2 because blocking is mandatory; a team already recovering from a bad outage may accept faster blocking.
Unlock Full Question Bank
Get access to all 27 DevOps Culture and Delivery Practices interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.