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

Updated On: 31-Aug-2026

DRAG DROP (Drag and Drop is not supported)
You are preparing a container image for deployment to production.
The container image build and deployment process must ensure the following:
● The image is uniquely versioned. ● Secure authentication is used when pushing the image to Azure Container Registry (ACR). ● The image is stored in ACR for deployment.
You need to ensure that the container image build-and-push process meets the requirements.
Which action should you perform for each requirement? To answer, move the appropriate actions to the correct requirements. You may use each action 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: use a unique tag for the image You should use a unique tag—such as the Git commit SHA or a semantic version combined with a build number—for each container image deployed to production.
Using unique tags ensures that every deployment is traceable, repeatable, and easily rollable back to a specific, immutable state.
Box 2: Authenticate to ACR by using Microsoft Entra ID You should authenticate to Azure Container Registry (ACR) using Microsoft Entra ID to ensure secure, role-based, and auditable authentication for production deployments.
Eliminates Static Credentials: It replaces long-lived, risky passwords or registry admin keys with short-lived, automatically rotated tokens.
Granular Access Control: It leverages Azure Role-Based Access Control (Azure RBAC). You can assign the specific AcrPush role to your deployment identity, satisfying the principle of least privilege.
Auditability: Every login and image push action is tied to a specific identity and logged, which is critical for production compliance.
Box 3: Push the image to ACR Pushing the built image to ACR satisfies the exact requirement of storing the container image in a secure, private registry for cloud deployment.


Reference:

https://learn.microsoft.com/en-us/azure/container-registry/container-registry-authentication



DRAG DROP (Drag and Drop is not supported)
You plan to deploy a web application to AKS.
The solution must:
● Scale out the application by adding more pods during peak CPU usage. ● Expose the application internally within the cluster only.
You need to configure a Kubernetes resource for each requirement.
Which resources should you configure? To answer, move the appropriate resources to the correct requirements. You may use each resource 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: HorizontalPodAutoscaler Horizontal Pod Autoscaler (HPA) is the AKS feature to use. It automatically scales the number of pods in a deployment based on observed CPU utilization or other metrics.
Box 2: ClusterIP service
Use a ClusterIP service or internal LoadBalancer with annotations to expose your web application internally within an Azure Kubernetes Service (AKS) cluster only.


Reference:

https://learn.microsoft.com/en-us/azure/aks/optimize-aks-costs https://learn.microsoft.com/en-us/azure/aks/concepts-network-services



You deploy a new revision of an app in ACA.
You need to gradually shift production traffic to the revision while monitoring performance. In addition, you need to be able to quickly roll back.
Which two actions should you perform? Each correct answer presents part of the solution.
Note: Each correct selection is worth one point.

  1. Use single revision mode.
  2. Restart the revision.
  3. Enable multiple revision mode.
  4. Increase replica count.
  5. Use traffic splitting.

Answer(s): C,E

Explanation:

To gradually shift traffic and enable fast rollbacks in Azure Container Apps, switch the app to multiple-revision mode and configure percentage-based traffic splitting weights between the active revisions.


Reference:

https://learn.microsoft.com/en-us/azure/container-apps/traffic-splitting



HOTSPOT (Drag and Drop is not supported)
You plan to deploy an Azure Container Apps app named App1. App1 will use an access key to connect to a backend API.
The solution must store the key outside of the App1 environment and minimize maintenance efforts.
You need to configure secure key storage for App1.
Which configurations should you use? To answer, select the appropriate options in the answer area.
Note: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Box 1: Azure Key Vault secret. The key should be stored as an Azure Key Vault secret.
This option directly satisfies the requirement to store sensitive strings (like access keys or API keys) outside of the application environment. By leveraging Azure Key Vault references in Azure Container Apps, the Container Apps platform automatically pulls the secret value at runtime. If you leave out the specific version tag in the secret URI, Azure Container Apps will automatically fetch the latest version within 30 minutes of a rotation, drastically minimizing ongoing maintenance efforts.
Incorrect: Azure Key Vault Key: This is incorrect because Key Vault keys are cryptographic key material used strictly for cryptographic operations (such as encryption, decryption, and signing). They do not return plaintext secret data to your application, making them unsuited for raw API string storage.
Azure Container Apps secret: While easy to implement natively, this option stores the key inside the Container App environment scope. It fails the requirement to keep the key entirely separated from the application environment and requires manual application updates if the backend key changes or rotates.
Box 2: Managed identity You should use a Managed identity.
Zero Secret Lifecycle Management: A managed identity provides an automatically managed identity in Microsoft Entra ID. Azure handles credential rotation automatically, completely eliminating maintenance efforts and the risk of leaked credentials.
Native Platform Integration: Azure Container Apps natively supports managed identities to authenticate with Azure Key Vault. You can directly reference Key Vault secrets in your Container App configuration without writing custom authentication code inside the container.


Reference:

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



You have container source code stored in a Git repository.
The container registry must automatically build and store a new container image whenever a developer commits code to the Git repository.
You must minimize the use of an external build infrastructure.
You need to configure Azure Container Registry (ACR) to manage the build process natively and automatically.
Which two ACR components should you use? Each correct answer presents part of the solution.
Note: Each correct selection is worth one point.

  1. Webhook
  2. Quick task
  3. Artifact Cache rule
  4. Source-triggered task

Answer(s): A,D

Explanation:

The two components that should be included in the solution are a Source-triggered task and a Webhook.
Source-triggered task: This component fulfills the requirement natively within Azure. An Azure Container Registry (ACR) Task can monitor a Git repository (like GitHub or Azure Repos).
Whenever a developer commits code, it automatically triggers a native build inside Azure without needing external CI/CD build infrastructure.
Webhook: This is the underlying mechanism that connects your Git repository to ACR.
When a commit occurs, the Git repository sends a webhook notification to Azure Container Registry to signal the source-triggered task to start building the new image.


Reference:

https://learn.microsoft.com/en-us/azure/container-registry/container-registry-tutorial-build-task



Viewing page 4 of 27
Viewing questions 16 - 20 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!