AZ-104 practice question · Manage Azure identities and governance
An administrator must block the creation of new resources in any Azure region other than two approved regions.
An administrator must block the creation of new resources in any Azure region other than two approved regions. The rule must apply to every resource in a subscription, no matter which user deploys the resource. Which Azure feature should the administrator use?
- AAzure Policy
- BAzure role-based access control (Azure RBAC)
- CAzure resource locks
- DAzure management groups
Show the answer and explanation
Correct answer: A) Azure Policy
To restrict which regions resources can be deployed to, assign Azure Policy's built-in Allowed Locations definition, which uses the Deny effect, at the subscription scope. RBAC controls who can act, not which property values are allowed.
Why each option is right or wrong
- A) Correct. Azure Policy compares resource properties against rules. The built-in Allowed Locations definition uses the Deny effect to restrict the locations available for new resources, and an assignment at subscription scope applies to all resources in that scope.
- B) Incorrect. Azure RBAC controls which actions a security principal can perform at a scope. It can't evaluate a resource property such as its location, so it can't limit deployments to specific regions.
- C) Incorrect. CanNotDelete and ReadOnly locks protect existing resources from deletion or modification. They can't restrict the region of newly created resources.
- D) Incorrect. Management groups organize subscriptions into a hierarchy for applying governance. On their own they don't enforce rules; you still need a policy assigned at that scope.
- Exam domain
- Manage Azure identities and governance · 25% of AZ-104
- Question type
- Multiple choice (one answer)
Related AZ-104 questions
- You want a security group's membership to stay in sync with the users' department attribute automatically, with no…Manage Azure identities and governance
- Your service desk needs to create and manage user accounts and groups and reset passwords for non-administrator users…Manage Azure identities and governance
- Company rule: storage accounts may only be created in approved regions, and any attempt to create one elsewhere must be…Manage Azure identities and governance
- You want to be alerted by email when a subscription's spend is forecast to reach 80% and 100% of a monthly amount…Manage Azure identities and governance
All 62 free AZ-104 questions by domain · 15 sample questions on one page
Practise the full AZ-104 exam
This question is one of a small free sample from the CertRidge AZ-104 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with Microsoft; never copied from the real exam.
Worth reading: AZ-104 passing score (700/1000), what 700 means on Microsoft's scaled score, and why it isn't 70%.