A platform team currently deploys Azure resources with long JSON ARM templates. The team finds the templates hard to read and maintain. The team has these requirements:
- Keep a declarative approach that deploys through Azure Resource Manager.
- Use a syntax that is simpler and more concise than JSON.
- Reuse common deployment logic, such as a standard network layout, across several projects.
- Get the same result each time a file is deployed again.
Complete the recommendation.
Author the deployments in , and package the shared network layout as that each project references.
- Blank 1: Bicep (correct answer)
Bicep is a declarative language that deploys through ARM. It is simpler and more concise than JSON, and its files are idempotent. JSON ARM templates are the format the team finds hard to maintain. CLI scripts are command based, not declarative. Azure Arc extends management to non-Azure resources and is not an authoring language.
- Blank 2: modules (correct answer)
Bicep modules package reusable deployment logic so several deployments can share it. Deployment scripts run PowerShell or Bash setup actions, not reusable resource definitions. Tags are metadata. Role assignments control access.
Bicep meets every requirement. It is declarative, it deploys through Azure Resource Manager, it is easier to read and write than equivalent JSON, and repeated deployments of the same file give consistent results. Bicep modules let the team define the network layout once and reuse it across projects. The other options either keep the JSON complexity, lose the declarative model, or solve a different problem.