AZ-305 practice question 4 of 35
Your company plans to deploy various Azure App Service instances that will use Azure SQL databases. The App Service instances will be deployed at the…
Choose your answer, then check it against the explanation and the full breakdown below.
Domain Design infrastructure solutions
Question breakdown
Key idea: A resource group's location only stores its metadata, and resources inside it can be deployed to any region.
How to reach the answer
- The requirement is that the App Service resources themselves be deployed only to specific regions.
- The proposed solution restricts resource group locations.
- Resources in a resource group can be placed in a different region from the group itself.
- Restricting resource groups therefore does not stop App Service deployments to non-approved regions, so the goal is not met.
Each option
Common trap: Assuming resources inherit their resource group's region, because the portal defaults new resources to the group's location.
In practice: Data-residency compliance is normally enforced by assigning the built-in 'Allowed locations' policy at the management group or subscription scope. 'Allowed locations for resource groups' is often added alongside it.
Remember: Resource group location is metadata only, so enforce residency with a resource-level Allowed locations policy.
Official documentation: Manage Azure resource groups by using the Azure portal · Azure Policy built-in policy definitions
Drafted with AI assistance and checked against the answer key.
Keep practicing
Take the free AZ-305 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other AZ-305 practice questions
- Question 3Your company has 300 virtual machines hosted in a VMware environment. The virtual machine…
- Question 10You have an Azure subscription that contains two applications named App1 and App2. App1 i…
- Question 12You are designing an application that will aggregate content for users. You need to recom…
- Question 15You migrate App1 to Azure. You need to ensure that the data storage for App1 meets the se…
- Question 18You have SQL Server on an Azure virtual machine. The databases are written to nightly as …
- Question 23The accounting department at your company migrates to a new financial accounting software…
