Microsoft Azure Administrator (AZ104) Practice Exam

Disable ads (and more) with a membership for a one time $4.99 payment

Study for the Microsoft Azure Administrator (AZ104) Exam. Prepare with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Practice this question and more.


When moving a web app from one resource group to another, what is the impact on the App Service plan regarding Azure policies?

  1. The App Service plan moves to the new region, and the new policy applies.

  2. The App Service plan remains in the old region, and the new policy applies.

  3. The App Service plan moves to the new region, and the old policy applies.

  4. The App Service plan remains in the old region, and the old policy applies.

The correct answer is: The App Service plan moves to the new region, and the old policy applies.

When a web app is moved from one resource group to another in Azure, the App Service plan associated with that web app remains in the same region as it was when originally created. The policies that apply to the App Service plan are determined by its original resource group and region. This means that when you move the web app to a different resource group, the App Service plan still retains its connection to the original region and its associated policies. As a result, the old policy still applies to the App Service plan even after the web app is moved. This is important because it maintains continuity in the governance and security policies that were initially in place for that App Service plan, preventing any unexpected changes that could occur if the policies were altered due to a resource group switch. In this context, keeping the App Service plan in its original region while retaining the old policy ensures that any restrictions or governance established for that region and resource group remain applicable to the App Service plan, thus providing a reliable framework for managing web applications during migrations.