Microsoft · AI-200

microsoft AI-200 Practice Questions

Practice for the AI-200: Developing AI Cloud Solutions on Azure Microsoft certification exam. Review available chapters with published question counts.

200 questions across 4 chapters with published questions.

Start free practice

Exam chapters

Practice questions

Sample questions with answers and explanations

Question 1

An ACR task builds an image from a GitHub repository. The image should rebuild on every commit to main. What trigger should the task use?

  1. A manual trigger only
  2. A timer trigger that runs every minute and checks the repository for changes
  3. A source code commit trigger with a GitHub token — Correct
  4. A base image trigger

Correct answer

A source code commit trigger with a GitHub token

Explanation

ACR Tasks support source commit triggers that start a build when code is pushed to a branch.

Question 2

A container app shows no output in the portal log stream and keeps restarting. Which log source shows platform events such as image pull failures and probe failures?

  1. Console logs
  2. Azure Activity log only
  3. System logs — Correct
  4. Application Insights availability tests

Correct answer

System logs

Explanation

Container Apps system logs report platform events like image pull errors, container start failures and probe failures. Console logs show app stdout and stderr.

Question 3

A Deployment manifest sets resources.limits.memory to 512Mi. The container regularly uses more memory while loading an embedding model. What symptom is most likely?

  1. The HPA scales the cluster nodes
  2. The pod is throttled and runs slower, but is never restarted because memory limits are only advisory
  3. The Service drops to ClusterIP
  4. The container is killed with OOMKilled and restarted — Correct

Correct answer

The container is killed with OOMKilled and restarted

Explanation

Exceeding a memory limit causes the kernel to kill the container (OOMKilled). Raise the limit or reduce memory use.

Question 4

You need to collect container stdout logs and node metrics from AKS into Log Analytics with minimal setup. What should you enable?

  1. Kubernetes Dashboard
  2. Network Watcher packet capture
  3. Container insights (the Azure Monitor add-on) for the cluster — Correct
  4. Diagnostic settings on the cluster resource that send kube-apiserver logs to a storage account

Correct answer

Container insights (the Azure Monitor add-on) for the cluster

Explanation

Container insights collects container logs, Kubernetes events and performance metrics into a Log Analytics workspace.

Question 5

A container app's image, environment variables and scale rules are changed in one update. The app uses multiple revision mode. What happens?

  1. The changes are applied to the running replicas of the current revision without creating a new revision
  2. The existing revision is modified in place
  3. The container app environment is recreated
  4. A new revision is created, and traffic is routed according to the traffic weights — Correct

Correct answer

A new revision is created, and traffic is routed according to the traffic weights

Explanation

Changes to the revision template (image, env vars, scale rules) create a new revision. In multiple revision mode, traffic follows the configured weights.

Other Microsoft exams