Question 80
An organization assigns one Azure Policy standard at a management-group scope containing production subscriptions and a permanent laboratory subscription. The laboratory must never be evaluated by this assignment or included as Exempted in its compliance reports. Production must stay evaluated. Which assignment configuration meets this explicit requirement?
Explanation
Correct Answer
The notScopes list on an Azure Policy assignment excludes a selected resource hierarchy or resource from evaluation. This is appropriate here because the laboratory exclusion is permanent and the policy owner requires the lab to be absent from the compliance evaluation count rather than displayed as Exempted. Keep the production hierarchy in scope and add the laboratory subscription to notScopes on that assignment. Microsoft distinguishes assignment exclusions from policy exemptions: exclusions are never evaluated, while exemptions retain an auditable Exempted status. Confirm the target resource IDs and assignment scope before making the configuration change.
Incorrect Answers
Assigning permissions to a policy managed identity can enable modify or deployIfNotExists remediation operations, but it does not change which resources the assignment evaluates. Contributor is also unnecessarily broad and not a mechanism to exclude a lab from the compliance denominator. The laboratory remains a descendant of the policy assignment until an explicit exclusion or different appropriate scope configuration is applied. The requirement concerns the assignment boundary, not remediation identity privileges. Configure the laboratory as a notScopes excluded subscription while retaining the desired production evaluation scope.
Moving resources between resource groups within the same laboratory subscription does not remove that subscription from a policy assigned above it at the management-group scope. Azure Policy assignment coverage follows the defined hierarchy and exclusions, not an assumption that a new group name signifies nonproduction. With no notScopes entry, applicable laboratory resources can continue to be evaluated and appear in compliance results. To satisfy the stated permanent removal from evaluation, modify the assignment exclusion list or hierarchy deliberately; rearranging resources inside the same covered subscription is insufficient.
Azure Policy exemptions are designed for documented waivers or mitigations and can have an expiry, but exempted resources remain represented as Exempted in compliance reporting. This violates the question’s explicit requirement that the permanent laboratory exception not appear as Exempted or be counted as evaluated. A time-limited exemption would additionally require renewal and approval after expiration. Microsoft recommends broad, permanent bypasses through assignment exclusions using notScopes, reserving exemptions for tracked temporary or specific deviations. Both are valid features generally, but only notScopes meets this precise reporting and duration constraint.






Microsoft Azure Administrator (AZ-104) Practice Tests