McAfee-Secured Website

Exam Bundle

Exam Code: AI-200

Exam Name Developing AI Cloud Solutions on Azure

Certification Provider: Microsoft

Microsoft AI-200 Bundle $19.99

100% Microsoft AI-200 Guaranteed Success With Testking Training Materials

Get Real AI-200 Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

  • Questions & Answers

    AI-200 Questions & Answers

    174 Questions & Answers

    The ultimate exam preparation tool, Questions & Answers mirrors the actual AI-200 exam while allowing you to hone and measure every aspect of your test-taking ability.

  • Study Guide

    AI-200 Study Guide

    153 PDF Pages

    Developed by industry experts, this 153-page guide spells out in painstaking detail all of the information you need to ace AI-200 exam.

Developing AI Cloud Solutions on Azure (AI-200) Practice Tests

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Total Cost: $154.98
Bundle Price: $134.99

Purchase Individually

  • Questions & Answers

    Questions & Answers

    174 Questions

    $124.99
  • Study Guide

    Study Guide

    153 PDF Pages

    $29.99

Microsoft AI-200 Practice Test 10

Question 90

A team releases a container image but a dependent service must learn when its registry repository changes. Which test result provides the strongest acceptance evidence?

  1. A test image push sends the configured event payload to the authorized receiver.
  2. A commit to the selected branch produces the expected versioned image and task execution log.
  3. An attempted push to the protected tag is rejected while approved new-version tags work.
  4. An external request reaches the app through App Service and returns the expected health response.

Explanation

Correct Answer

A:

ACR webhooks announce registry events; they are not substitutes for image build or hosting services. The observed result “A test image push sends the configured event payload to the authorized receiver” would confirm the change “Configure an ACR webhook filtered to the required repository push event” in this situation: A team releases a container image but a dependent service must learn when its registry repository changes.

Incorrect Answers

B:

ACR Tasks can automate container builds from source events and store results within a registry. The situation here is: A team releases a container image but a dependent service must learn when its registry repository changes. A test of this alternative would miss the specific outcome “A test image push sends the configured event payload to the authorized receiver”.

C:

ACR image locks and tag write policies reduce accidental mutation of approved artifacts. The situation here is: A team releases a container image but a dependent service must learn when its registry repository changes. A test of this alternative would miss the specific outcome “A test image push sends the configured event payload to the authorized receiver”.

D:

The hosting front end must know the listening port of the custom container to route inbound traffic. The situation here is: A team releases a container image but a dependent service must learn when its registry repository changes. A test of this alternative would miss the specific outcome “A test image push sends the configured event payload to the authorized receiver”.

Question 91

An automation service needs a push notification whenever a specific ACR image is published. What change should the developer make FIRST to satisfy the stated need?

  1. Configure an Azure Container Registry Task triggered by the repository's source change event.
  2. Apply repository or image attribute policies to make released ACR image tags non-writable.
  3. Configure an ACR webhook filtered to the required repository push event.
  4. Configure the App Service container port setting to match the application's actual listening port.

Explanation

Correct Answer

C:

ACR webhooks announce registry events; they are not substitutes for image build or hosting services. For this situation—An automation service needs a push notification whenever a specific ACR image is published—the relevant response is “Configure an ACR webhook filtered to the required repository push event”. A useful confirmation is “A test image push sends the configured event payload to the authorized receiver”.

Incorrect Answers

A:

ACR Tasks can automate container builds from source events and store results within a registry. That does not directly address the situation—An automation service needs a push notification whenever a specific ACR image is published. The more suitable choice is “Configure an ACR webhook filtered to the required repository push event”: ACR webhooks announce registry events; they are not substitutes for image build or hosting services.

B:

ACR image locks and tag write policies reduce accidental mutation of approved artifacts. That does not directly address the situation—An automation service needs a push notification whenever a specific ACR image is published. The more suitable choice is “Configure an ACR webhook filtered to the required repository push event”: ACR webhooks announce registry events; they are not substitutes for image build or hosting services.

D:

The hosting front end must know the listening port of the custom container to route inbound traffic. That does not directly address the situation—An automation service needs a push notification whenever a specific ACR image is published. The more suitable choice is “Configure an ACR webhook filtered to the required repository push event”: ACR webhooks announce registry events; they are not substitutes for image build or hosting services.

Question 92

An automation service needs a push notification whenever a specific ACR image is published. Which observation BEST confirms the intended behavior after the change?

  1. A commit to the selected branch produces the expected versioned image and task execution log.
  2. An attempted push to the protected tag is rejected while approved new-version tags work.
  3. A test image push sends the configured event payload to the authorized receiver.
  4. An external request reaches the app through App Service and returns the expected health response.

Explanation

Correct Answer

C:

ACR webhooks announce registry events; they are not substitutes for image build or hosting services. The observed result “A test image push sends the configured event payload to the authorized receiver” would confirm the change “Configure an ACR webhook filtered to the required repository push event” in this situation: An automation service needs a push notification whenever a specific ACR image is published.

Incorrect Answers

A:

ACR Tasks can automate container builds from source events and store results within a registry. The situation here is: An automation service needs a push notification whenever a specific ACR image is published. A test of this alternative would miss the specific outcome “A test image push sends the configured event payload to the authorized receiver”.

B:

ACR image locks and tag write policies reduce accidental mutation of approved artifacts. The situation here is: An automation service needs a push notification whenever a specific ACR image is published. A test of this alternative would miss the specific outcome “A test image push sends the configured event payload to the authorized receiver”.

D:

The hosting front end must know the listening port of the custom container to route inbound traffic. The situation here is: An automation service needs a push notification whenever a specific ACR image is published. A test of this alternative would miss the specific outcome “A test image push sends the configured event payload to the authorized receiver”.

Question 93

A newly deployed container's App Service slot uses production credentials because settings were not marked slot-specific. Which implementation is MOST appropriate for this requirement?

  1. Mark environment-specific App Service settings as deployment-slot settings before swapping.
  2. Deploy to an App Service deployment slot, validate it, and swap after approval.
  3. Grant the host's managed identity the required ACR pull permission and configure identity-based image access.
  4. Assign scoped ACR roles to the build identity and runtime identity rather than sharing admin credentials.

Explanation

Correct Answer

A:

Slot settings stay with their deployment slot during swaps to avoid moving environment-specific values. For this situation—A newly deployed container's App Service slot uses production credentials because settings were not marked slot-specific—the relevant response is “Mark environment-specific App Service settings as deployment-slot settings before swapping”. A useful confirmation is “After a controlled swap, each slot retains its own intended backend endpoint”.

Incorrect Answers

B:

Deployment slots support staged validation and swaps while reducing direct production deployment risk. That does not directly address the situation—A newly deployed container's App Service slot uses production credentials because settings were not marked slot-specific. The more suitable choice is “Mark environment-specific App Service settings as deployment-slot settings before swapping”: Slot settings stay with their deployment slot during swaps to avoid moving environment-specific values.

C:

Managed identities provide Azure-hosted workloads with token-based registry access instead of embedded secrets. That does not directly address the situation—A newly deployed container's App Service slot uses production credentials because settings were not marked slot-specific. The more suitable choice is “Mark environment-specific App Service settings as deployment-slot settings before swapping”: Slot settings stay with their deployment slot during swaps to avoid moving environment-specific values.

D:

Separating push and pull authorization enforces least privilege for the registry supply chain. That does not directly address the situation—A newly deployed container's App Service slot uses production credentials because settings were not marked slot-specific. The more suitable choice is “Mark environment-specific App Service settings as deployment-slot settings before swapping”: Slot settings stay with their deployment slot during swaps to avoid moving environment-specific values.

Question 94

A newly deployed container's App Service slot uses production credentials because settings were not marked slot-specific. After the proposed remediation, what should be observed?

  1. After a controlled swap, each slot retains its own intended backend endpoint.
  2. The validated slot becomes active with the expected configuration, and the previous build remains available for rollback.
  3. The site pulls the approved image after the stored registry password is removed.
  4. Build uploads succeed; the application identity can pull but cannot push or delete images.

Explanation

Correct Answer

A:

Slot settings stay with their deployment slot during swaps to avoid moving environment-specific values. The observed result “After a controlled swap, each slot retains its own intended backend endpoint” would confirm the change “Mark environment-specific App Service settings as deployment-slot settings before swapping” in this situation: A newly deployed container's App Service slot uses production credentials because settings were not marked slot-specific.

Incorrect Answers

B:

Deployment slots support staged validation and swaps while reducing direct production deployment risk. The situation here is: A newly deployed container's App Service slot uses production credentials because settings were not marked slot-specific. A test of this alternative would miss the specific outcome “After a controlled swap, each slot retains its own intended backend endpoint”.

C:

Managed identities provide Azure-hosted workloads with token-based registry access instead of embedded secrets. The situation here is: A newly deployed container's App Service slot uses production credentials because settings were not marked slot-specific. A test of this alternative would miss the specific outcome “After a controlled swap, each slot retains its own intended backend endpoint”.

D:

Separating push and pull authorization enforces least privilege for the registry supply chain. The situation here is: A newly deployed container's App Service slot uses production credentials because settings were not marked slot-specific. A test of this alternative would miss the specific outcome “After a controlled swap, each slot retains its own intended backend endpoint”.

Question 95

A team swaps staging and production slots and accidentally moves a staging-only backend URL. Which technical approach BEST addresses this problem?

  1. Deploy to an App Service deployment slot, validate it, and swap after approval.
  2. Mark environment-specific App Service settings as deployment-slot settings before swapping.
  3. Grant the host's managed identity the required ACR pull permission and configure identity-based image access.
  4. Assign scoped ACR roles to the build identity and runtime identity rather than sharing admin credentials.

Explanation

Correct Answer

B:

Slot settings stay with their deployment slot during swaps to avoid moving environment-specific values. For this situation—A team swaps staging and production slots and accidentally moves a staging-only backend URL—the relevant response is “Mark environment-specific App Service settings as deployment-slot settings before swapping”. A useful confirmation is “After a controlled swap, each slot retains its own intended backend endpoint”.

Incorrect Answers

A:

Deployment slots support staged validation and swaps while reducing direct production deployment risk. That does not directly address the situation—A team swaps staging and production slots and accidentally moves a staging-only backend URL. The more suitable choice is “Mark environment-specific App Service settings as deployment-slot settings before swapping”: Slot settings stay with their deployment slot during swaps to avoid moving environment-specific values.

C:

Managed identities provide Azure-hosted workloads with token-based registry access instead of embedded secrets. That does not directly address the situation—A team swaps staging and production slots and accidentally moves a staging-only backend URL. The more suitable choice is “Mark environment-specific App Service settings as deployment-slot settings before swapping”: Slot settings stay with their deployment slot during swaps to avoid moving environment-specific values.

D:

Separating push and pull authorization enforces least privilege for the registry supply chain. That does not directly address the situation—A team swaps staging and production slots and accidentally moves a staging-only backend URL. The more suitable choice is “Mark environment-specific App Service settings as deployment-slot settings before swapping”: Slot settings stay with their deployment slot during swaps to avoid moving environment-specific values.

Question 96

A team swaps staging and production slots and accidentally moves a staging-only backend URL. What result MOST directly verifies that the solution works?

  1. After a controlled swap, each slot retains its own intended backend endpoint.
  2. The validated slot becomes active with the expected configuration, and the previous build remains available for rollback.
  3. The site pulls the approved image after the stored registry password is removed.
  4. Build uploads succeed; the application identity can pull but cannot push or delete images.

Explanation

Correct Answer

A:

Slot settings stay with their deployment slot during swaps to avoid moving environment-specific values. The observed result “After a controlled swap, each slot retains its own intended backend endpoint” would confirm the change “Mark environment-specific App Service settings as deployment-slot settings before swapping” in this situation: A team swaps staging and production slots and accidentally moves a staging-only backend URL.

Incorrect Answers

B:

Deployment slots support staged validation and swaps while reducing direct production deployment risk. The situation here is: A team swaps staging and production slots and accidentally moves a staging-only backend URL. A test of this alternative would miss the specific outcome “After a controlled swap, each slot retains its own intended backend endpoint”.

C:

Managed identities provide Azure-hosted workloads with token-based registry access instead of embedded secrets. The situation here is: A team swaps staging and production slots and accidentally moves a staging-only backend URL. A test of this alternative would miss the specific outcome “After a controlled swap, each slot retains its own intended backend endpoint”.

D:

Separating push and pull authorization enforces least privilege for the registry supply chain. The situation here is: A team swaps staging and production slots and accidentally moves a staging-only backend URL. A test of this alternative would miss the specific outcome “After a controlled swap, each slot retains its own intended backend endpoint”.

Question 97

A Python model API works on the developer machine but its production container starts with the wrong command. What change should the developer make FIRST to satisfy the stated need?

  1. Enable and inspect App Service container application logging and log streams.
  2. Use an ACR quick task to build the container image in Azure.
  3. Configure or correct the container's startup command and entrypoint according to the image design.
  4. Use App Service Key Vault references with an identity authorized to read the target secret.

Explanation

Correct Answer

C:

A correct startup command must launch a foreground process that accepts requests inside the container. For this situation—A Python model API works on the developer machine but its production container starts with the wrong command—the relevant response is “Configure or correct the container's startup command and entrypoint according to the image design”. A useful confirmation is “App Service logs show the intended web process running and the API health endpoint succeeds”.

Incorrect Answers

A:

Container stdout and stderr logs help diagnose startup faults that application-level endpoints cannot expose. That does not directly address the situation—A Python model API works on the developer machine but its production container starts with the wrong command. The more suitable choice is “Configure or correct the container's startup command and entrypoint according to the image design”: A correct startup command must launch a foreground process that accepts requests inside the container.

B:

ACR quick tasks execute builds remotely without requiring a local daemon or a long-lived CI trigger. That does not directly address the situation—A Python model API works on the developer machine but its production container starts with the wrong command. The more suitable choice is “Configure or correct the container's startup command and entrypoint according to the image design”: A correct startup command must launch a foreground process that accepts requests inside the container.

D:

Key Vault references move secret retrieval out of immutable image layers into managed runtime configuration. That does not directly address the situation—A Python model API works on the developer machine but its production container starts with the wrong command. The more suitable choice is “Configure or correct the container's startup command and entrypoint according to the image design”: A correct startup command must launch a foreground process that accepts requests inside the container.

Question 98

A Python model API works on the developer machine but its production container starts with the wrong command. Which observation BEST confirms the intended behavior after the change?

  1. App Service logs show the intended web process running and the API health endpoint succeeds.
  2. Container startup errors are visible in the configured log destination for the failed deployment.
  3. The quick-task run completes and its image manifest is present in the requested repository.
  4. The app resolves the Key Vault-backed setting and the secret is absent from the built image.

Explanation

Correct Answer

A:

A correct startup command must launch a foreground process that accepts requests inside the container. The observed result “App Service logs show the intended web process running and the API health endpoint succeeds” would confirm the change “Configure or correct the container's startup command and entrypoint according to the image design” in this situation: A Python model API works on the developer machine but its production container starts with the wrong command.

Incorrect Answers

B:

Container stdout and stderr logs help diagnose startup faults that application-level endpoints cannot expose. The situation here is: A Python model API works on the developer machine but its production container starts with the wrong command. A test of this alternative would miss the specific outcome “App Service logs show the intended web process running and the API health endpoint succeeds”.

C:

ACR quick tasks execute builds remotely without requiring a local daemon or a long-lived CI trigger. The situation here is: A Python model API works on the developer machine but its production container starts with the wrong command. A test of this alternative would miss the specific outcome “App Service logs show the intended web process running and the API health endpoint succeeds”.

D:

Key Vault references move secret retrieval out of immutable image layers into managed runtime configuration. The situation here is: A Python model API works on the developer machine but its production container starts with the wrong command. A test of this alternative would miss the specific outcome “App Service logs show the intended web process running and the API health endpoint succeeds”.

Question 99

An App Service custom container needs an explicit startup entrypoint for the web server. Which configuration should the engineer implement?

  1. Enable and inspect App Service container application logging and log streams.
  2. Configure or correct the container's startup command and entrypoint according to the image design.
  3. Use an ACR quick task to build the container image in Azure.
  4. Use App Service Key Vault references with an identity authorized to read the target secret.

Explanation

Correct Answer

B:

A correct startup command must launch a foreground process that accepts requests inside the container. For this situation—An App Service custom container needs an explicit startup entrypoint for the web server—the relevant response is “Configure or correct the container's startup command and entrypoint according to the image design”. A useful confirmation is “App Service logs show the intended web process running and the API health endpoint succeeds”.

Incorrect Answers

A:

Container stdout and stderr logs help diagnose startup faults that application-level endpoints cannot expose. That does not directly address the situation—An App Service custom container needs an explicit startup entrypoint for the web server. The more suitable choice is “Configure or correct the container's startup command and entrypoint according to the image design”: A correct startup command must launch a foreground process that accepts requests inside the container.

C:

ACR quick tasks execute builds remotely without requiring a local daemon or a long-lived CI trigger. That does not directly address the situation—An App Service custom container needs an explicit startup entrypoint for the web server. The more suitable choice is “Configure or correct the container's startup command and entrypoint according to the image design”: A correct startup command must launch a foreground process that accepts requests inside the container.

D:

Key Vault references move secret retrieval out of immutable image layers into managed runtime configuration. That does not directly address the situation—An App Service custom container needs an explicit startup entrypoint for the web server. The more suitable choice is “Configure or correct the container's startup command and entrypoint according to the image design”: A correct startup command must launch a foreground process that accepts requests inside the container.

Question 100

An App Service custom container needs an explicit startup entrypoint for the web server. Which test result provides the strongest acceptance evidence?

  1. Container startup errors are visible in the configured log destination for the failed deployment.
  2. The quick-task run completes and its image manifest is present in the requested repository.
  3. The app resolves the Key Vault-backed setting and the secret is absent from the built image.
  4. App Service logs show the intended web process running and the API health endpoint succeeds.

Explanation

Correct Answer

D:

A correct startup command must launch a foreground process that accepts requests inside the container. The observed result “App Service logs show the intended web process running and the API health endpoint succeeds” would confirm the change “Configure or correct the container's startup command and entrypoint according to the image design” in this situation: An App Service custom container needs an explicit startup entrypoint for the web server.

Incorrect Answers

A:

Container stdout and stderr logs help diagnose startup faults that application-level endpoints cannot expose. The situation here is: An App Service custom container needs an explicit startup entrypoint for the web server. A test of this alternative would miss the specific outcome “App Service logs show the intended web process running and the API health endpoint succeeds”.

B:

ACR quick tasks execute builds remotely without requiring a local daemon or a long-lived CI trigger. The situation here is: An App Service custom container needs an explicit startup entrypoint for the web server. A test of this alternative would miss the specific outcome “App Service logs show the intended web process running and the API health endpoint succeeds”.

C:

Key Vault references move secret retrieval out of immutable image layers into managed runtime configuration. The situation here is: An App Service custom container needs an explicit startup entrypoint for the web server. A test of this alternative would miss the specific outcome “App Service logs show the intended web process running and the API health endpoint succeeds”.