Question 870
A Bicep template must create a resource only in production, but the same module is used in development without that dependency. Which language construct supports the requirement?
Explanation
Correct Answer
Conditional resource declarations express environment-specific infrastructure intent in the declarative template.
Incorrect Answers
Unconditional creation violates the described environment separation.
Scoring code runs after deployment and cannot conditionally provision Azure resources.
Branch titles do not enforce ARM resource creation logic.