Microsoft AI-200 Exam Prep
Developing AI Cloud Solutions on Azure (Page 3 )

Updated On: 31-Aug-2026

You configure ACR Tasks to automate image builds.
Container images must rebuild when:
-Application updates occur.
-Base image updates occur, such as when the underlying OS image is updated.
-Regular scheduled rebuilds are required.
You need to configure ACR Tasks to support automated image rebuilds.
Which three triggers should you configure? Each correct answer presents part of the solution.
Note: Each correct selection is worth one point.

  1. Timer trigger
  2. Source code commit trigger
  3. Registry event trigger
  4. Base image update trigger
  5. Webhook notification trigger

Answer(s): A,B,D

Explanation:

To support automated container image rebuilds based on your requirements, you need to configure source triggers, base image triggers, and timer triggers in Azure Container Registry (ACR) Tasks.
Timer Triggers: Automates regular scheduled rebuilds. This uses a cron schedule expression to run image builds at specific intervals (e.g., weekly or monthly) regardless of code changes.
Source Triggers: Automates rebuilds when application updates occur. This monitors changes in your source code repository (like GitHub or Azure Repos) and fires a build when code is committed.
Base Image Triggers: Automates rebuilds when the underlying OS or framework image updates. ACR tracks dependencies and automatically kicks off a new build when your defined FROM image changes in the public registry or your private registry.


Reference:

https://oneuptime.com/blog/post/2026-02-16-how-to-set-up-acr-tasks-for-automated-container-image-builds-on-git-commit/view



DRAG DROP (Drag and Drop is not supported)
You are developing several microservices to run on Azure Container Apps.
The microservices must allow HTTPS access by using a custom domain.
You need to configure the custom domain in Azure Container Apps.
In which order should you perform the actions? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:





Step 1: Enable ingress You must first expose your container app to external traffic to generate the default fully qualified domain name (FQDN) needed for DNS mapping.
Step 2: Add DNS records to the domain provider Log into your domain registrar to create the required TXT (for verification) and CNAME/A records pointing to your container app.
Step 3: Validate the custom domain name Azure checks your DNS records to confirm that you actually own the domain before allowing it to be linked.
Step 4: Add the custom domain name Once validation passes, you officially add and register the custom domain name within the Azure Container App configuration.
Step 5: Bind the certificate Finally, bind an SSL/TLS certificate to the custom domain to secure the connection and enable HTTPS access.


Reference:

https://learn.microsoft.com/en-us/azure/container-apps/ingress-overview



You plan to deploy an Azure Container app.
You need to configure the container app to support session affinity.
Which ingress type and revision mode should you assign to the container app?

  1. TCP ingress type and single revision mode
  2. TCP ingress type and multiple revision mode
  3. HTTP ingress type and multiple revision mode
  4. HTTP ingress type and single revision mode

Answer(s): D

Explanation:

HTTP ingress type and single revision mode must be assigned. Session affinity (sticky sessions) requires an HTTP-based proxy layer to track and route client requests to the same replica, which is incompatible with raw TCP ingress. Single revision mode ensures standard traffic flow without multi-revision splitting complexity.


Reference:

https://learn.microsoft.com/en-us/azure/container-apps/ingress-environment-configuration



DRAG DROP (Drag and Drop is not supported)
You deploy an API to Azure Container Apps.
The solution must provide the following functionality:
● Support the concurrent activation of multiple application versions. ● Allocate a specific percentage of incoming requests to a secondary version.
You need to configure revision behavior.
Which configurations should you use? To answer, move the appropriate configurations to the correct requirements. You may use each configuration once, more than once, or not at all. You may need to move the split bar between panes or scroll to view content.
Note: Each correct selection is worth one point.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Box 1: Multiple revisions mode To test a new revision without affecting production traffic, you must configure the Container App to use Multiple active revisions mode and set the traffic allocation for the new revision to 0%.
Box 2: Traffic splitting To split traffic between multiple versions, you must switch the container app's revision mode to Multiple revision mode and configure the traffic splitting weights under the Ingress configurations.


Reference:

https://learn.microsoft.com/en-us/azure/container-apps/revisions-manage



DRAG DROP (Drag and Drop is not supported)
You plan to create a Docker image that runs an ASP.NET Core application named ContosoApp. You have a setup script named setupScript.ps1 and a series of application files including ContosoApp.dll.
You need to create a Dockerfile document that meets the following requirements:
● Call setupScript.ps1 when the container is built. ● Run ContosoApp.dll when the container starts.
The Dockerfile document must be created in the same folder where ContosoApp.dll and setupScript.ps1 are stored.
Which five commands should you use to develop the solution? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the correct order.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:





Step 1: FROM microsoft/aspnetcore:latest Sets the base image for the container.
Base First: You must always declare the base image (FROM) before running any other commands.
Step 2: WORKDIR /apps/ContosoApp Creates and sets the working directory inside the container.
Directory and Copy: You need to set the working directory (WORKDIR) before copying files (COPY) so Docker knows exactly where to put them.
Step 3: COPY ./ . Copies the application files and script from your local folder into the working directory.
Step 4: RUN powershell ./setupScript.ps1 Executes the script during the image build process.
Build vs. Run: The RUN command happens while building the image, so the script completes its setup before the final image is saved. The CMD instruction does not execute anything during the build; it simply configures the starting point for when the container is actually launched.
Step 5: CMD ["dotnet", "ContosoApp.dll"] Defines the default command to run your application when the container starts.


Reference:

https://azuretar.com/using-startup-command-to-pass-command-line-arguments-to-azure-app-service-for-linux/



Viewing page 3 of 27
Viewing questions 11 - 15 out of 140 questions


Post your Comments and Discuss Microsoft AI-200 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!