A cloud engineer needs to deploy a set of resources on Microsoft Azure in a repeatable and consistent manner. The engineer wants to define the infrastructure as code and be able to deploy it multiple times without manual intervention. Which Azure service should the engineer use?
ARM templates are JSON files that define the infrastructure and configuration for an Azure deployment declaratively. They enable repeatable, consistent deployments and can be integrated into CI/CD pipelines. This directly satisfies the requirement to define infrastructure as code and deploy it multiple times without manual steps. ARM templates also support parameters and variables for reusability.
Why this answer
ARM templates are the correct choice because they provide a declarative, code-based method to define and deploy Azure infrastructure consistently and repeatedly. They are the native infrastructure-as-code solution in Azure and can be version-controlled and automated, meeting the requirement for repeatable deployments without manual intervention.
Exam trap
The trap here is selecting Azure Blueprints because it sounds like a deployment tool, but Blueprints are for governance and often rely on ARM templates for the actual infrastructure definition.