Quick revision
The short answer
I declare an incident, take the commander role, assign a communications lead and investigators, and move everyone into one channel. Because a dependency upgrade went to two of the services just before checkout broke, I mitigate first by rolling those changes back instead of debugging in production, while investigators capture dumps, logs and traces before any restart. I send status updates at a fixed interval until checkout recovers, and then run a blameless postmortem with a timeline and owned action items.
What to remember
In this answer, we saw how an incident commander runs a multi-service outage: declare the incident, assign commander, communications, investigator and scribe roles, and keep everyone in one channel. We mitigate first by rolling back the recent dependency upgrade after checking that the rollback is safe for data, collect dumps, logs and traces before pods are replaced, and communicate on a fixed schedule. After recovery, a blameless postmortem with a timeline and owned action items turns the outage into lasting improvements.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
I declare an incident, take the commander role, assign a communications lead and investigators, and move everyone into one channel. Because a dependency upgrade went to two of the services just before checkout broke, I mitigate first by rolling those changes back instead of debugging in production, while investigators capture dumps, logs and traces before any restart. I send status updates at a fixed interval until checkout recovers, and then run a blameless postmortem with a timeline and owned action items.
Why this question is asked
An outage across several services is chaotic: alerts fire everywhere, many people join, and everyone starts debugging something different. The incident commander's job is not to find the bug personally but to turn that chaos into a coordinated response that restores service fast. Interviewers ask this to see whether we can lead under pressure, put mitigation before root cause, and keep stakeholders informed. In this answer, we will walk through the incident from detection to resolution: declaring it and assigning roles, mitigating with rollbacks, collecting evidence, communicating, confirming recovery, and learning from it afterwards.
1Detecting and Declaring the Incident
The incident usually starts with an alert, for example the checkout success rate falling from 99.5 percent to 40 percent, or with a spike of customer complaints. The first decision is to declare it as an incident with a severity level. Checkout failing for most customers is the highest severity in almost any company, because every minute is lost revenue.
Declaring matters because it changes how people work. It opens a single incident channel and a bridge call, it pages the owning teams of the three services, and it starts a timeline. Without a declaration, three teams investigate in three different chat threads and nobody knows what the others have tried.
2Assigning Roles
As incident commander, I coordinate and decide; I do not dive into logs myself, because then nobody is steering. I assign a communications lead who writes updates for stakeholders and support, investigators from each affected service team, and a scribe, often the communications lead in a small incident, who records actions and times in the timeline. Each investigator gets a clear question, such as whether payment-service's errors started with its deployment.
- Incident commanderCoordinates, decides, keeps everyone on one plan
- Communications leadUpdates stakeholders and support every 15 to 30 minutes
- InvestigatorsOne per affected service; answer specific questions
- ScribeRecords actions, times and findings for the timeline
4 layers, from the top down. Step through them one at a time.
Clear roles stop people from duplicating work or waiting for permission.
3Mitigating First: Rolling Back the Upgrade
The strongest clue is the change itself: a dependency upgrade went to two of the three services just before checkout broke. The fastest path to recovery is to roll those two deployments back, rather than reading stack traces in production to understand what the new library does differently. Debugging can happen later, safely, in a test environment.
Order matters a little. If the two services call each other, rolling back both at once is fine, because the old versions already worked together. If the upgrade included a database migration or a message format change, I would ask the owning team whether the old version can read data written by the new one before rolling back, because a rollback that cannot read new data turns one outage into two. If the third service was not upgraded but is failing, it is probably failing because it calls one of the other two, and it should recover on its own once they do.
- Which changes happened before the failure?Two services got the dependency upgrade
- Is the rollback safe for data and messages?YesRoll back both servicesNoDisable the feature or fix forward
- Did checkout success return to normal?YesMonitor, then move to resolutionNoNext hypothesis, next change
3 steps in order. Play them, or step through them one at a time.
Each turn of the loop tries the most likely mitigation and measures it.
4Collecting Evidence Before Restarting
Restarts and rollbacks replace the pods that hold the evidence. So while the rollback is being prepared, investigators capture what will be lost: a thread dump and, if memory is involved, a heap dump from one failing pod, recent logs with the error messages and correlation ids, and a few distributed traces of failed checkouts. Traces are especially useful across three services, because they show which service returned the first error and which ones only passed it along.
I keep this short: a few minutes at most. If evidence collection would delay recovery significantly, recovery wins, and we rely on logs and metrics that are already stored centrally.
5Communicating on a Schedule
Stakeholders, customer support and leadership want to know three things: what is affected, what we are doing, and when they will hear next. The communications lead posts updates at a fixed interval, for example every 20 minutes, even when there is nothing new, because silence makes people interrupt the investigators. A good update is short and plain: checkout is failing for about 60 percent of customers since 14:05; we believe a library upgrade deployed to two services is the cause and are rolling it back; next update at 14:45.
When the metrics show checkout success back at its normal level for a sustained period, for example 15 minutes, I declare the incident mitigated, then resolved once we are confident it will not recur, and the communications lead sends a final update.
6After Recovery: A Blameless Postmortem
Within a few days we hold a postmortem. Blameless means we look at how the system and the process allowed the failure, not at who pressed the button, because people hide information when they fear blame. The document contains the timeline from the scribe's notes, the impact in numbers, the root cause (for example, the new library version changed a default timeout or a serialization format), and what helped or slowed the response.
Most importantly, it lists action items with owners and dates. In this case they might include testing dependency upgrades against the other services in a contract or integration test, rolling such upgrades out with a canary, and adding an alert on checkout success rate that pages within two minutes. The postmortem is only worth its time if those items are tracked to completion.
7Follow-up questions
Why not debug the new library in production to find the real cause?
Because every minute of investigation is a minute of failed checkouts. A rollback to a known good version restores service in minutes, and the investigation continues afterwards with the evidence we collected, in an environment where we can experiment safely. Root cause matters for the postmortem, not for the mitigation.
What if rolling back is not possible?
Then we look for another mitigation: turning off the feature that uses the new behaviour with a flag, routing traffic away from the failing component, or deploying a small fix forward with an expedited review. The commander chooses the option with the least risk and the fastest recovery, and keeps the team on one plan at a time.
How do you keep the incident channel from becoming noisy?
I ask that only people with a role speak in the main channel, that side investigations happen in threads, and that every finding is posted as a short statement with evidence. The scribe summarises the current hypothesis and next steps every so often, so people joining late can catch up without asking.
8Conclusion
In this answer, we saw how an incident commander runs a multi-service outage: declare the incident, assign commander, communications, investigator and scribe roles, and keep everyone in one channel. We mitigate first by rolling back the recent dependency upgrade after checking that the rollback is safe for data, collect dumps, logs and traces before pods are replaced, and communicate on a fixed schedule. After recovery, a blameless postmortem with a timeline and owned action items turns the outage into lasting improvements.
Open with
First I would declare an incident at the highest severity, because checkout is failing, and open one channel and a bridge. As incident commander I coordinate rather than debug.
Then, if they want more
I assign a communications lead to update stakeholders and support, one investigator from each of the three service teams, and a scribe to keep the timeline. Since a dependency upgrade went to two of the services right before the failure, my priority is mitigation: roll those two deployments back rather than debug the new library in production.
Before I approve it, I check with the owners that the rollback is safe, for example that no migration or message format change would stop the old version from reading new data.
While the rollback is being prepared, investigators spend a few minutes capturing evidence from a failing pod, thread dumps, logs with correlation ids and a few traces of failed checkouts, because the rollback will replace those pods. I expect the third service to recover once its dependencies do.
The communications lead posts an update every 20 minutes with impact, actions and the next update time, even when nothing changed. When checkout success is back to normal and stable, I declare it mitigated and then resolved.
Within a few days we run a blameless postmortem with the timeline, the root cause and action items with owners, such as canary rollouts and integration tests for dependency upgrades.
About this answer
- Last updated
- 12 November 2026
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
- Official documentation
- Kubernetes documentation, Spring Boot reference
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "You are incident commander for an outage where checkout fails across three Java services...": https://scrivio-interview-library.netlify.app/spring-boot/production-operations/a32c0f8a3b/