Cloud Engineer Interview Question

How do you choose between a provider native template service, Terraform and a CDK style tool?

What the interviewer is probing, how to structure your answer, and a spoken example you can adapt.

Quick answer

Weigh provider coverage, the review experience and what your team already knows. Provider native templates integrate tightly and need no state management but lock you in and are verbose. Terraform has broad provider coverage and a clear plan output, at the cost of managing state. CDK style tools give you a real programming language and abstraction, which helps large teams but can hide what is actually being created.

Why interviewers ask this

The interviewer wants a decision framework rather than a favorite. They look for honest trade offs, particularly that generating infrastructure from imperative code is powerful and also easy to make unreviewable. They also want to hear that consistency matters more than the marginal best tool, because two provisioning tools managing overlapping resources is worse than either one alone.

How to structure your answer

  • Give the criteria you judge on before naming any tool.
  • State the honest trade off for each option.
  • Explain the review and diff experience as a deciding factor.
  • Land on consistency and team familiarity as the tiebreaker.

Example answer

Spoken example, first person

I judge on four things: does it cover everything I need to manage including the non provider pieces, how good is the diff I get to review before a change, what does state management cost me, and what does the team already know. Provider native templates win on integration and need no state file, but they only ever manage that provider, so I still need something else for the DNS provider or the identity system, and now I have two tools. Terraform covers all of that with one workflow and gives a plan that is genuinely reviewable, and the price is running a state backend properly. A CDK style tool is attractive when I want abstraction and typed constructs, and it suits a large platform team building reusable patterns, but the diff is a generated template rather than the code that produced it, so reviewing intent gets harder and a loop can quietly produce forty resources. My tiebreaker is almost always what the team can maintain at three in the morning. A slightly less elegant tool everyone understands beats an elegant one that one person can debug.

Walking into this interview soon? GhostPilot listens to your live call, spots the question the moment it is asked, and puts a structured answer on your screen in real time. Try it on your next mock, or grab a $29 Session Pass, no subscription, for the real thing.

See how it works

Follow-up questions to expect

  • How would you keep a CDK style codebase reviewable at scale?
  • What would make you introduce a second provisioning tool?
  • How do you share reusable patterns across many teams?

Related cloud engineer questions

Your interviewer will ask their own version of this. Paste your actual job description into the free Question Predictor and get the 20 questions that role is most likely to ask, with what each one is really probing.

Predict my questions

Rehearse the hard questions before they are asked

Practise with a live copilot, then walk in ready. A $29 Session Pass gets you through the interview with no subscription and no lock-in.

Get GhostPilot