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 5

Question 40

A build service needs to push images while applications must only pull them. After the proposed remediation, what should be observed?

  1. Build uploads succeed; the application identity can pull but cannot push or delete images.
  2. The destination repository has the expected digest and can be pulled using corporate access controls.
  3. An intentionally unhealthy instance fails its health probe and stops receiving new routed traffic.
  4. A test image push sends the configured event payload to the authorized receiver.

Explanation

Correct Answer

A:

Separating push and pull authorization enforces least privilege for the registry supply chain. The observed result “Build uploads succeed; the application identity can pull but cannot push or delete images” would confirm the change “Assign scoped ACR roles to the build identity and runtime identity rather than sharing admin credentials” in this situation: A build service needs to push images while applications must only pull them.

Incorrect Answers

B:

ACR import performs a registry-to-registry transfer without requiring the client to pull and push layers locally. The situation here is: A build service needs to push images while applications must only pull them. A test of this alternative would miss the specific outcome “Build uploads succeed; the application identity can pull but cannot push or delete images”.

C:

Health Check uses an application endpoint to recognize instances that should not serve requests. The situation here is: A build service needs to push images while applications must only pull them. A test of this alternative would miss the specific outcome “Build uploads succeed; the application identity can pull but cannot push or delete images”.

D:

ACR webhooks announce registry events; they are not substitutes for image build or hosting services. The situation here is: A build service needs to push images while applications must only pull them. A test of this alternative would miss the specific outcome “Build uploads succeed; the application identity can pull but cannot push or delete images”.

Question 41

A Linux App Service container needs a model endpoint supplied as an environment variable in each deployment slot. Which configuration should the engineer implement?

  1. Set required application settings in Azure App Service for the container and slot.
  2. Configure the App Service container port setting to match the application's actual listening port.
  3. Use App Service Key Vault references with an identity authorized to read the target secret.
  4. Configure an Azure Container Registry Task triggered by the repository's source change event.

Explanation

Correct Answer

A:

App Service application settings are injected into the container environment at runtime. For this situation—A Linux App Service container needs a model endpoint supplied as an environment variable in each deployment slot—the relevant response is “Set required application settings in Azure App Service for the container and slot”. A useful confirmation is “The container process reads the expected environment values after restart without rebuilding its image”.

Incorrect Answers

B:

The hosting front end must know the listening port of the custom container to route inbound traffic. That does not directly address the situation—A Linux App Service container needs a model endpoint supplied as an environment variable in each deployment slot. The more suitable choice is “Set required application settings in Azure App Service for the container and slot”: App Service application settings are injected into the container environment at runtime.

C:

Key Vault references move secret retrieval out of immutable image layers into managed runtime configuration. That does not directly address the situation—A Linux App Service container needs a model endpoint supplied as an environment variable in each deployment slot. The more suitable choice is “Set required application settings in Azure App Service for the container and slot”: App Service application settings are injected into the container environment at runtime.

D:

ACR Tasks can automate container builds from source events and store results within a registry. That does not directly address the situation—A Linux App Service container needs a model endpoint supplied as an environment variable in each deployment slot. The more suitable choice is “Set required application settings in Azure App Service for the container and slot”: App Service application settings are injected into the container environment at runtime.

Question 42

A Linux App Service container needs a model endpoint supplied as an environment variable in each deployment slot. Which test result provides the strongest acceptance evidence?

  1. An external request reaches the app through App Service and returns the expected health response.
  2. The app resolves the Key Vault-backed setting and the secret is absent from the built image.
  3. A commit to the selected branch produces the expected versioned image and task execution log.
  4. The container process reads the expected environment values after restart without rebuilding its image.

Explanation

Correct Answer

D:

App Service application settings are injected into the container environment at runtime. The observed result “The container process reads the expected environment values after restart without rebuilding its image” would confirm the change “Set required application settings in Azure App Service for the container and slot” in this situation: A Linux App Service container needs a model endpoint supplied as an environment variable in each deployment slot.

Incorrect Answers

A:

The hosting front end must know the listening port of the custom container to route inbound traffic. The situation here is: A Linux App Service container needs a model endpoint supplied as an environment variable in each deployment slot. A test of this alternative would miss the specific outcome “The container process reads the expected environment values after restart without rebuilding its image”.

B:

Key Vault references move secret retrieval out of immutable image layers into managed runtime configuration. The situation here is: A Linux App Service container needs a model endpoint supplied as an environment variable in each deployment slot. A test of this alternative would miss the specific outcome “The container process reads the expected environment values after restart without rebuilding its image”.

C:

ACR Tasks can automate container builds from source events and store results within a registry. The situation here is: A Linux App Service container needs a model endpoint supplied as an environment variable in each deployment slot. A test of this alternative would miss the specific outcome “The container process reads the expected environment values after restart without rebuilding its image”.

Question 43

A Python web app running as a custom container must receive database settings without baking them into the image. What change should the developer make FIRST to satisfy the stated need?

  1. Configure the App Service container port setting to match the application's actual listening port.
  2. Use App Service Key Vault references with an identity authorized to read the target secret.
  3. Configure an Azure Container Registry Task triggered by the repository's source change event.
  4. Set required application settings in Azure App Service for the container and slot.

Explanation

Correct Answer

D:

App Service application settings are injected into the container environment at runtime. For this situation—A Python web app running as a custom container must receive database settings without baking them into the image—the relevant response is “Set required application settings in Azure App Service for the container and slot”. A useful confirmation is “The container process reads the expected environment values after restart without rebuilding its image”.

Incorrect Answers

A:

The hosting front end must know the listening port of the custom container to route inbound traffic. That does not directly address the situation—A Python web app running as a custom container must receive database settings without baking them into the image. The more suitable choice is “Set required application settings in Azure App Service for the container and slot”: App Service application settings are injected into the container environment at runtime.

B:

Key Vault references move secret retrieval out of immutable image layers into managed runtime configuration. That does not directly address the situation—A Python web app running as a custom container must receive database settings without baking them into the image. The more suitable choice is “Set required application settings in Azure App Service for the container and slot”: App Service application settings are injected into the container environment at runtime.

C:

ACR Tasks can automate container builds from source events and store results within a registry. That does not directly address the situation—A Python web app running as a custom container must receive database settings without baking them into the image. The more suitable choice is “Set required application settings in Azure App Service for the container and slot”: App Service application settings are injected into the container environment at runtime.

Question 44

A Python web app running as a custom container must receive database settings without baking them into the image. Which observation BEST confirms the intended behavior after the change?

  1. An external request reaches the app through App Service and returns the expected health response.
  2. The app resolves the Key Vault-backed setting and the secret is absent from the built image.
  3. A commit to the selected branch produces the expected versioned image and task execution log.
  4. The container process reads the expected environment values after restart without rebuilding its image.

Explanation

Correct Answer

D:

App Service application settings are injected into the container environment at runtime. The observed result “The container process reads the expected environment values after restart without rebuilding its image” would confirm the change “Set required application settings in Azure App Service for the container and slot” in this situation: A Python web app running as a custom container must receive database settings without baking them into the image.

Incorrect Answers

A:

The hosting front end must know the listening port of the custom container to route inbound traffic. The situation here is: A Python web app running as a custom container must receive database settings without baking them into the image. A test of this alternative would miss the specific outcome “The container process reads the expected environment values after restart without rebuilding its image”.

B:

Key Vault references move secret retrieval out of immutable image layers into managed runtime configuration. The situation here is: A Python web app running as a custom container must receive database settings without baking them into the image. A test of this alternative would miss the specific outcome “The container process reads the expected environment values after restart without rebuilding its image”.

C:

ACR Tasks can automate container builds from source events and store results within a registry. The situation here is: A Python web app running as a custom container must receive database settings without baking them into the image. A test of this alternative would miss the specific outcome “The container process reads the expected environment values after restart without rebuilding its image”.

Question 45

A team wants a containerized API on App Service to retrieve a database password securely. Which implementation is MOST appropriate for this requirement?

  1. Configure or correct the container's startup command and entrypoint according to the image design.
  2. Use App Service Key Vault references with an identity authorized to read the target secret.
  3. Store persistent files on a supported mounted Azure Files or persistent storage location.
  4. Mark environment-specific App Service settings as deployment-slot settings before swapping.

Explanation

Correct Answer

B:

Key Vault references move secret retrieval out of immutable image layers into managed runtime configuration. For this situation—A team wants a containerized API on App Service to retrieve a database password securely—the relevant response is “Use App Service Key Vault references with an identity authorized to read the target secret”. A useful confirmation is “The app resolves the Key Vault-backed setting and the secret is absent from the built image”.

Incorrect Answers

A:

A correct startup command must launch a foreground process that accepts requests inside the container. That does not directly address the situation—A team wants a containerized API on App Service to retrieve a database password securely. The more suitable choice is “Use App Service Key Vault references with an identity authorized to read the target secret”: Key Vault references move secret retrieval out of immutable image layers into managed runtime configuration.

C:

Container writable layers are not a reliable persistence mechanism across App Service instance replacement. That does not directly address the situation—A team wants a containerized API on App Service to retrieve a database password securely. The more suitable choice is “Use App Service Key Vault references with an identity authorized to read the target secret”: Key Vault references move secret retrieval out of immutable image layers into managed runtime configuration.

D:

Slot settings stay with their deployment slot during swaps to avoid moving environment-specific values. That does not directly address the situation—A team wants a containerized API on App Service to retrieve a database password securely. The more suitable choice is “Use App Service Key Vault references with an identity authorized to read the target secret”: Key Vault references move secret retrieval out of immutable image layers into managed runtime configuration.

Question 46

A team wants a containerized API on App Service to retrieve a database password securely. After the proposed remediation, what should be observed?

  1. App Service logs show the intended web process running and the API health endpoint succeeds.
  2. Content written before an instance restart remains available after the container is replaced.
  3. The app resolves the Key Vault-backed setting and the secret is absent from the built image.
  4. After a controlled swap, each slot retains its own intended backend endpoint.

Explanation

Correct Answer

C:

Key Vault references move secret retrieval out of immutable image layers into managed runtime configuration. The observed result “The app resolves the Key Vault-backed setting and the secret is absent from the built image” would confirm the change “Use App Service Key Vault references with an identity authorized to read the target secret” in this situation: A team wants a containerized API on App Service to retrieve a database password securely.

Incorrect Answers

A:

A correct startup command must launch a foreground process that accepts requests inside the container. The situation here is: A team wants a containerized API on App Service to retrieve a database password securely. A test of this alternative would miss the specific outcome “The app resolves the Key Vault-backed setting and the secret is absent from the built image”.

B:

Container writable layers are not a reliable persistence mechanism across App Service instance replacement. The situation here is: A team wants a containerized API on App Service to retrieve a database password securely. A test of this alternative would miss the specific outcome “The app resolves the Key Vault-backed setting and the secret is absent from the built image”.

D:

Slot settings stay with their deployment slot during swaps to avoid moving environment-specific values. The situation here is: A team wants a containerized API on App Service to retrieve a database password securely. A test of this alternative would miss the specific outcome “The app resolves the Key Vault-backed setting and the secret is absent from the built image”.

Question 47

A custom App Service container currently embeds a Key Vault secret in its image layer. Which technical approach BEST addresses this problem?

  1. Use App Service Key Vault references with an identity authorized to read the target secret.
  2. Configure or correct the container's startup command and entrypoint according to the image design.
  3. Store persistent files on a supported mounted Azure Files or persistent storage location.
  4. Mark environment-specific App Service settings as deployment-slot settings before swapping.

Explanation

Correct Answer

A:

Key Vault references move secret retrieval out of immutable image layers into managed runtime configuration. For this situation—A custom App Service container currently embeds a Key Vault secret in its image layer—the relevant response is “Use App Service Key Vault references with an identity authorized to read the target secret”. A useful confirmation is “The app resolves the Key Vault-backed setting and the secret is absent from the built image”.

Incorrect Answers

B:

A correct startup command must launch a foreground process that accepts requests inside the container. That does not directly address the situation—A custom App Service container currently embeds a Key Vault secret in its image layer. The more suitable choice is “Use App Service Key Vault references with an identity authorized to read the target secret”: Key Vault references move secret retrieval out of immutable image layers into managed runtime configuration.

C:

Container writable layers are not a reliable persistence mechanism across App Service instance replacement. That does not directly address the situation—A custom App Service container currently embeds a Key Vault secret in its image layer. The more suitable choice is “Use App Service Key Vault references with an identity authorized to read the target secret”: Key Vault references move secret retrieval out of immutable image layers into managed runtime configuration.

D:

Slot settings stay with their deployment slot during swaps to avoid moving environment-specific values. That does not directly address the situation—A custom App Service container currently embeds a Key Vault secret in its image layer. The more suitable choice is “Use App Service Key Vault references with an identity authorized to read the target secret”: Key Vault references move secret retrieval out of immutable image layers into managed runtime configuration.

Question 48

A custom App Service container currently embeds a Key Vault secret in its image layer. What result MOST directly verifies that the solution works?

  1. App Service logs show the intended web process running and the API health endpoint succeeds.
  2. Content written before an instance restart remains available after the container is replaced.
  3. The app resolves the Key Vault-backed setting and the secret is absent from the built image.
  4. After a controlled swap, each slot retains its own intended backend endpoint.

Explanation

Correct Answer

C:

Key Vault references move secret retrieval out of immutable image layers into managed runtime configuration. The observed result “The app resolves the Key Vault-backed setting and the secret is absent from the built image” would confirm the change “Use App Service Key Vault references with an identity authorized to read the target secret” in this situation: A custom App Service container currently embeds a Key Vault secret in its image layer.

Incorrect Answers

A:

A correct startup command must launch a foreground process that accepts requests inside the container. The situation here is: A custom App Service container currently embeds a Key Vault secret in its image layer. A test of this alternative would miss the specific outcome “The app resolves the Key Vault-backed setting and the secret is absent from the built image”.

B:

Container writable layers are not a reliable persistence mechanism across App Service instance replacement. The situation here is: A custom App Service container currently embeds a Key Vault secret in its image layer. A test of this alternative would miss the specific outcome “The app resolves the Key Vault-backed setting and the secret is absent from the built image”.

D:

Slot settings stay with their deployment slot during swaps to avoid moving environment-specific values. The situation here is: A custom App Service container currently embeds a Key Vault secret in its image layer. A test of this alternative would miss the specific outcome “The app resolves the Key Vault-backed setting and the secret is absent from the built image”.

Question 49

A checkout model release must be tested at a production-like URL without replacing the live API first. What change should the developer make FIRST to satisfy the stated need?

  1. Configure or correct the container's startup command and entrypoint according to the image design.
  2. Enable supported ACR soft-delete capability and restore the eligible deleted artifact.
  3. Deploy to an App Service deployment slot, validate it, and swap after approval.
  4. Configure the App Service container port setting to match the application's actual listening port.

Explanation

Correct Answer

C:

Deployment slots support staged validation and swaps while reducing direct production deployment risk. For this situation—A checkout model release must be tested at a production-like URL without replacing the live API first—the relevant response is “Deploy to an App Service deployment slot, validate it, and swap after approval”. A useful confirmation is “The validated slot becomes active with the expected configuration, and the previous build remains available for rollback”.

Incorrect Answers

A:

A correct startup command must launch a foreground process that accepts requests inside the container. That does not directly address the situation—A checkout model release must be tested at a production-like URL without replacing the live API first. The more suitable choice is “Deploy to an App Service deployment slot, validate it, and swap after approval”: Deployment slots support staged validation and swaps while reducing direct production deployment risk.

B:

Registry soft delete supports recovery of eligible deleted artifacts; redeploying an app does not restore a missing image. That does not directly address the situation—A checkout model release must be tested at a production-like URL without replacing the live API first. The more suitable choice is “Deploy to an App Service deployment slot, validate it, and swap after approval”: Deployment slots support staged validation and swaps while reducing direct production deployment risk.

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—A checkout model release must be tested at a production-like URL without replacing the live API first. The more suitable choice is “Deploy to an App Service deployment slot, validate it, and swap after approval”: Deployment slots support staged validation and swaps while reducing direct production deployment risk.

Question 50

A checkout model release must be tested at a production-like URL without replacing the live API first. 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. The restored image manifest can be located and pulled again within the allowed recovery interval.
  3. An external request reaches the app through App Service and returns the expected health response.
  4. The validated slot becomes active with the expected configuration, and the previous build remains available for rollback.

Explanation

Correct Answer

D:

Deployment slots support staged validation and swaps while reducing direct production deployment risk. The observed result “The validated slot becomes active with the expected configuration, and the previous build remains available for rollback” would confirm the change “Deploy to an App Service deployment slot, validate it, and swap after approval” in this situation: A checkout model release must be tested at a production-like URL without replacing the live API first.

Incorrect Answers

A:

A correct startup command must launch a foreground process that accepts requests inside the container. The situation here is: A checkout model release must be tested at a production-like URL without replacing the live API first. A test of this alternative would miss the specific outcome “The validated slot becomes active with the expected configuration, and the previous build remains available for rollback”.

B:

Registry soft delete supports recovery of eligible deleted artifacts; redeploying an app does not restore a missing image. The situation here is: A checkout model release must be tested at a production-like URL without replacing the live API first. A test of this alternative would miss the specific outcome “The validated slot becomes active with the expected configuration, and the previous build remains available for rollback”.

C:

The hosting front end must know the listening port of the custom container to route inbound traffic. The situation here is: A checkout model release must be tested at a production-like URL without replacing the live API first. A test of this alternative would miss the specific outcome “The validated slot becomes active with the expected configuration, and the previous build remains available for rollback”.