exam questions

Exam AZ-300 All Questions

View all questions & answers for the AZ-300 exam

Exam AZ-300 topic 3 question 7 discussion

Actual exam question from Microsoft's AZ-300
Question #: 7
Topic #: 3
[All AZ-300 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. Policy1 applies to WebApp1.
  • B. The App Service plan for WebApp1 remains in West Europe. Policy1 applies to WebApp1.
  • C. The App Service plan for WebApp1 moves to North Europe. Policy2 applies to WebApp1.
  • D. The App Service plan for WebApp1 remains in West Europe. Policy2 applies to WebApp1.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
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
jivom
Highly Voted 5 years, 1 month ago
D is correct: "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." So you can't move the service plan so it remains in its region, however you'll be creating a new service plan in the new region and clone your app to it; it will fall under the policy that is active in that region.
upvoted 10 times
...
DeveshSolanki
Highly Voted 4 years, 11 months ago
D. The App Service plan for WebApp1 remains in West Europe. Policy2 applies to WebApp1.
upvoted 7 times
ct84
4 years, 9 months ago
Yep, completely correct.
upvoted 1 times
...
...
BOC
Most Recent 4 years, 9 months ago
D is the correct answer
upvoted 2 times
...
ct84
4 years, 9 months ago
The Web App can be moved to the new RG without issue, but it's simply a container. The Web App remains in the region it was created, and so does the App Service Plan.. The policies that applied to the old RG stop being applicable to the Web App as soon as it is moved, and the policies in the new RG will then apply - i have tested and validated this. The question says nothing about moving the App Service Plans, so this will stay in the originally created location. It only talks about moving the Web App to a different RG, not about moving the Web App to another region. All in, i believe the answer must be D.
upvoted 3 times
azurecert2021
4 years, 5 months ago
yes D is the correct answer
upvoted 1 times
...
...
300taker
4 years, 10 months ago
As we cannot move the app, answer should be B . The plan under Resource Group ( RG2) won't even appear in the dropdown "In the App Service plan dropdown, select an existing plan to move the app to. The dropdown shows only plans that are in the same resource group and geographical region as the current App Service plan."
upvoted 1 times
ct84
4 years, 9 months ago
You can move the App, why can't you move the app to another RG?
upvoted 1 times
...
...
YPR
4 years, 11 months ago
Given answer is correct.
upvoted 3 times
...
Rittik
5 years ago
Given ans is correct only
upvoted 3 times
...
Tombarc
5 years ago
Answer B is correct according to the documentation : https://docs.microsoft.com/en-us/azure/app-service/app-service-plan-manage#move-an-app-to-a-different-region
upvoted 1 times
...
AnshMan
5 years, 1 month ago
Azure App Service Plan is restricted to geographies and regions. Meaning it is allowed between East Europe and North Europe, but not France. OK. coming to answer, while we are moving webapp1 to RG2 it asks us to select the moveable resources, if the adminstrator has not selected the APP service plan it will not migrate to the new RG2. So in this scenario, assuming App service Plan is not selected since there is no explanation of selecting the all resources, Answer would be B: The App Service plan for WebApp1 remains in West Europe. Policy2 applies to WebApp1. Where policies are applied on RG level, it will inherit to the applicable resources and they will not move when resources are migrated or moved between subscriptions or RG's...
upvoted 3 times
arunpaul
4 years, 4 months ago
Agree...But typo Ans:D More Info... Azure deploys each new App Service plan into a deployment unit, internally called a webspace. Each region can have many webspaces, but your app can only move between plans that are created in the same webspace. An App Service Environment is an isolated webspace, so apps can be moved between plans in the same App Service Environment, but not between plans in different App Service Environments. You can’t specify the webspace you want when creating a plan, but it’s possible to ensure that a plan is created in the same webspace as an existing plan. In brief, all plans created with the same resource group and region combination are deployed into the same webspace. For example, if you created a plan in resource group A and region B, then any plan you subsequently create in resource group A and region B is deployed into the same webspace. Note that plans can’t move webspaces after they’re created, so you can’t move a plan into “the same webspace” as another plan by moving it to another resource group.
upvoted 1 times
arunpaul
4 years, 4 months ago
https://docs.microsoft.com/en-us/azure/app-service/app-service-plan-manage
upvoted 1 times
...
...
...
Rajuuu
5 years, 2 months ago
App servie plan is restricted to a geographical region and cannot move between regions.Period.
upvoted 2 times
kumar123
5 years, 1 month ago
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. None of the options are right.
upvoted 2 times
lepperboy
5 years, 1 month ago
yes true!
upvoted 1 times
rb09
5 years, 1 month ago
So, answer should be B
upvoted 1 times
rb09
5 years, 1 month ago
Reason being - you don't mover both.. app service plan & App.
upvoted 1 times
...
...
...
...
ct84
4 years, 9 months ago
Question does not ask you to move the App Service Plan.. ?
upvoted 1 times
...
...
bluecloudy
5 years, 2 months ago
D: correct answer
upvoted 4 times
...
tmurfet
5 years, 3 months ago
Published solution is wrong. Correct is: B: The App Service plan for WebApp1 remains in West Europe. Policy2 applies to WebApp1.
upvoted 3 times
tulpe123
5 years, 3 months ago
but thats answer D
upvoted 17 times
tartar
4 years, 9 months ago
D is ok
upvoted 1 times
...
...
Rafael1984
5 years, 3 months ago
answer D
upvoted 11 times
...
Famous_Guy
5 years, 2 months ago
you did Typo :)
upvoted 2 times
...
ct84
4 years, 9 months ago
It's D.
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 ...