Skip to content
Sharp

Architecture · interview question

A teammate submits shaky environment-based deployment code. Which review comment is the strongest?

Multiple choiceMediumchapter-18-curatedpremiumarchitectureenvironment-based-deployment
Choose one answer
Answer and explanation

Correct answer

D. Make the rule clearer and easier to explain. Make environment-specific behavior visible in configuration instead of burying it in code branches and machine assumptions.

Why

The best review comment anchors the change to readability, correctness, and future maintenance. 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.

Start free test
All Architecture questions →