Skip to main content

AZ-104 practice question · 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…

Company rule: storage accounts may only be created in approved regions, and any attempt to create one elsewhere must be blocked outright. What do you configure?

  • AAssign the built-in 'Allowed locations' policy (deny effect) at the subscription
  • BAssign a policy with the audit effect for disallowed locations
  • CPut a ReadOnly lock on each resource group
  • DCreate a custom RBAC role that limits regions
Show the answer and explanation

Correct answer: A) Assign the built-in 'Allowed locations' policy (deny effect) at the subscription

Why each option is right or wrong

  • A) Correct. A policy with the deny effect rejects non-compliant resource creation at request time — the enforcement the requirement asks for.
  • B) Incorrect. Audit only records non-compliance in the dashboard; it doesn't stop the resource from being created.
  • C) Incorrect. A lock can't express 'only these regions' and would also block all other legitimate changes.
  • D) Incorrect. RBAC governs which actions a principal can perform, not which region a resource is placed in.
Exam domain
Manage Azure identities and governance · 25% of AZ-104
Question type
Multiple choice (one answer)

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%.