100% Latest & Updated Microsoft AZ-104 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 80
A security responder needs to query log data in a Log Analytics workspace but must not alter saved searches, workspace settings, or data ingestion. Which built-in permission is the more appropriate starting point?
- Grant Log Analytics Reader for the relevant workspace, checking the workspace access control mode
- Grant Log Analytics Contributor because querying is a write operation
- Grant Monitoring Reader on the Azure VMs but omit Log Analytics workspace query access
- Grant Azure Monitor Contributor because every log query necessarily modifies the workspace
Explanation
Correct Answer
A:The specialized Reader role supports read/query use cases while avoiding broad workspace management permissions. The actual data visible may depend on the workspace's access-control configuration and the caller's resource scope.
Incorrect Answers
B:Querying existing records does not require the resource-management writes that Contributor provides. The role would exceed the investigator's nonadministrative need.
C:Monitoring Reader on a VM does not automatically grant the job permission to query the Log Analytics workspace's data under its selected access-control mode. Grant the needed workspace log read capability at an appropriate scope.
D:Azure Monitor Contributor includes broad monitoring configuration writes beyond the stated query-only task. Query access should start with an appropriate read role and workspace access-control mode.
Question 81
A backup operator should configure protection policies and initiate backups for protected virtual machines, but the security team forbids broad access to change all VMs or grant user roles. Which specialized Azure role should be evaluated?
- Assign DNS Zone Contributor to the backup vault resource group
- Use Backup Contributor at the vault scope with any additional narrowly required protected-resource permissions
- Use Backup Reader because viewing protection jobs permits policy updates
- Assign subscription Owner and let the operator delegate further roles
Explanation
Correct Answer
B:Backup Contributor targets protection-management operations. It is a closer fit than full resource Owner, although particular restore/backup tasks may also require rights on the protected VM or destination resources.
Incorrect Answers
A:DNS Zone Contributor manages DNS records, not backup policy creation or recovery job actions. It would not authorize the required protection-management tasks.
C:Backup Reader is intended for inspection and reporting rather than modifying policies or starting privileged protection operations. Its limited write capability fails the requirement.
D:Owner includes broad resource management and role-assignment authority that the team explicitly disallows. Such privileges are not required for every routine backup policy operation.
Question 82
An engineer has a custom Azure role whose Actions include read and delete on VMs. The role is assigned only at one VM resource scope. They attempt to delete a different VM in the same resource group and are denied. Which RBAC principle explains this?
- Expand the custom role definition's AssignableScopes to the entire resource group, leaving its only assignment on the original VM
- Every sibling VM inherits a role assignment made directly on one VM
- The role's action list is usable only at the actual assignment's scope and descendants
- Any custom role with a delete Action automatically grants delete across the entire subscription
Explanation
Correct Answer
C:Having delete in a role definition does not make that operation available everywhere the role could theoretically be assigned. The other VM is outside this assignment's scope, so the effective permission is missing.
Incorrect Answers
A:AssignableScopes controls where a role definition may be assigned, not where an existing assignment grants actions. A VM-level assignment does not cover its sibling VM regardless of a broader assignable-scopes declaration.
B:Resource-level role assignments do not propagate sideways to sibling resources. The assignment hierarchy flows downward from a parent, not horizontally among peers.
D:An action in a definition describes a possible operation, not an unrestricted assignment. RBAC always evaluates the principal's actual assignment scope for the target resource.
Question 83
A storage administrator is given Contributor on a storage account and tries to change blob content using the Azure portal with Microsoft Entra authentication. Account management works, but content operations are denied. What key RBAC distinction should the administrator apply?
- Increase the Contributor assignment scope to management group without adding a data role
- Enable trusted Microsoft services bypass on the storage account firewall while leaving the Contributor role unchanged
- Assign an additional storage-account Reader role without changing the principal's Blob data-plane grants
- Assign an appropriate Storage Blob Data role for the required data operations in addition to management rights
Explanation
Correct Answer
D:Contributor includes many ARM account-management Actions, but does not automatically authorize blob content reads or writes using Entra. A data-plane role supplies the separate DataActions that the request needs.
Incorrect Answers
A:A broader management scope still does not add blob content DataActions to the Contributor definition. Expanding unrelated permissions leaves the authorization mechanism unchanged.
B:A firewall bypass may affect permitted network paths, but does not grant the Azure Storage Blob data-plane permissions required for content writes using Entra authentication. A data role is still required.
C:The management Reader role exposes ARM resource metadata; it does not add Storage Blob Data Contributor actions needed to upload or modify Blob content with Entra credentials.
Question 84
A security team assigns a Reader role to a user at subscription scope. The user has no other Azure RBAC assignments, and a new resource group with storage accounts is created under that subscription. What access should the team expect without another role assignment?
- The user can view the new storage accounts because the subscription assignment is inherited
- The user has no access until Reader is assigned separately to the new resource group
- The user can modify only the new storage accounts because the assignment was made at subscription scope
- The user can list the resource group but not read individual Azure resources
Explanation
Correct Answer
A:Azure RBAC assignments at a subscription apply to subordinate resource groups and resources, including resources created later. Reader remains read-only at all inherited scopes; new assignments are unnecessary.
Incorrect Answers
B:Assigning Reader again at each resource group would duplicate an effective subscription-scope grant. The resource group sits under that scope, so inheritance already provides the needed read permissions.
C:A wider scope affects where a role is effective, not its allowed actions. Reader never becomes a write role merely because new storage accounts appear inside the subscription.
D:Reader permits viewing resource properties as well as the parent resource group, subject to any separate data-plane authorization rules. It is not limited to listing group names.
Question 85
A subscription has two resource groups, Finance and Research. A support technician must restart virtual machines only in Finance and must not be able to operate resources in Research. Where should you assign Virtual Machine Contributor?
- At the tenant root management group
- At subscription scope
- At the Finance resource group only
- At both Finance and Research resource groups
Explanation
Correct Answer
C:A Finance resource-group assignment reaches virtual machines belonging to Finance while excluding sibling Research resources. This matches both the required VM operations and least-privilege scope.
Incorrect Answers
A:A tenant-root assignment could reach many unrelated subscriptions and resources. It breaks the stated separation of duties and grants far more scope than Finance administration requires.
B:Subscription scope automatically includes both Finance and Research. Even with the correct role actions, its scope would let the technician operate machines in the prohibited group.
D:Adding Research directly supplies access the policy explicitly forbids. It does not improve Finance operation; it broadens the technician’s authority into unrelated machines.
Question 86
An Azure user has Reader at the subscription scope and Virtual Machine Contributor assigned to one VM resource. The user can modify that specific VM but not a sibling VM. Which access principle accounts for this result?
- Grant Reader directly on the sibling VM and assume that also confers the VM Contributor rights assigned on the first VM
- Effective allowed actions combine inherited subscription Reader with the scoped VM Contributor role
- The VM-level role removes subscription Reader privileges everywhere
- All Azure roles always apply to every subscription in the tenant
Explanation
Correct Answer
B:An inherited Reader assignment applies across the subscription, while a narrower VM Contributor assignment adds permissions only at its resource scope. The combination explains selective modification.
Incorrect Answers
A:Reader on the sibling VM permits inspection, not VM management. The VM Contributor role assigned to the first VM is not inherited by a sibling; effective permissions combine only assignments that apply at the particular resource's scope and ancestors.
C:Assigning a scoped role does not subtract separately inherited Reader access. The user should still be able to inspect permitted sibling resources.
D:Azure role assignments are scoped to management groups, subscriptions, resource groups, or resources. A VM-specific assignment does not automatically grant rights tenant-wide.
Question 87
A shared compliance team needs read-only visibility into existing and future subscriptions under a single management group. The organization wants to avoid editing each new subscription’s role assignments. Where should Reader be assigned?
- Assign Reader only to the largest current subscription and assume its access propagates to sibling subscriptions under the management group
- At the management group containing the target subscriptions
- On the oldest subscription only
- On one resource group within the oldest subscription
Explanation
Correct Answer
B:Role assignments at a management-group scope can be inherited by descendant subscriptions. That satisfies ongoing coverage as new subscriptions join the established hierarchy.
Incorrect Answers
A:Azure RBAC inheritance flows from parent management group to subscriptions, not from one sibling subscription sideways to the others. A role on the largest subscription will not cover existing or future peer subscriptions.
C:A role assigned to one subscription is not inherited sideways by sibling subscriptions. New subscriptions would still be missing access.
D:Resource-group roles affect that resource group and its child resources; they do not grant permissions across other subscriptions or management-group descendants.
Question 88
A Microsoft Entra Global Administrator must restore Azure RBAC access after every subscription Owner has left the company. The administrator can manage the Entra tenant but currently has no Azure role granting access-management permissions on the subscriptions. Which documented, temporary recovery path allows the administrator to assign a replacement access officer without granting permanent resource-management rights?
- Temporarily turn on Access management for Azure resources in Microsoft Entra Properties, use the resulting root-scope User Access Administrator access to restore role assignments, then turn the toggle off
- Activate the Microsoft Entra Global Administrator role and directly create subscription Owner assignments through Azure IAM without elevating Azure resource access
- Assign the Global Administrator directory role to another employee and have that person grant Azure Owner through Azure IAM without a separate Azure role
- Disable subscription-level Azure Policy enforcement so Microsoft Entra Global Administrators automatically receive Azure RBAC role-assignment permissions
Explanation
Correct Answer
A:An Entra Global Administrator can temporarily enable Access management for Azure resources, which grants that same signed-in administrator Azure User Access Administrator at root scope (/). This permits assigning recovery access in the tenant’s subscriptions even when no existing subscription-level Owner remains. After granting the appropriately scoped replacement role and verifying access, disable the toggle so the elevated root grant is removed; Entra directory administration should not remain a permanent blanket Azure authorization.
Incorrect Answers
B:Activating a Global Administrator role through Microsoft Entra Privileged Identity Management activates directory privileges, not automatically Azure Resource Manager roleAssignments/write at the subscription. Without the explicit Access management for Azure resources elevation or another pre-existing Azure RBAC delegation, the attempted IAM assignment lacks authorization. Activation can be a prerequisite to using the temporary recovery toggle, but is not the complete recovery mechanism.
C:Adding another person to the Microsoft Entra Global Administrator role expands directory-administration privileges but does not by itself grant that person Azure subscription Owner or User Access Administrator. The proposed second employee would face the same ARM access boundary. For this emergency, the current authorized Global Administrator should first perform temporary documented root-scope elevation, delegate narrowly, then remove elevated access.
D:Azure Policy enforcement governs compliance effects on resource requests and cannot confer the Azure RBAC permission to create role assignments. Turning enforcement off would weaken governance while leaving the recovery administrator without the needed ARM role. The scenario specifically requires recovering an Azure access-management assignment, which is addressed by temporary Global Administrator elevation to User Access Administrator at root scope.
Question 89
A deployment team moves an eligible resource from RG-Blue to RG-Green in the same subscription. A helpdesk group had Reader on RG-Blue but no assignment on RG-Green. What should the team expect about inherited Reader access?
- The RG-Blue Reader permission becomes permanently embedded in the moved resource
- The helpdesk automatically receives Contributor in RG-Green for migration continuity
- The RG-Blue inherited grant no longer covers the resource after the move; evaluate RG-Green or higher scopes
- Delete all direct resource assignments because they are always invalid after a move
Explanation
Correct Answer
C:The move places the resource beneath RG-Green for subsequent inherited Azure RBAC evaluation. Because the helpdesk’s Reader role is scoped solely to RG-Blue, that inherited grant no longer covers the moved item. Check for an applicable Reader grant on RG-Green, the subscription, or a direct resource assignment; restore only the least-privileged access actually required.
Incorrect Answers
A:Azure RBAC inheritance is evaluated through the resource’s present scope, not embedded as a durable permission on each item. The helpdesk’s Reader role was assigned to RG-Blue, so moving the resource to RG-Green changes the inherited authorization path. The old group’s assignment does not automatically migrate to the new group or become a direct resource assignment.
B:Contributor includes resource management actions and is broader than Reader. Azure does not silently elevate users or grant Contributor on RG-Green to preserve access after a resource move. The helpdesk currently has a Reader assignment only at RG-Blue, so operators must examine actual effective roles at the new resource scope rather than assume migration creates a new role assignment.
D:A role assigned directly to a resource has a different scope from a role inherited from its previous resource group. The fact that RG-Blue no longer grants Reader does not establish that every direct assignment is invalid or should be deleted. Removing all direct assignments could eliminate legitimate access; evaluate the moved resource’s effective grants individually.
Question 90
An engineer was just added to an Entra group that has Contributor at a resource group. Existing portal sessions still behave as read-only until the engineer signs in again. Which explanation is most plausible before changing the Azure role assignment?
- Remove and re-create the existing resource-group Contributor assignment to the Entra group so the engineer’s already-issued sign-in token immediately carries the new membership
- Identity and group-claim refresh or propagation may be needed before the new membership appears in effective access
- Resource group Contributor cannot ever be granted through an Entra group
- The engineer must become tenant Global Administrator for Contributor to apply
Explanation
Correct Answer
B:Group-based RBAC combines directory membership with resource role evaluation, and tokens or propagation may lag a new group addition. Reauthentication and checking effective assignment are appropriate before duplicating permissions.
Incorrect Answers
A:Re-creating an Azure RBAC assignment to the same group does not refresh the engineer’s existing Entra authentication context. The resource-group role is already assigned; the newly added member may still be using older group claims or cached effective access. Ask for a fresh sign-in or token and allow for membership/authorization propagation before making a redundant permission change.
C:Azure RBAC supports group principals. The reported timing points to membership freshness rather than a fundamental unsupported assignment.
D:Global Administrator is a separate, far broader directory role and is not required merely to inherit an Azure resource-group Contributor role.
Microsoft Azure Administrator (AZ-104) Practice Tests