Architecture · interview question
Which move is the best default when environment-based deployment becomes part of this workflow?
Multiple choiceMediumchapter-18-curatedpremiumarchitectureenvironment-based-deployment
Answer and explanation
Correct answer
D. Make environment-specific behavior visible in configuration instead of burying it in code branches and machine assumptions.
Why
Make environment-specific behavior visible in configuration instead of burying it in code branches and machine assumptions. That is the stronger engineering move because interviewers like explicit runtime assumptions because they sound operable. Hidden deploy-time assumptions cause the same code to behave differently across environments with little explanation.
Test yourself on Architecture
A free test with instant, explained results. No account needed.
More Architecture questions
- Which explanation would best help the team align on caching?
- A senior interviewer asks for one tradeoff behind environment-based deployment. What is the strongest follow-up?
- Another engineer will maintain this code later. What choice helps the most around caching?
- A teammate submits shaky idempotency code. Which review comment is the strongest?
- Which option is the safer default when shipping code around container and process shape?
- Which move is the best default when idempotency becomes part of this workflow?