exam questions

Exam AZ-103 All Questions

View all questions & answers for the AZ-103 exam

Exam AZ-103 topic 1 question 5 discussion

Actual exam question from Microsoft's AZ-103
Question #: 5
Topic #: 1
[All AZ-103 Questions]

You have an Azure subscription named Subscription1. Subscription1 contains the resource groups in the following table.

RG1 has a web app named WebApp1. WebApp1 is located in West Europe.
You move WebApp1 to RG2.
What is the effect of the move?

  • A. The App Service plan for WebApp1 moves to North Europe. Policy2 applies to WebApp1.
  • B. The App Service plan for WebApp1 remains in West Europe. Policy2 applies to WebApp1.
  • C. The App Service plan for WebApp1 moves to North Europe. Policy1 applies to WebApp1.
  • D. The App Service plan for WebApp1 remains in West Europe. Policy1 applies to WebApp1.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
You can move an app to another App Service plan, as long as the source plan and the target plan are in the same resource group and geographical region.
The region in which your app runs is the region of the App Service plan it's in. However, you cannot change an App Service plan's region.
References:
https://docs.microsoft.com/en-us/azure/app-service/app-service-plan-manage

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Nhan
Highly Voted 5 years, 2 months ago
The given answer is correct
upvoted 19 times
...
[Removed]
Highly Voted 5 years, 1 month ago
The given answer is correct. There is a change button adjacent to the resource group when you open the app service pane....from there you can change the resource group to another resource group in a different region...I tested this
upvoted 14 times
...
tashakori
Most Recent 1 year, 3 months ago
B is correct
upvoted 1 times
...
kilowd
3 years, 1 month ago
Answer B: App Service resources are region-specific and can't be moved across regions. You must create a copy of your existing App Service resources in the target region, then move your content over to the new app
upvoted 1 times
...
Deyvessh
4 years ago
Yes, Not your whole app gets shifted to different region if changes are done in Resource Group. Yes, The Same Policies are applied to your WebApp of your changed Resource Group.
upvoted 1 times
...
ZUMY
4 years, 3 months ago
B is correct
upvoted 1 times
...
I
4 years, 4 months ago
Answer B is correct. To make it easier that all the data about WebAPP1 is storaged in the region of West Europe with RG1, if here got a RG4 in region of West Europe as well that WebAPP1 can be moved to RG4 (the data storage won't change but a link pointed to RG4). However, to move WebAPP1 to another region from West Europe to North Europe is same similar as from RG1 to RG4 that is a link pointed to North Europe but the data is still storaged at West Europe. Therefore, the APP service won't change but policy change to policy2. If want to move all WebAPP1 to North Europe, here should use 'colone' function to have a copy of WebAPP1. Hope this might be helpful.
upvoted 4 times
...
mikewallace8372
4 years, 5 months ago
rg move won't affect location
upvoted 1 times
...
aryise
4 years, 6 months ago
Correct Answer: B
upvoted 3 times
...
Thanveer
4 years, 7 months ago
The region in which your app runs is the region of the App Service plan it's in. However, you cannot change an App Service plan's region. If you want to run your app in a different region, one alternative is app cloning. Cloning makes a copy of your app in a new or existing App Service plan in any region.
upvoted 1 times
...
Thi
4 years, 7 months ago
B. The App Service plan for WebApp1 remains in West Europe. Policy2 applies to WebApp1.
upvoted 1 times
...
sjccde
4 years, 8 months ago
Did I get this right now..: Basically you cannot "move" App services between regions but MS gives explanation for "moving" - by cloning. Ref.: https://docs.microsoft.com/en-us/azure/app-service/app-service-web-app-cloning $destapp = New-AzWebApp -ResourceGroupName DestinationAzureResourceGroup -Name dest-webapp -Location "North Central US" -AppServicePlan DestinationAppServicePlan -SourceWebApp $srcapp So we need to assume that this happened here when they say, the Web App was "moved"!(?) Then the anwser is right: The App SERVICE PLAN cannot move, stays in Region1. The WebApp was moved to new region so new Policy applies. Is this correct..?
upvoted 2 times
...
Forgive
4 years, 9 months ago
App Service plan cant move between regions. All polices of RG will apply to all its resources if not explicitly specified.
upvoted 2 times
...
Mustaqueem
4 years, 9 months ago
answer is correct B only the right answer I just tried
upvoted 2 times
...
Azure4Jahid
4 years, 9 months ago
Can anyone please explain the relation with policy? I know the webapp cannot moved to different region but clone. webapp is hosted on web service plan. But I cannot see the relation to the policy. Please help by explaining.
upvoted 1 times
...
surya_lolla
4 years, 10 months ago
came 28th Aug
upvoted 2 times
...
hstorm
4 years, 10 months ago
Am I the only one thinking A? I cannot directly move the app, but I can clone it (creating a new webapp1 in new region and in new plan) then delete the old one... In this case the new app will get the new plan and the new policy... Anyways the question is not clear in my oppinion.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...