Microsoft Certified: Azure Administrator Associate (AZ-104) · Microsoft
Manage Azure Identities and Governance
11 practice questions covering 20% of the official Microsoft Certified: Azure Administrator Associate (AZ-104) blueprint. Every item includes a worked explanation of the correct answer.
View all 5 domains in Microsoft Certified: Azure Administrator Associate (AZ-104)
Syllabus Coverage & Domain Overview
This topic covers how an administrator controls who can do what in an Azure environment, and how the environment is kept orderly and compliant. The official outline weights it at 20 to 25 percent of the exam, so it is one of the largest areas. It has three parts. The first is managing Microsoft Entra users and groups: creating them, maintaining their properties, assigning licenses, handling external users, and configuring self-service password reset. The second is managing access to Azure resources through built-in roles, assigning them at different scopes, and interpreting existing assignments. The third is subscriptions and governance: Azure Policy, resource locks, tags, resource groups, subscriptions, management groups, and cost control through alerts, budgets and Azure Advisor recommendations.
The most important distinction is between the two permission systems. Microsoft Entra roles govern the directory, such as users, groups and passwords. Azure roles govern resources, and they are inherited down the hierarchy from management group to subscription to resource group to resource. Candidates should also separate Azure RBAC from Azure Policy. RBAC answers whether a person may perform an action. Policy answers whether a resource is allowed to exist in a given configuration, whoever creates it. Know that policy effects differ in how they behave: some only audit, some deny, and some change or add settings on resources. Policy applied to existing resources needs remediation, while new deployments are evaluated as they are created. For locks, learn the difference between the delete-only lock and the read-only lock, remember that locks apply to everyone including owners, and remember that locks are inherited by child resources. A read-only lock can block operations that look like reads but need a write behind the scenes. Tags do not inherit by default, and moving resources or subscriptions has its own rules and limits.
Questions are usually short scenarios with a stated requirement and a constraint, such as least privilege, minimal administrative effort, or applying to every current and future subscription. You then choose the feature, the scope, or the correct sequence of steps. Common traps include picking a scope that is too narrow or too broad, confusing a group type or membership type with a role assignment, and choosing a tool that reports on compliance when the requirement is to enforce it. Another trap is forgetting that effective access is the sum of assignments across scopes, so an inherited role can explain access you did not expect. Cost questions often test whether a budget only notifies or actually stops spending, and it only notifies.
To prepare, work in a free or trial subscription rather than only reading. Create users and groups, invite a guest, and turn on password reset for a test group. Assign a built-in role at several scopes and use the access checking view to confirm what a user really has. Build a small management group hierarchy, assign a policy, watch the compliance result, and then try a lock to see which operations it blocks. Repeat the same tasks in the portal, the command line and PowerShell, since the exam expects familiarity with all three. Finish with timed practice questions and review every wrong answer against the official documentation for Entra ID and Azure Policy.
In the official Microsoft Certified: Azure Administrator Associate (AZ-104) examination blueprint, Manage Azure Identities and Governance carries a weightage of 20%. Out of the total examination duration of 2 hr, candidates should budget approximately 24 min for questions from this domain to maintain pace across the paper.
How to Master Manage Azure Identities and Governance for Microsoft Certified: Azure Administrator Associate (AZ-104)
Our 11 published questions in Manage Azure Identities and Governance are written for PrepIQ Hub and checked as set out in our editorial policy. Each item is written to the medium difficulty level of the Microsoft exam:
- Targeted Topic Drills: Launch Topic Practice mode to work exclusively through Manage Azure Identities and Governance items and review the step-by-step derivation after each submission.
- Negative Marking Discipline: The Microsoft Certified: Azure Administrator Associate (AZ-104) applies no negative marking penalty, so practice eliminating the three distractors systematically on every Manage Azure Identities and Governance item.
- Benchmark Target: Aim for at least 70% accuracy in Manage Azure Identities and Governance drills before moving to full-paper simulations.
Manage Azure Identities and Governance worked examples
Manage Azure Identities and Governance questions from the Microsoft Certified: Azure Administrator Associate (AZ-104) syllabus, answered in full. Try each one before opening the explanation.
Example 1 · Manage Azure Identities and Governance · hard
A cloud governance architect assigns an Azure Policy definition with the Modify effect at the subscription scope to automatically add a CostCenter = 4020 tag to any resource group missing that tag. New resource groups created after the assignment receive the tag automatically, but 35 existing resource groups created last year still lack the tag. What must the architect create so Azure Policy updates those 35 existing resources?
Show answer and explanation
Correct answer: C. Create an Azure Policy Remediation Task using the managed identity
Why
Policy definitions using the Modify or DeployIfNotExists effects automatically evaluate new or updated resources during ARM requests, but to remediate pre-existing non-compliant resources, you must create a Remediation Task using the policy assignment's managed identity.
- A. Change the Azure Policy definition effect from Modify to Audit — The Audit effect only logs a compliance warning in the Activity Log and never modifies tags.
- B. Apply a CanNotDelete resource lock to the subscription root scope — Resource locks prevent deletion and do not remediate missing tags on existing resource groups.
- D. Restart the virtual machines running inside the 35 resource groups — Rebooting guest OS virtual machines does not trigger ARM resource-group tag remediation.
Example 2 · Manage Azure Identities and Governance · easy
A company wants to allow its 5,000 employees to reset their own forgotten Microsoft Entra passwords from the sign-in screen without calling the IT helpdesk. The security policy requires users to verify two authentication methods (such as Microsoft Authenticator push notification + mobile phone SMS) to complete a reset. Which Microsoft Entra feature must the administrator enable?
Show answer and explanation
Correct answer: B. Microsoft Entra Self-Service Password Reset (SSPR) with 2 methods
Why
Microsoft Entra Self-Service Password Reset lets users reset or unlock their own passwords from the sign-in screen without contacting the helpdesk. The administrator enables SSPR for a chosen scope, such as all 5,000 users or a group, and sets the number of authentication methods required to reset, either one or two. Requiring two methods matches the stated policy, for example Authenticator notification plus mobile phone SMS. Users must register their methods first, which can be enforced through combined security information registration. In a hybrid environment, password writeback must also be enabled so the new password is written to on-premises Active Directory. The common trap is confusing sign-in or authentication components, such as Pass-Through Authentication, with the password reset feature, or assuming that MFA and SSPR are the same setting. SSPR has its own methods policy.
- A. Microsoft Entra Connect Pass-Through Authentication (PTA) connectors — Pass-Through Authentication is a hybrid sign-in option where Entra ID validates user passwords against on-premises Active Directory through lightweight agents. It handles authentication, not resetting forgotten passwords or requiring verification methods, so it does not meet this requirement.
- C. Azure Key Vault automatic secret rotation policies and access policies — Azure Key Vault stores and rotates secrets, keys and certificates used by applications and services. It has nothing to do with end users resetting their own Entra passwords or verifying with authentication methods.
- D. Azure Resource Manager (ARM) versioned template specs in a resource group — Template specs are versioned ARM templates stored in Azure for reuse in infrastructure deployments. They are a deployment and governance artifact and provide no identity or password reset capability.
Example 3 · Manage Azure Identities and Governance · hard
You are authoring a custom Azure RBAC role in JSON for a junior operations team. They need all permissions included in the built-in Virtual Machine Contributor role except they must not be allowed to delete virtual machines (Microsoft.Compute/virtualMachines/delete), AND they must be able to read blobs inside storage containers (Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read). Where in the custom role JSON definition should the VM delete exclusion and the blob read permission be placed?
Show answer and explanation
Correct answer: C. Place the VM delete exclusion in notActions and the blob read in dataActions
Why
In an Azure RBAC role definition, management-plane exclusions are placed in notActions (Microsoft.Compute/virtualMachines/delete) to subtract them from wildcard actions, while data-plane permissions (reading/writing actual blobs inside a container) must be placed in dataActions (Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read).
- A. Place both permissions inside assignableScopes at the root management group — assignableScopes lists the subscriptions or resource groups where the role can be assigned, not action strings.
- B. Place the VM delete exclusion in dataActions and the blob read in notActions — This reverses both control-plane vs data-plane and allow vs exclude blocks.
- D. Place both strings inside notDataActions with actions left empty in JSON — Putting the blob read in notDataActions with empty actions and dataActions grants zero permissions.
Example 4 · Manage Azure Identities and Governance · hard
A resource group named RG-Prod-DB has a ReadOnly resource lock applied at the resource group level. Inside RG-Prod-DB, there is an Azure Storage Account (stproddb01) that uses account access keys. Which two operations will fail while the ReadOnly lock remains active? (Select two.)
Show answer and explanation
Correct answers: B. Listing the storage account access keys via listKeys (POST); D. Deleting an unused virtual network subnet inside RG-Prod-DB
Why
A ReadOnly lock blocks all Azure Resource Manager (Microsoft.Storage/...) write (PUT/PATCH), delete (DELETE), and state-modifying POST operations. Calling listKeys on a storage account is a POST action in ARM (Microsoft.Storage/storageAccounts/listKeys/action) because someone with those keys can modify data, so ReadOnly locks block listKeys (B) as well as deleting or creating resources in the resource group (D).
- A. Reading existing subscription tags using Get-AzResourceGroup — ARM GET operations remain permitted under a ReadOnly lock.
- C. Viewing Azure Monitor platform metrics in the Azure portal dashboard — Viewing platform metrics is a read-only GET operation and is not blocked.
Example 5 · Manage Azure Identities and Governance · medium
You are configuring a Microsoft Entra ID Dynamic Device Group named GRP-Win11-Prod that must automatically include all Windows devices whose deviceOSType is Windows and whose deviceOSVersion starts with 10.0.22. When a new Windows 11 laptop joins Microsoft Entra ID, the dynamic group rule is evaluated. What must be configured on the Microsoft Entra group to enable dynamic membership rules?
Show answer and explanation
Correct answer: A. Set Membership type to Dynamic Device with a device attribute rule
Why
To use dynamic membership rules on a Microsoft Entra Security or Microsoft 365 group, the group's Membership type must be set to Dynamic Device (for device attributes) or Dynamic User (for user attributes), and the tenant requires Microsoft Entra ID P1 (or Intune for Education) licensing for the member users.
- B. Set Membership type to Assigned and attach an Azure Policy initiative — Assigned groups require manual or scripted additions, and Azure Policy governs ARM resources rather than Entra group membership.
- C. Set Membership type to Dynamic User and query device.deviceOSVersion — Dynamic User groups can only evaluate user object attributes and cannot contain device objects.
- D. Enable Self-Service Password Reset (SSPR) on the security group object — SSPR allows users to reset their passwords and does not populate device group membership.
Example 6 · Manage Azure Identities and Governance · medium
An organization has 15,000 users in Microsoft Entra ID across 8 regional offices. The IT director wants the regional helpdesk staff in the Tokyo office to reset passwords and manage licenses only for users whose usageLocation is JP, without granting those helpdesk admins permission to modify users in other countries. Which Microsoft Entra feature provides this scoped delegation?
Show answer and explanation
Correct answer: B. Microsoft Entra Administrative Units with scoped role assignments
Why
Administrative Units (AUs) in Microsoft Entra ID restrict the scope of role assignments (such as User Administrator or Password Administrator) to a specific subset of users, groups, or devices (either assigned manually or via dynamic membership rules like user.country -eq "JP").
- A. Azure Management Groups at the tenant root hierarchy — Azure Management Groups scope Azure resource RBAC and Azure Policy across subscriptions, not Microsoft Entra directory roles over user objects.
- C. Azure Resource Locks (CanNotDelete) across the production subscription — Resource locks prevent deletion of Azure infrastructure resources, not directory user administration.
- D. Network Security Group (NSG) application security rules inside the VNet — NSGs filter Layer-3/4 network traffic in a VNet and have no relation to Microsoft Entra user management.
Every worked example on this page passed our independent verification before publication — how that works is set out in our editorial policy. Spotted an error? Tell us through the contact page and we will correct it.
All 6 Manage Azure Identities and Governance questions with answers
- A cloud governance architect assigns an Azure Policy definition with the Modify effect at the subscription scope to…
- A company wants to allow its 5,000 employees to reset their own forgotten Microsoft Entra passwords from the sign-in…
- You are authoring a custom Azure RBAC role in JSON for a junior operations team. They need all permissions included in…
- A resource group named RG-Prod-DB has a ReadOnly resource lock applied at the resource group level. Inside RG-Prod-DB…
- You are configuring a Microsoft Entra ID Dynamic Device Group named GRP-Win11-Prod that must automatically include all…
- An organization has 15,000 users in Microsoft Entra ID across 8 regional offices. The IT director wants the regional…
All Syllabus Domains in Microsoft Certified: Azure Administrator Associate (AZ-104)
Manage Azure Identities and Governance (Current domain)
11 questions · 20%Implement and Manage Storage
11 questions · 15%Deploy and Manage Azure Compute Resources
11 questions · 20%Implement and Manage Virtual Networking
12 questions · 25%Monitor and Maintain Azure Resources
15 questions · 20%
Microsoft and Azure are trademarks of Microsoft Corporation. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Microsoft Corporation.