Microsoft Certified: Azure AI Engineer AssociatePlan and manage an Azure AI solutionMedium

A healthcare provider is developing an Azure AI solution to anonymize patient data before it's used for research. The solution involves custom Machine Learning models and Azure Cognitive Services. To ensure that the solution's resources are managed consistently across different environments (development, testing, production) and to facilitate quick deployments and updates, which approach should the team adopt?

  1. AScripted deployment using Azure CLI commands
  2. BInfrastructure as Code (IaC) with Azure Resource Manager templates
  3. CContainerization with Docker and Kubernetes
  4. DManual deployment via Azure Portal
Show answer & explanation

Correct answer: B. Infrastructure as Code (IaC) with Azure Resource Manager templates

Infrastructure as Code (IaC) using Azure Resource Manager (ARM) templates allows for defining, deploying, and managing Azure infrastructure (including AI services) in a declarative way, ensuring consistency, repeatability, and version control across environments.

Why the other options are wrong

  • A. Scripted deployments can be automated but are often imperative, harder to manage for complex infrastructure, and less declarative than ARM templates.
  • C. Containerization manages application deployment, not the underlying Azure infrastructure services like Cognitive Services or ML workspaces.
  • D. Manual deployment is prone to errors, inconsistent, and not scalable for managing multiple environments.

Infrastructure as Code (IaC)

The process of managing and provisioning computing infrastructure (e.g., networks, virtual machines, load balancers, and AI services) using machine-readable definition files, rather than physical hardware configuration or interactive configuration tools.

  • Ensures consistency and repeatability of deployments.
  • Enables version control and collaboration on infrastructure.
  • Reduces manual errors and speeds up deployments.

Memory trick: IaC is like a 'blueprint' for your Azure resources.

More Plan and manage an Azure AI solution questions