MidTroubleshooting

It is 2pm, peak traffic. Half the targets behind your ALB just flipped to unhealthy, and the surviving half are now taking double the load and starting to shed requests. Walk me through the next fifteen minutes.

What they are really testing: They want to know if you protect the healthy half from a cascading collapse before you go looking for why the unhealthy half died.

A real interview question

It is 2pm, peak traffic. Half the targets behind your ALB just flipped to unhealthy, and the surviving half are now taking double the load and starting to shed requests. Walk me through the next fifteen minutes.

What most people say

drag me

I would look at the CloudWatch dashboards and try to work out why the instances went unhealthy, then fix the root cause.

It goes hunting for a root cause while the remaining half of the fleet is being overloaded, which is exactly how a partial outage becomes a total one.

The follow-ups they ask next

  • The health check reason is Timeout, but you can curl the target from your own box. Explain that.

    The ALB uses its own security group and a specific health check port. Curl from your box does not prove the ALB can reach it.

  • Every unhealthy target is in one availability zone. What do you do?

    Treat it as an AZ level fault. Shift traffic out of that AZ and confirm the subnet, route table and NAT are healthy.

  • How would you make the health check less trigger happy without hiding real failures?

    Separate liveness from readiness, tune the unhealthy threshold and interval, and never make the check depend on a downstream service.

What the interviewer is listening for

  • Scales out or rolls back before diagnosing anything
  • Uses the health check failure reason to pick the layer
  • Checks whether failures cluster in one availability zone
  • Distinguishes a symptom from the actual cause

What sinks the answer

  • Starts SSHing into instances while the healthy half collapses
  • Assumes an unhealthy target is always a dead target
  • Never mentions rolling back a recent deploy
  • Has no plan for capturing a timeline afterwards

If you genuinely do not know

Say this instead of freezing. Reasoning out loud from what you do know beats silence every single time, and a good interviewer is listening for exactly that.

I have not run this exact incident, but my instinct is to protect the healthy half first by scaling out or rolling back, and only then ask why the other half died.

Keep going with troubleshooting

All 336 cloud engineer questions

Knowing the answer is not the same as recalling it under pressure

Sign in to send the questions you fumble to spaced recall, so they come back right before you would forget them, and learn the concepts behind them with hands-on labs.

Start free