WebApp1 in RG1 is located in West Europe. You move WebApp1 to RG2. What happens to the App Service plan’s region and which policy is applied to WebApp1 after the move?
Choose an answer
Tap an option to check your answer.
Correct answer: The App Service plan for WebApp1 remains in West Europe. Policy2 applies to WebApp1..
Why this is the answer
When you move an Azure App Service web app between resource groups, the underlying App Service plan does not move with it. App Service plans are regional resources, and their location is fixed upon creation. Therefore, the App Service plan for WebApp1 remains in West Europe. Policy assignments are inherited from the scope they are applied to. If Policy2 is applied at the RG2 scope, then WebApp1, now residing in RG2, will inherit and be subject to Policy2. Policy1 would only apply if it were assigned at a scope encompassing RG2, or directly to WebApp1 after the move, which is not indicated. Moving the web app does not change its App Service plan's region, nor does it automatically change policy assignments unless the new resource group has different policies applied.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed