Microsoft Certified: Azure AI Engineer AssociatePlan and manage an Azure AI solutionMedium
A software vendor is developing an AI-powered application that leverages Azure Cognitive Services. They want to integrate their AI services directly into their application's continuous integration/continuous deployment (CI/CD) pipeline on Azure DevOps. This will allow for automated deployment of updated Cognitive Services configurations and custom models. Which Azure deployment tool is best suited for integrating AI service deployments into a CI/CD pipeline?
- AAzure PowerShell for administrative scripting.
- BAzure CLI for interactive script execution.
- CAzure Portal for manual deployment.
- DAzure Resource Manager (ARM) templates or Bicep.
Show answer & explanationAnswer & explanation
Correct answer: D. Azure Resource Manager (ARM) templates or Bicep.
Azure Resource Manager (ARM) templates and Bicep are declarative infrastructure-as-code tools that allow you to define the infrastructure and configuration of your Azure resources, including Cognitive Services, in a repeatable and idempotent manner. This makes them ideal for automated deployments within CI/CD pipelines.
Why the other options are wrong
- A. Azure PowerShell is also for interactive and script-based management, similar to Azure CLI, but less declarative than ARM templates/Bicep for full infrastructure deployment in CI/CD.
- B. Azure CLI is a command-line tool for interactive and script-based management, but ARM templates/Bicep offer a more robust and declarative approach for infrastructure deployment within CI/CD.
- C. Azure Portal is for manual, interactive deployments and not suitable for automation in a CI/CD pipeline.
Infrastructure as Code (IaC)
The managing and provisioning of infrastructure through code instead of through manual processes. Azure ARM templates and Bicep are Microsoft's primary IaC tools for Azure.
- Enables repeatable and consistent deployments.
- Supports version control for infrastructure.
- Integrates well with CI/CD pipelines.
Memory trick: For 'Automated CI/CD', think 'ARM/Bicep' as the blueprint for your cloud.