All jobs / Full-stack developer / DevOps Basics

Full-stack developer interview question · 3–5 years

The pipeline builds the client three times, once per environment, because the API URL is baked in at build time.

What do you change, and what stays at build time?

The strongest answer

Build once and promote that artifact: the client reads its API URL and flags at runtime from a small config the server serves, so what you tested ships — and no secret goes in either

Why it works

Right — one artifact through every environment; a build per environment means production runs a binary nobody tested.

What a good answer covers

Answers that fall short

Who gets asked this

More DevOps Basics questions