MidCost

A managed service costs more per hour than self-hosting the same thing. How do you reason about that?

What they are really testing: Whether you compare total cost of ownership (including engineering time and operational risk), not just the sticker price. A common trap is optimizing the bill while ignoring labor.

A real interview question

A managed service costs more per hour than self-hosting the same thing. How do you reason about that?

What most people say

drag me

Self-hosting is cheaper, so I would self-host to save money.

It optimizes the sticker price while ignoring the engineering time and operational risk that managed services absorb. That hidden labor cost usually makes self-hosting more expensive overall, not less. TCO is the missing lens.

The follow-ups they ask next

  • When does self-hosting actually become the cheaper choice?

    At large scale (the managed premium times huge usage outweighs a dedicated team) or with specialized needs the managed offering cannot meet, and where you already have or can justify the operational expertise to run it reliably. Otherwise the labor/risk cost usually favors managed.

  • What costs does the managed premium actually cover?

    Operations you would otherwise do: patching, backups, HA/failover, scaling, monitoring, plus the expertise and on-call to run it reliably. You are paying to offload that engineering work and risk.

What the interviewer is listening for

  • Reasons in total cost of ownership
  • Counts engineering time + operational risk
  • Knows self-host pays off only at scale/special need

What sinks the answer

  • Compares only sticker price
  • Ignores labor/risk
  • Assumes self-host is always cheaper

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.

Do not compare only [the hourly sticker price]. Managed costs more because [it includes operations: patching, backups, HA, scaling, monitoring]. Self-hosting [shifts that to your engineers (real, often larger cost) and adds operational risk, a bad upgrade or missed backup]. Decide on [total cost of ownership = infra + labor + risk]. Managed usually wins [until large scale or a special need].

Keep going with cost

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