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)
Related AZ-104 questions
- 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
- A virtual machine needs an identity to authenticate to Azure Key Vault, and that identity should be created and deleted…Manage Azure identities and governance
- Ten virtual machines and two Logic Apps must all authenticate as the same identity so one role assignment covers them.Manage Azure identities and governance
- You assign the Reader role to a group at the subscription scope. What can members of that group do?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%.