SeniorArchitecture & Design

A company asks you to choose between AWS and Azure for a new workload. How do you make the decision?

What they are really testing: Whether you make a structured, requirements-driven decision instead of arguing brand preference, and whether you weigh the organizational and lock-in factors a senior engineer is accountable for, not just a feature checklist. They want the decision process and honest trade-offs.

A real interview question

A company asks you to choose between AWS and Azure for a new workload. How do you make the decision?

What most people say

drag me

AWS, it is the biggest and most popular cloud so it is the safe choice.

Popularity is not a requirement, and "biggest" does not mean best fit for this company. It ignores existing investments, team skills, the specific services the workload needs, and cost and lock-in, which are the factors a senior is actually accountable for.

The follow-ups they ask next

  • The CTO insists on a multi-cloud strategy to avoid lock-in. How do you respond?

    Multi-cloud avoids one kind of lock-in but adds real cost: lowest-common-denominator architecture, duplicated tooling and expertise, and operational complexity that often outweighs the benefit. A senior weighs it honestly, often recommending one primary cloud with deliberate portability at key seams, rather than running everything twice, unless a concrete requirement like regulatory or true vendor risk justifies the overhead.

  • How do you keep this decision from locking the company in permanently?

    You cannot avoid lock-in entirely without giving up the managed-service velocity that justifies the cloud, so you manage it: keep portable seams (containers, open standards, abstraction at the few critical boundaries), avoid proprietary services where the lock-in is not worth it, and accept lock-in deliberately where the productivity win is large. The honest senior answer is that lock-in is a trade-off to manage, not eliminate.

What the interviewer is listening for

  • Decides from requirements, not brand loyalty
  • Weighs existing investments and team skills heavily
  • Maps the workload needs to each platform specifically
  • Is honest about cost (TCO/egress) and lock-in, and makes a call

What sinks the answer

  • Argues by popularity or personal preference
  • Ignores existing investments and team skills
  • Generic feature checklist with no decisive factor
  • Refuses to make a recommendation

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.

Both are capable, so I decide from [requirements, not brand]. The biggest factor is [organizational fit: existing investments, AD/.NET, team skills]. I map [the specific services, data residency, compliance] this workload needs, model [TCO including egress and commitments], and am honest about [lock-in]. Then I make the call naming [the decisive factor] and what I would [re-evaluate later].

Keep going with architecture & design

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