AZ-900 practice question · Describe Azure Management and Governance
Within an Azure Policy definition's underlying JSON structure, what two main blocks define, respectively, the condition…
Within an Azure Policy definition's underlying JSON structure, what two main blocks define, respectively, the condition being evaluated and what happens when that condition is met?
- AAn "if" block (the condition) and a "then" block (the effect)
- BA "scope" block and a "role" block
- CA "tenant" block and a "subscription" block
- DPolicy definitions have no defined JSON structure at all
Show the answer and explanation
Correct answer: A) An "if" block (the condition) and a "then" block (the effect)
Why each option is right or wrong
- A) Correct. An Azure Policy definition's JSON structure includes an "if" block, defining the specific condition being evaluated against a resource (like checking its location or a required tag), and a "then" block, defining the effect that should occur when that condition is met (like Deny, Audit, or Append) — this if/then structure is the core logical building block underlying every policy definition.
- B) Incorrect. Scope and role are concepts relevant to RBAC role assignments, not the core condition/effect structure of an Azure Policy definition's JSON, which is specifically the if/then structure.
- C) Incorrect. Tenant and subscription are broader governance hierarchy concepts, not the specific condition/effect structure within a policy definition's own JSON.
- D) Incorrect. This is incorrect — Azure Policy definitions specifically follow a well-defined JSON structure, centered on the if/then condition-and-effect pattern.
- Exam domain
- Describe Azure Management and Governance · 35% of AZ-900
- Question type
- Multiple choice (one answer)
Related AZ-900 questions
- A European customer wants assurance that the processing and storage of their personal data by Microsoft's core cloud…Describe Azure Management and Governance
- A company wants to enforce that every virtual machine deployed in a specific subscription must be tagged with a…Describe Azure Management and Governance
- A technician wants a browser-based, always-available command-line environment for managing Azure resources with Azure…Describe Azure Management and Governance
- A finance team wants to see a detailed breakdown of current-month Azure spending by resource group and department tag…Describe Azure Management and Governance
All 67 free AZ-900 questions by domain · 15 sample questions on one page
Practise the full AZ-900 exam
This question is one of a small free sample from the CertRidge AZ-900 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.