Azure Administrator Domain 1: Manage Azure Identities and Governance
48 free practice questions for Manage Azure Identities and Governance in the Microsoft Azure Administrator Associate (AZ-104) exam. Try each question first, then open "Show answer" for the correct option and explanation.
Manage Azure Identities and Governance practice questions
-
Question 1. You need to create 500 user accounts in Microsoft Entra ID from a spreadsheet. What is the most efficient portal method?
Show answer
Answer: C. Use bulk create with a CSV template
The Entra admin center supports bulk operations using a downloadable CSV template.
-
Question 2. Which group membership type automatically adds users whose department attribute equals Sales?
Show answer
Answer: D. Dynamic user membership
Dynamic groups evaluate attribute-based rules and update membership automatically.
-
Question 3. What license is required to use dynamic group membership in Microsoft Entra ID?
Show answer
Answer: A. Microsoft Entra ID P1 or higher
Dynamic membership rules require Entra ID P1 (or P2) licenses for the users in scope.
-
Question 4. A partner company's employees need access to one of your apps using their own work accounts. What should you do?
Show answer
Answer: C. Invite them as guest users with B2B collaboration
B2B invitations create guest accounts that authenticate with the partner's own identity provider.
-
Question 5. Which tool synchronizes on-premises Active Directory users to Microsoft Entra ID with a lightweight agent?
Show answer
Answer: A. Microsoft Entra Cloud Sync
Cloud Sync (and Entra Connect Sync) synchronizes identities; Cloud Sync uses lightweight provisioning agents.
-
Question 6. What does self-service password reset (SSPR) let users do?
Show answer
Answer: B. Reset their own passwords after verifying their identity
SSPR reduces help desk calls by letting users verify with registered methods and reset passwords.
-
Question 7. You enable SSPR for a pilot group only. Which setting controls this?
Show answer
Answer: C. Set self-service password reset enabled to Selected, then choose a group
The SSPR properties page allows None, Selected (a specific group), or All.
-
Question 8. Which Microsoft Entra feature assigns licenses to all members of a group automatically?
Show answer
Answer: C. Group-based licensing
Group-based licensing assigns licenses to members and removes them when members leave.
-
Question 9. What are administrative units in Microsoft Entra ID used for?
Show answer
Answer: D. Restricting admin permissions to a subset of users or devices
Administrative units let you delegate, for example, helpdesk rights for only one region's users.
-
Question 10. A user is deleted in Microsoft Entra ID by mistake. How long can it be restored by default?
Show answer
Answer: D. 30 days
Deleted users remain in a soft-deleted state for 30 days before permanent deletion.
-
Question 11. Which built-in Azure role lets a user manage all resources but NOT grant access to others?
Show answer
Answer: A. Contributor
Contributor has full management rights except assigning roles or managing Azure Policy assignments.
-
Question 12. Which built-in role lets a user manage role assignments without managing resources themselves?
Show answer
Answer: D. User Access Administrator
User Access Administrator manages access to resources but not the resources themselves.
-
Question 13. You need to let a support team restart VMs but not delete them. What is the best approach?
Show answer
Answer: A. Create a custom role with only the needed VM actions
Custom roles define exact Actions, such as Microsoft.Compute/virtualMachines/restart/action.
-
Question 14. In a custom role definition, what does the NotActions property do?
Show answer
Answer: A. Removes listed operations from the allowed Actions
NotActions subtracts from Actions within that role; it is not an explicit deny across roles.
-
Question 15. Which custom role property controls the scopes at which the role can be assigned?
Show answer
Answer: A. AssignableScopes
AssignableScopes lists management groups, subscriptions, or resource groups where the role is available.
-
Question 16. A user has Reader at the subscription and Contributor on one resource group. What is their effective access on that resource group?
Show answer
Answer: D. Contributor, because role assignments are additive
Azure RBAC is additive: the effective permissions are the union of all assignments.
-
Question 17. Which Microsoft Entra role, not an Azure RBAC role, can manage all aspects of the tenant including users?
Show answer
Answer: A. Global Administrator
Entra roles control directory objects; Azure RBAC roles control Azure resources.
-
Question 18. A Global Administrator cannot see a subscription. What can they do to gain access?
Show answer
Answer: A. Elevate access to User Access Administrator at root scope
Global Admins can toggle 'Access management for Azure resources' to get User Access Administrator at root.
-
Question 19. Where do you check which permissions a user actually has on a resource?
Show answer
Answer: A. The Check access feature on the Access control (IAM) blade
Check access shows role assignments and effective access for a user, group, or identity.
-
Question 20. Which RBAC scope is the narrowest level at which you can assign a role?
Show answer
Answer: A. An individual resource
Roles can be assigned at management group, subscription, resource group, or resource scope.
-
Question 21. You must ensure every new resource group has a CostCenter tag. What should you use?
Show answer
Answer: D. Azure Policy with a require tag on resource groups definition
A built-in policy can deny resource group creation when the tag is missing.
-
Question 22. Which Azure Policy effect can add a missing tag to resources during creation or update?
Show answer
Answer: C. Modify
The Modify effect adds, updates, or removes tags and some properties on create or update.
-
Question 23. After assigning a Modify policy, how do you fix resources that already existed before the assignment?
Show answer
Answer: D. Create a remediation task that uses a managed identity
Remediation tasks apply Modify and DeployIfNotExists effects to existing non-compliant resources.
-
Question 24. A policy assigned at the subscription should not apply to one test resource group. What should you configure?
Show answer
Answer: D. An exclusion on the policy assignment
Assignments support excluded scopes so specific child scopes are not evaluated.
-
Question 25. You want to track compliance with a regulatory standard that has dozens of policies. What should you assign?
Show answer
Answer: A. A policy initiative containing the related definitions
Initiatives (policy sets) group definitions so compliance can be assigned and tracked as one unit.
-
Question 26. What happens when you try to delete a resource group that contains a resource with a CanNotDelete lock?
Show answer
Answer: D. The deletion fails because of the locked resource
Locks on child resources block deletion of the parent resource group.
-
Question 27. Why might a ReadOnly lock on a storage account cause unexpected problems?
Show answer
Answer: B. It blocks listing account keys, which is a POST operation
ReadOnly blocks management write operations, including listKeys, so tools relying on keys may fail.
-
Question 28. Which role is required to create or delete management locks?
Show answer
Answer: D. Owner or User Access Administrator
Lock management needs Microsoft.Authorization/locks/* permissions, included in Owner and User Access Administrator.
-
Question 29. You need to move a VM and its disks to another resource group. What should you verify first?
Show answer
Answer: B. The resources support moving and dependent resources move together
Check move support and include dependent resources; the resources must be in the same subscription or a valid target.
-
Question 30. During a resource move between resource groups, what happens to the resource's location?
Show answer
Answer: A. The location stays the same; only the resource group changes
Moving between resource groups changes metadata only; it doesn't change the resource's region.
-
Question 31. Which tool shows cost trends and lets you group costs by resource group?
Show answer
Answer: A. Cost analysis in Microsoft Cost Management
Cost analysis supports grouping and filtering by resource group, service, tag, and more.
-
Question 32. You want an email when monthly spending in a subscription reaches 80% of 5,000 USD. What should you create?
Show answer
Answer: A. A budget with an alert condition at 80 percent
Cost Management budgets can notify recipients or action groups at defined thresholds.
-
Question 33. Which statement about Cost Management budgets is correct?
Show answer
Answer: D. They alert on spending but do not stop resources by themselves
Budgets trigger alerts; you can add action groups for automation, but budgets don't enforce limits alone.
-
Question 34. Where do you assign Azure Advisor cost recommendations to be reviewed regularly?
Show answer
Answer: D. Use Advisor alerts or digests to notify the team
Advisor supports alerts and recommendation digests delivered through action groups.
-
Question 35. Which management group is created automatically for every Microsoft Entra tenant?
Show answer
Answer: D. The tenant root group
All management groups and subscriptions fold up to the single tenant root group.
-
Question 36. How many levels of management groups can a hierarchy support below the root?
Show answer
Answer: D. Six levels
A management group tree supports up to six levels of depth, not including the root or subscription level.
-
Question 37. You need to move a subscription to a different management group. Which permission is needed on the target group?
Show answer
Answer: B. Management Group Contributor or Owner on the target group
Moving a subscription requires write rights on the subscription and on the target management group.
-
Question 38. Which feature periodically asks managers to confirm whether users still need access to a group or app?
Show answer
Answer: B. Access reviews in Microsoft Entra ID Governance
Access reviews help remove stale access and support least privilege.
-
Question 39. What does Microsoft Entra Privileged Identity Management (PIM) provide?
Show answer
Answer: A. Just-in-time, time-bound activation of privileged roles
PIM lets eligible users activate roles when needed, with approval, MFA, and time limits.
-
Question 40. Which device state shows that a Windows device is joined to Microsoft Entra ID only, without on-premises AD?
Show answer
Answer: B. Microsoft Entra joined
Entra joined devices are cloud-only; hybrid joined devices are joined to both on-premises AD and Entra ID.
-
Question 41. A personal phone is used to access company email. Which device identity option fits best?
Show answer
Answer: A. Microsoft Entra registered
Registered devices are typically personal (BYOD) devices with a work account added.
-
Question 42. A user in a guest account needs to be blocked from enumerating other users in the directory. Which setting helps?
Show answer
Answer: C. External collaboration settings for guest user access restrictions
Guest access can be limited so guests only see their own directory objects.
-
Question 43. Which Azure resource tag limit is correct?
Show answer
Answer: C. Up to 50 tag name-value pairs per resource
Most resources support up to 50 tags; tag names and values have length limits.
-
Question 44. You apply a tag to a resource group and want existing resources to inherit it. Which built-in policy helps?
Show answer
Answer: D. Inherit a tag from the resource group if missing
This Modify-based built-in policy copies the tag from the parent group when missing.
-
Question 45. A policy uses the Deny effect for an unapproved VM size. What happens when someone deploys that size?
Show answer
Answer: C. The deployment fails with a policy violation error
Deny blocks the request at deployment time and returns a RequestDisallowedByPolicy error.
-
Question 46. Which built-in policy prevents deployments of specific services, such as classic resources?
Show answer
Answer: C. Not allowed resource types
This policy blocks listed resource types from being created within the assigned scope.
-
Question 47. Where does Azure store the history of role assignment changes for audit purposes?
Show answer
Answer: B. The Azure activity log
Role assignment creation and deletion appear as Microsoft.Authorization events in the activity log.
-
Question 48. Which Microsoft Entra feature lets users request access to a bundle of groups, apps, and sites with approval and expiry?
Show answer
Answer: D. Entitlement management access packages
Entitlement management uses access packages to govern access requests, approvals, and expiration.
Microsoft and Azure are trademarks of the Microsoft group of companies. These questions are original study material, not questions from the real exam.