Skip to content
Microsoft Certified: Azure AI Cloud Developer Associate (AI-200) Exam Prep

Lesson 1 of 7 · 14 min

x
1/7

Domain 1: Develop Containerized Solutions on Azure (Part 1 of 2)

This lesson covers 4 exam topics: Azure Container Registry: Images, Tags and Tiers, Building Images with ACR Tasks, Containers on App Service: Settings and Secrets, Azure Container Apps: Environments and Revisions. Each topic has a short video, then the notes: key facts, exam traps and what to check in the official docs.

1. Azure Container Registry: Images, Tags and Tiers

Video lesson: AI-200 01/28: Azure Container Registry: Images, Tags and Tiers

Central question: How do you store, version and secure container images on Azure?

Facts

  • ACR is a managed registry based on Docker; stores Docker images, OCI images and artifacts such as Helm charts.
  • Tiers: Basic, Standard, Premium. All support webhooks, Microsoft Entra authentication and delete; Premium adds geo-replication, content trust (tag signing), private endpoints and higher limits.
  • Create the registry in the same region as deployments for network-close pulls.
  • Stable tags (:1, :1.0) keep receiving updates: use them for base images, avoid them for deployments.
  • Unique tags (build ID, commit, digest) for deployments, so scaled-out nodes never pull a newer image by accident.
  • Defender for Cloud can scan images on push.

Exam traps

  • Deploying :latest or stable tags to production.
  • Geo-replication on Standard. It's Premium only.
  • Admin user or passwords when Entra ID / managed identity pulls work.

2. Building Images with ACR Tasks

Video lesson: AI-200 02/28: Building Images with ACR Tasks

Central question: How do you build and patch images in Azure without a local Docker engine?

Facts

Task typeWhat it does
Quick taskaz acr build: docker build + push in the cloud, no local Docker Engine
Triggered taskaz acr task create: build on source commit or pull request (GitHub, Azure DevOps), on base image update, or on a timer
Multi-step taskYAML-defined build, test, push steps
  • Base-image triggers automate OS and framework patching while keeping containers immutable.
  • Tasks integrate into CI/CD: a pipeline signed in with a service principal can run az acr build.

Exam traps

  • Installing Docker on build agents when az acr build works.
  • Manual rebuilds after base-image patches. Use a base image trigger.
  • Confusing quick tasks with triggered tasks.

3. Containers on App Service: Settings and Secrets

Video lesson: AI-200 03/28: Containers on App Service: Settings and Secrets

Central question: How do you run a custom container on App Service and give it configuration and secrets?

Facts

  • App settings are injected into the container as environment variables.
  • App Service assumes port 80; set WEBSITES_PORT if the container listens elsewhere.
  • Pull from ACR with managed identity (system- or user-assigned) granted the AcrPull role; service-principal pulls for Windows containers are no longer supported.
  • Key Vault references as app settings: @Microsoft.KeyVault(SecretUri=...) or (VaultName=...;SecretName=...); the app's managed identity needs Key Vault Secrets User (RBAC).
  • References without a version use the latest secret version; App Service caches values and refetches every 24 hours (any config change forces an immediate refetch).

Exam traps

  • Secrets in the image or in plain app settings. Use Key Vault references.
  • Wrong port with no WEBSITES_PORT.
  • Registry admin credentials instead of managed identity + AcrPull.

4. Azure Container Apps: Environments and Revisions

Video lesson: AI-200 04/28: Azure Container Apps: Environments and Revisions

Central question: How are Container Apps organized, configured and versioned?

Environments

  • An environment is a secure boundary around container apps and jobs; apps in it share a virtual network and log destination.
  • Workload profiles environments (default) support Consumption (scale to zero, pay per use) and Dedicated profiles; Consumption-only environments are legacy.

Revisions

  • A revision is an immutable snapshot of a version of the app.
  • Revision-scope changes (anything in properties.template: image, env vars, scale rules) create a new revision; application-scope changes (secrets, ingress, registries) don't.
  • Modes: Single (default; new revision replaces old once ready; failed update keeps traffic on old) and Multiple (traffic splitting, blue-green); labels give a revision its own URL.
  • Changing secrets doesn't create a revision: restart or deploy a new revision to pick them up.
  • Secrets can reference Key Vault; avoid literal values in production.

Exam traps

  • Expecting a new revision after changing a secret.
  • Traffic splitting in single revision mode. Use multiple.
  • Literal secret values instead of Key Vault references.

References

  1. AI-200 study guide — checked Oct 22, 2026
  2. ACR introduction — checked Oct 22, 2026
  3. Image tag best practices — checked Oct 22, 2026
  4. ACR Tasks overview — checked Oct 22, 2026
  5. Configure a custom container — checked Oct 22, 2026
  6. Key Vault references — checked Oct 22, 2026
  7. Revisions — checked Oct 22, 2026
  8. Environments — checked Oct 22, 2026
  9. Manage secrets — checked Oct 22, 2026

Check your understanding

  • Tag for production deployments?Show answer

    Answer

    A unique tag (build ID or digest).
  • Build without local Docker?Show answer

    Answer

    az acr build (quick task).
  • Container listens on 8080?Show answer

    Answer

    Set WEBSITES_PORT=8080.
  • 20% traffic to a new version?Show answer

    Answer

    Multiple revision mode with traffic split.
  • Tier for geo-replication?Show answer

    Answer

    Premium.

Progress is saved in this browser.

Next Lesson