CrackOps
Interview PrepTracksLinuxAWS LabSoonInterview RoomSoon
Sign inStart free
CrackOps

Interview prep for the people who keep production up.

[email protected]
ProductInterview PrepTracksDashboardInterview Room
RolesDevOpsSREPlatformCloud
CompanyAboutContactPrivacyTerms
© CrackOps
Tracks/CI/CD & Release Engineering
Advanced 4 minSystem design

Design a deployment pipeline where changes that touch money get extra safety without slowing every team down

Scenario

An Indian UPI payments app ships about 45 production deploys a day across 120 services on Kubernetes. Last month a refactor of the PSP response parser passed all unit tests and a 10 percent canary that watched only HTTP 5xx, yet it mapped one sponsor bank's timeout response to FAILED instead of PENDING; 9,000 customers saw 'payment failed' after being debited. The festival season starts in five weeks.

The interviewer asks

“Design the delivery pipeline for this platform. Changes that can move or misreport money need much stronger guarantees than a UI tweak, but we still want forty-plus deploys a day. How would you build it?”

The 30-second answer

I'd classify every change by the code paths it touches, so money-path changes (PSP adapters, state machine, ledger, recon, crypto) automatically get heavier gates while everything else stays fast. Those gates are specific: two approvals including a payments-core owner, contract tests against bank and NPCI simulators for every response code and timeout, ledger invariant tests, and a shadow or replay comparison of real traffic with side effects stubbed. In production, a progressive canary is judged on business metrics against the baseline — success rate per PSP and per bank, pending rate, timeout-to-failed mapping — not just 5xx, with automatic rollback and expand-and-contract data changes so rollback is real. Around festivals we freeze money paths with a documented break-glass process.

Sign in to finish this question

A free account unlocks the rest of it, and saves your progress across every track.

  • The voiced mock interview (4 min)
  • The full senior answer, step by step
  • Animated architecture diagrams
  • The whole conversation, 14 turns
  • Deep dive: how it works, mistakes, risks and trade-offs
  • 3 copy-ready command snippets
  • 5 follow-up questions they'll ask next
  • A self-check of 8 things interviewers listen for
Create a free accountSign in

More CI/CD & Release Engineering interview questions

  • Walk me through a production deployment and rollback strategy.
  • How do you enforce approvals and segregation of duties in CI/CD without slowing delivery to a crawl?
  • Production can only change Saturday 02:00 to 05:00. How do you run releases so the window stops failing?
  • A deploy passed canary cleanly, then payment success slowly decays over an hour. How do you debug it?
  • Design a deployment system that rolls out thousands of services safely with automatic canary analysis
  • A release passed automated canary analysis, but a member-facing metric dropped a day later. What did the canary miss?
All CI/CD & Release Engineering questions

Linux commands for this track

  • bash: variables Shell variables: assign, quote, default and export
  • bash: if Conditions: if, elif, else, test brackets and case
  • bash: loops Loops: for, while read, until and retry
  • bash: functions Functions: name a block, pass arguments, return a status
  • bash: arrays Arrays: lists and key-value maps in bash
  • bash: exit codes Exit codes, $?, set -euo pipefail and trap
  • bash: redirection Redirection: stdout, stderr, 2>&1, /dev/null and here-docs
  • bash: arguments Script arguments: $1, $#, "$@", shift and getopts