Pass Your Microsoft AZ-104 Exam Easy!

Microsoft AZ-104 Exam Questions & Answers, Accurate & Verified By IT Experts

Instant Download, Free Fast Updates, 99.6% Pass Rate

AZ-104 Premium Bundle

$79.99

Microsoft AZ-104 Premium Bundle

AZ-104 Premium File: 606 Questions & Answers

Last Update: Sep 24, 2026

AZ-104 Training Course: 132 Video Lectures

AZ-104 PDF Study Guide: 458 Pages

AZ-104 Bundle gives you unlimited access to "AZ-104" files. However, this does not replace the need for a .vce exam simulator. To download VCE exam simulator click here
Microsoft AZ-104 Premium Bundle
Microsoft AZ-104 Premium Bundle

AZ-104 Premium File: 606 Questions & Answers

Last Update: Sep 24, 2026

AZ-104 Training Course: 132 Video Lectures

AZ-104 PDF Study Guide: 458 Pages

$79.99

AZ-104 Bundle gives you unlimited access to "AZ-104" files. However, this does not replace the need for a .vce exam simulator. To download your .vce exam simulator click here

Microsoft AZ-104 Practice Test 8

Question 70

An Azure access report shows a Contributor role assignment at the management-group scope and a separate Reader assignment directly on one child resource group. Which assignment is inherited by that resource group?

  1. The resource-group Reader assignment is inherited upward into the management group.
  2. The direct Reader assignment automatically cancels every inherited Contributor action.
  3. The management-group Contributor grant is inherited by descendant scopes unless a relevant restriction applies.
  4. Neither assignment affects the resource group until assigned independently to each VM.

Explanation

Correct Answer

C:

A role assignment at an ancestor scope flows down to eligible child subscriptions, resource groups, and resources. The Reader grant directly on the resource group is not itself inherited from the parent.

Incorrect Answers

A:

Azure role assignments flow down the scope hierarchy, not upward from child resources.

B:

Role assignments are generally additive; a narrower direct role does not remove a broader inherited one.

D:

An ancestor management-group assignment can be effective at descendant resources without repetition.

Question 71

A user can update a VM but cannot change who else has access. What permission is needed for delegation?

  1. Require an explicitly authorized role-assignment write action
  2. Viewing a portal UI does not imply permission for the underlying write operation
  3. Treat Azure resource locks separately from RBAC role permissions
  4. Match the operation to its required provider action and active assignment scope

Explanation

Correct Answer

A:

The ability to run resource operations is not authorization to grant others roles.

Incorrect Answers

B:

Seeing an operation in a portal does not guarantee write authority, but access delegation requires the specific Microsoft.Authorization/roleAssignments/write operation at an applicable scope. The proposed observation does not supply it.

C:

An allowed RBAC action can be blocked by a resource lock until an authorized lock change. The stated constraint is different: the ability to run resource operations is not authorization to grant others roles.

D:

A role label is not proof that a particular Microsoft.Resources action is allowed. The stated constraint is different: the ability to run resource operations is not authorization to grant others roles.

Question 72

An Azure VM is protected by a CanNotDelete management lock inherited from its resource group. A Contributor has the VM deletion action through Azure RBAC but receives a lock-related denial. What is the accurate explanation?

  1. The Contributor role automatically removes inherited locks when deletion is attempted.
  2. Assign Storage Blob Data Contributor because VM deletion requires blob data actions.
  3. The management lock blocks ARM deletion even though the role otherwise permits the delete action; an authorized lock change is separately required.
  4. Add another identical Contributor assignment so its permissions override the CanNotDelete lock.

Explanation

Correct Answer

C:

RBAC and ARM management locks are distinct controls. The CanNotDelete lock wins for that deletion attempt until someone with lock-management authority changes it under policy.

Incorrect Answers

A:

Contributor does not bypass an inherited management lock merely by having the resource delete action.

B:

Blob data-plane permissions do not override an ARM management lock on a VM resource.

D:

Duplicating RBAC grants does not bypass a management lock; the controlling denial is unrelated to missing role scope.

Question 73

A deployment pipeline has Contributor on one resource group. It attempts to deploy a resource into a different resource group and receives AuthorizationFailed. What should the reviewer examine first?

  1. Compare the failing action and target resource ID against the role assignments and effective scopes of the pipeline identity.
  2. Assume Contributor is a tenant-wide role regardless of its assignment scope.
  3. Change the resource group tags so the role assignment inherits across sibling groups.
  4. Switch the pipeline identity from a service principal to a user account without reviewing its assignments.

Explanation

Correct Answer

A:

Azure authorization is evaluated for the specific action at the target scope. A Contributor role elsewhere does not authorize deployment outside its assigned scope.

Incorrect Answers

B:

A role definition is not global permission; the scope on each assignment limits where it applies.

C:

Tags do not extend permissions from one resource group into another.

D:

Principal type alone does not correct a missing role at the target scope.

Question 74

After revoking access, an old token appears to retain some authority temporarily. What should operations account for?

  1. Allow for RBAC propagation and token/cache lifetime while enforcing urgent containment
  2. Remove only the assignment granting the obsolete project scope
  3. Ignore retained token and cache effects because every role revocation takes effect instantly across all clients
  4. Inspect deny assignments and relevant policy or lock restrictions

Explanation

Correct Answer

A:

Revocation may not take instantaneous effect across all clients; monitor effective access.

Incorrect Answers

B:

Deleting every role assignment could interrupt still-approved responsibilities. The stated constraint is different: revocation may not take instantaneous effect across all clients; monitor effective access.

C:

Azure role and token evaluation may include cached credentials or propagation delays, so an already issued client token can appear to retain authority briefly after a role is removed. The scenario is specifically concerned with this transient window after revocation. Operations should verify effective access and use containment measures appropriate to the urgency, not assume that the moment of assignment deletion proves every downstream session has lost rights.

D:

Allow grants are not the only access constraints; effective authorization also considers denies. The stated constraint is different: revocation may not take instantaneous effect across all clients; monitor effective access.

Question 75

An operator has Reader on VM-app1, can open its settings blade, but receives AuthorizationFailed for Microsoft.Compute/virtualMachines/write when saving a planned VM update. No VM write action is assigned at that VM or an ancestor scope. Which conclusion correctly explains the mismatch?

  1. The operator must obtain Microsoft.Authorization/roleAssignments/write to save VM settings
  2. The portal displaying the settings blade proves VM write access, so the failure must be a portal defect
  3. Viewing a resource is permitted by read actions; saving this update additionally requires the VM write action at an applicable scope
  4. A role assigned at resource-group scope can never permit writes to a VM within the group

Explanation

Correct Answer

C:

The observed behavior is expected when Reader supplies resource visibility but not modification privileges. Azure RBAC authorizes operations using Actions in role definitions, combined with the assignment scope and any inherited/denied access. Displaying VM-app1 uses read permissions, whereas a VM setting change requires Microsoft.Compute/virtualMachines/write at the VM, its resource group or a permitted ancestor scope. The error directly identifies that missing write action. The appropriate remedy is to have a privileged administrator grant the least-required authorized role for this maintenance, rather than assuming a UI view or a role-assignment permission itself permits the update. Verify the approved operation after access propagation.

Incorrect Answers

A:

Microsoft.Authorization/roleAssignments/write controls the creation of Azure RBAC assignments, not the Microsoft.Compute operation that saves a VM setting. A principal could be permitted to manage assignments without automatically having the separate permissions for the resource modification being attempted. The error explicitly names Microsoft.Compute/virtualMachines/write, so asking for access-delegation permissions would miss the denied resource action and could unnecessarily expand privilege. Instead, an authorized administrator should grant the narrowly scoped VM management rights required for this approved change, then confirm effective assignments and any deny controls.

B:

The Azure portal uses read operations to show a VM and its configuration. Those successful reads do not grant the provider write action used when the operator selects Save. In this case the service returned an AuthorizationFailed naming the VM write action, which is stronger evidence than the availability of an editing control in a UI. A portal bug is not the supported conclusion merely because the blade appeared editable. Compare the principal’s effective role definitions, scopes and any denials before retrying the update.

D:

An Azure role assignment at a resource-group scope normally applies to resources within that group through inherited RBAC scope. A principal does not have to receive every applicable role directly on each VM for the role’s permitted actions to be effective. Here the problem is the absence of Microsoft.Compute/virtualMachines/write in the operator’s effective rights, not the mere possibility that a group-scoped assignment might be used. A supported VM-management grant at the correct scope can resolve the denied save, assuming no other deny assignment or policy separately blocks it.

Question 76

A team wants to see policy violations without blocking new deployments. Which Azure Policy effect fits?

  1. Use a modify policy with a suitable managed identity and role permissions for remediation
  2. Group related policy definitions into an initiative and assign it
  3. Assign an audit effect rather than deny
  4. Create a justified, scoped, expiring exemption rather than weakening the global definition
  5. Review compliance result and remediation, not assume enforcement removed the existing resource

Explanation

Correct Answer

C:

The audit effect records noncompliance and allows the resource request to proceed; deny would prevent matching requests.

Incorrect Answers

A:

Modify can alter supported properties and may require remediation permissions; it is not the requested observation-only audit effect.

B:

An initiative groups policies for assignment, but does not itself specify whether violating deployments are blocked or merely reported.

D:

An exemption intentionally waives an assignment for selected resources and would conceal rather than report their ordinary violations.

E:

Checking compliance results is operationally useful after assignment but is not the effect that determines request-time behavior.

Question 77

Resources need a missing cost-center tag to be added under an approved remediation policy. Which effect is relevant?

  1. Assign an Audit-only Azure Policy and expect it to write cost-center tags onto existing resources
  2. Grant the policy assignment's managed identity the needed target-scope deployment role
  3. Use a modify policy with a suitable managed identity and role permissions for remediation
  4. Review compliance result and remediation, not assume enforcement removed the existing resource

Explanation

Correct Answer

C:

Azure Policy's modify effect can add or update supported resource tags when a new or updated resource is evaluated, including a missing cost-center tag. To correct existing deployed resources, it needs an appropriate remediation task and an assignment managed identity with the required role permissions at the target scope. The scenario requires actual tag creation under an approved governance policy; Audit alone would only report noncompliance, and a direct manual edit would not establish ongoing policy enforcement. Confirm that the chosen alias or tag operation is supported and verify resulting resource tags, not just the compliance state of the policy assignment.

Incorrect Answers

A:

The Audit effect evaluates and reports noncompliant resources but does not itself modify missing tags on existing deployed resources. A compliance dashboard may show the missing cost-center value without causing any resource write. To add or update tags under an approved policy, use a supported modify effect with the assignment's managed identity authorized for the necessary operation and create a remediation task for existing resources. Verify the tags after remediation rather than treating an Audit result as evidence the missing cost-center metadata was automatically repaired.

B:

Compliance detection alone does not grant rights to deploy dependent resources during remediation. The stated constraint is different: modify changes supported properties at request time; existing resources may require remediation tasks.

D:

Audit/evaluation flags existing resources; request-time deny is not retrospective deletion. The stated constraint is different: modify changes supported properties at request time; existing resources may require remediation tasks.

Question 78

A deployIfNotExists policy evaluates a VM but cannot create its required diagnostic setting. What might be missing?

  1. Assign at the intended scope with explicit exclusion or documented exemption
  2. Grant the policy assignment's managed identity the needed target-scope deployment role
  3. Review compliance result and remediation, not assume enforcement removed the existing resource
  4. Group related policy definitions into an initiative and assign it
  5. Switch the policy to Audit and expect it to deploy the VM diagnostic setting automatically

Explanation

Correct Answer

B:

Compliance detection alone does not grant rights to deploy dependent resources during remediation.

Incorrect Answers

A:

An appropriate assignment scope prevents policy applying to unrelated environments. The stated constraint is different: compliance detection alone does not grant rights to deploy dependent resources during remediation.

C:

Audit and remediation visibility are important, but deployIfNotExists remediation requires an authorized managed identity with the needed write actions. Compliance reporting alone cannot create the missing diagnostic resource.

D:

An initiative combines multiple definitions for consistent assignment and compliance reporting. The stated constraint is different: compliance detection alone does not grant rights to deploy dependent resources during remediation.

E:

Audit evaluates and reports compliance but does not create or repair a missing diagnostic resource. Even a deployIfNotExists policy needs the required managed identity and role permissions to perform the deployment action. The question states that evaluation occurred but resource creation failed. Making the policy detective-only would eliminate the remediation mechanism rather than solve the permission failure. Supply an appropriately scoped deployment role to the assignment identity.

Question 79

An existing VM becomes noncompliant after a policy is assigned. Should the team assume the resource was deleted?

  1. Grant the policy assignment's managed identity the needed target-scope deployment role
  2. Use a modify policy with a suitable managed identity and role permissions for remediation
  3. Review compliance result and remediation, not assume enforcement removed the existing resource
  4. Assign an audit effect rather than deny

Explanation

Correct Answer

C:

Review compliance result and remediation, not assume enforcement removed the existing resource. Audit/evaluation flags existing resources; request-time deny is not retrospective deletion.

Incorrect Answers

A:

Compliance detection alone does not grant rights to deploy dependent resources during remediation. The stated constraint is different: audit/evaluation flags existing resources; request-time deny is not retrospective deletion.

B:

Modify changes supported properties at request time; existing resources may require remediation tasks. The stated constraint is different: audit/evaluation flags existing resources; request-time deny is not retrospective deletion.

D:

Audit records noncompliance but does not automatically reject matching resource requests. The stated constraint is different: audit/evaluation flags existing resources; request-time deny is not retrospective deletion.

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?

  1. Add the laboratory subscription to the assignment’s notScopes exclusions, keeping the production scopes in the assignment
  2. Grant the policy assignment managed identity Contributor to all subscriptions so the lab is automatically ignored
  3. Move the lab into a different resource group but keep its subscription within the assigned management group without notScopes
  4. Create an expiring Azure Policy exemption for the laboratory, which remains visible as Exempted rather than being excluded from the assignment

Explanation

Correct Answer

A:

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

B:

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.

C:

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.

D:

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

Purchase Individually

AZ-104 Premium File

Premium File
AZ-104 Premium File
606 Q&A
$76.99$69.99

AZ-104 Training Video Course

Training Course
AZ-104 Training Video Course
132 Lectures
$27.49$24.99

AZ-104 Study Guide

Study Guide
AZ-104 Study Guide
458 PDF Pages
$27.49$24.99

Site Search:

 

VISA, MasterCard, AmericanExpress, UnionPay

SPECIAL OFFER: GET 10% OFF

ExamCollection Premium

ExamCollection Premium Files

Pass your Exam with ExamCollection's PREMIUM files!

  • ExamCollection Certified Safe Files
  • Guaranteed to have ACTUAL Exam Questions
  • Up-to-Date Exam Study Material - Verified by Experts
  • Instant Downloads
Enter Your Email Address to Receive Your 10% Off Discount Code
A Confirmation Link will be sent to this email address to verify your login
We value your privacy. We will not rent or sell your email address

SPECIAL OFFER: GET 10% OFF

Use Discount Code:

MIN10OFF

A confirmation link was sent to your e-mail.
Please check your mailbox for a message from support@examcollection.com and follow the directions.

Next

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.