Microsoft AZ-104 Exam Dumps, Practice Test Questions

100% Latest & Updated Microsoft AZ-104 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!

Microsoft AZ-104 Premium Bundle
$79.97
$59.98

AZ-104 Premium Bundle

  • Premium File: 606 Questions & Answers. Last update: Nov 5, 2026
  • Training Course: 132 Video Lectures
  • Study Guide: 458 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates

AZ-104 Premium Bundle

Microsoft AZ-104 Premium Bundle
  • Premium File: 606 Questions & Answers. Last update: Nov 5, 2026
  • Training Course: 132 Video Lectures
  • Study Guide: 458 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates
$79.97
$59.98

Microsoft AZ-104 Practice Test 17

Question 160

A storage-account operator applies a ReadOnly management lock expecting to block configuration changes only. A data-management tool then fails on an Azure Resource Manager listKeys request even though it normally reads an output. What explains the behavior?

  1. Retry listKeys with another Azure CLI or PowerShell command, assuming the ReadOnly lock applies only to portal operations
  2. ReadOnly locks can reject management-plane POST operations such as listKeys even when the intention is to retrieve information
  3. The lock silently rotates storage account keys and disables every data-plane read
  4. An Azure Reader role assignment automatically revokes the operator’s Storage access rights

Explanation

Correct Answer

B:

ReadOnly locks restrict control-plane write-style requests, and some apparently read-oriented operations use POST. Their HTTP method and management API behavior make the lock more restrictive than its label suggests.

Incorrect Answers

A:

Management locks are enforced by Azure Resource Manager, not only by the portal interface. The listKeys management action is a POST-style call and is still blocked by an applicable ReadOnly lock regardless of whether the client uses CLI, PowerShell or the portal. Choose a supported operation or remove the lock through approved governance.

C:

Resource locks do not inherently rotate keys or stop all data-plane reads. The observed failure arises from the management API operation under the lock.

D:

Reader grants some control-plane inspection but does not revoke independent permissions. An inherited lock is the relevant barrier described.

Question 161

A subscription-level CanNotDelete management lock protects production resource groups. An operator with resource-group Owner tries to remove the inherited protection from one nested storage account but cannot do so from the resource pane. What must an authorized administrator do?

  1. Remove the Delete lock displayed directly on the storage account rather than inspecting the parent lock
  2. Grant Owner only on the protected storage account
  3. Remove or change the lock at its owning parent scope, with the lock-management permission
  4. Create an additional Delete lock directly on the storage account

Explanation

Correct Answer

C:

Management locks propagate down scope. An inherited lock is owned at its parent; the account Owner role at a child scope is not enough to remove a parent-assigned lock.

Incorrect Answers

A:

Removing a child lock cannot clear a separate lock inherited from a subscription or resource-group ancestor. The parent assignment remains effective.

B:

An account-level Owner assignment cannot authorize modifying a lock owned at the parent scope, and role grants do not override lock enforcement.

D:

Another lock would add a restriction rather than remove the inherited one. The original parent lock would still block deletion.

Question 162

A Storage Blob Data Owner is told that a ReadOnly Azure Resource Manager lock prevents anyone from deleting blob objects in the account through the Blob REST data-plane API. Is that protection sufficient?

  1. Yes; ReadOnly is a universal authorization deny across every Azure data service operation
  2. Yes; a lock automatically converts every blob into immutable legal-hold data
  3. No; because storage accounts cannot have management locks at all
  4. No; ARM management locks do not generally block blob data-plane operations, so data protection needs separate controls

Explanation

Correct Answer

D:

ARM locks target management-plane operations on Azure resource objects. Blob delete and overwrite data actions need storage permissions and protections such as immutability or soft delete.

Incorrect Answers

A:

Management locks are not a blanket data-plane deny; that assumption leaves data operations exposed to authorized principals.

B:

Legal holds are explicit Blob Storage immutability features and are not created by an ARM management lock.

C:

Azure resources can be protected by ARM locks, but that protection operates on management requests, not every blob payload operation.

Question 163

An operator must move an Azure resource to another resource group, but a CanNotDelete lock inherited from the current resource group blocks the operation. Why can a move be affected even though it is not a simple delete request?

  1. Assume CanNotDelete never affects moves because resource bytes remain available
  2. Assign VM guest Administrator to the resource's application process
  3. Create a storage SAS token granting Move permission
  4. Have an authorized administrator temporarily manage the applicable lock before the supported resource move

Explanation

Correct Answer

D:

ARM moves can require management operations against source and destination resource IDs, including delete-like operations. An inherited CanNotDelete lock can therefore prevent a valid move until the protection is addressed.

Incorrect Answers

A:

Azure management locks evaluate ARM operations, not just whether data is physically erased. A move can require blocked operations even when workloads are intended to survive.

B:

Guest privileges do not override an ARM management lock inherited from a parent scope. They cannot authorize the blocked resource move.

C:

SAS permissions apply to supported storage service operations, not ARM resource-group moves. They cannot override management locks.

Question 164

A VM is covered by a ReadOnly ARM management lock. A help-desk user with VM Contributor tries to restart the VM through the Azure portal, but the operation is rejected even though the role includes VM power operations. What explains the failure?

  1. The ReadOnly lock can block the management-plane action used to restart the VM
  2. Virtual Machine Contributor never allows any VM power operation
  3. Add an inbound NSG allow rule for RDP to the locked VM and retry the Azure management-plane restart operation
  4. The boot disk requires Storage Blob Data Owner for a restart

Explanation

Correct Answer

A:

RBAC authorizes a call, but resource management locks impose additional constraints. A restart operation is not necessarily an HTTP GET, so it may be rejected under ReadOnly protection despite Contributor-level role permissions.

Incorrect Answers

B:

VM Contributor normally covers supported power actions. The case deliberately says the role is sufficient; the separate ReadOnly lock is the restriction.

C:

NSG rules govern network packets, not the Azure Resource Manager control-plane operation used to restart a VM. The inherited ReadOnly lock still blocks the management operation regardless of whether RDP traffic is allowed.

D:

VM restart is managed through Compute, not by granting the caller ownership of the underlying managed-disk blobs. The lock remains the operative constraint.

Question 165

A storage account has a ReadOnly Azure Resource Manager management lock. An access administrator has Owner permission and wants to grant Storage Blob Data Reader at one container scope for a new investigator. Creation of that container-scoped Azure RBAC assignment fails, and no deny assignment is present. What should the authorized administrator do while preserving the intended long-term lock?

  1. Refresh the administrator’s sign-in token and retry; ReadOnly locks never cover Azure RBAC role-assignment writes
  2. Temporarily remove the ReadOnly lock with proper lock-management authorization, create the container-scoped role assignment, and reapply the lock
  3. Issue a service SAS token and treat it as the same identity-based Azure RBAC assignment for the investigator
  4. Grant Contributor at subscription scope, because that role overrides ReadOnly locks for nested IAM changes

Explanation

Correct Answer

B:

ReadOnly locks protect the storage resource against ARM management writes, and Microsoft specifically notes that they can prevent adding RBAC role assignments on the storage account or its data containers. An authorized lock manager can remove or adjust the lock temporarily, grant Storage Blob Data Reader at the single requested container, and restore the protection. This avoids broadening the investigator’s data access.

Incorrect Answers

A:

Token refresh is appropriate for stale group claims, but the scenario names an effective ReadOnly management lock. Azure Resource Manager applies that lock to management-plane writes, including creation of storage-account or container-scoped role assignments. Refreshing the same Owner principal does not change the lock’s enforcement and leaves the role assignment blocked.

C:

A service SAS is a signed bearer-token delegation for particular storage operations, not an Azure RBAC assignment to a Microsoft Entra principal. Issuing it would change the authorization model and leave the requested identity-scoped audit trail absent. It also would not repair the ARM role-assignment write blocked by the ReadOnly lock on the storage account.

D:

Contributor does not grant unrestricted roleAssignments/write and cannot ignore a ReadOnly management lock. Even Owner with IAM rights cannot bypass that resource lock by merely changing scope or role. Subscription-level Contributor would expand management access far beyond the intended container and still would not permit the protected nested RBAC assignment write.

Question 166

An operator with Contributor permissions tries to delete a resource group protected by a CanNotDelete management lock. They have access to resources in the group and assume Contributor can override a lock automatically. What additional authorization and lock action are necessary?

  1. Move the resource group into a different region to make the lock expire
  2. Issue the delete call using Azure CLI instead of the portal because locks apply only to interactive requests
  3. Have an identity with the required management-lock permission remove or adjust the blocking lock before an authorized delete
  4. Grant the operator an additional Virtual Machine Contributor role while leaving the CanNotDelete lock in effect

Explanation

Correct Answer

C:

Azure management locks impose restrictions that apply even to operators holding broad resource management roles. A deletion requires the lock to be changed by an identity permitted to manage locks, not merely someone allowed to delete the underlying resource.

Incorrect Answers

A:

A resource group's location is metadata for control-plane management; changing region does not remove an assigned lock. The deletion remains blocked until the protection is intentionally adjusted.

B:

Management locks are enforced through the Azure control plane regardless of whether a caller uses the portal, CLI or REST API. Changing the client cannot bypass the lock.

D:

RBAC resource permissions do not override inherited management locks. An appropriately authorized administrator must remove or adjust the blocking CanNotDelete lock before the otherwise permitted delete operation can proceed.

Question 167

A production resource group is protected by a CanNotDelete lock to prevent accidental deletion. During planned remediation, engineers need to adjust a VM configuration without removing protection from resource deletion. Should that lock normally permit an allowed management update?

  1. Replace it with a ReadOnly lock to make configuration changes easier
  2. Assume the CanNotDelete lock grants Contributor permissions for configuration edits
  3. Raise the operator's RBAC role to Owner, assuming greater RBAC privileges make a management operation bypass the resource-group lock
  4. Keep the CanNotDelete lock while performing RBAC-authorized update operations that the lock permits

Explanation

Correct Answer

D:

CanNotDelete protection is narrower than ReadOnly: it is intended to block delete operations rather than all control-plane updates. The exact operation can still have resource-specific requirements.

Incorrect Answers

A:

ReadOnly is more restrictive for management writes and commonly blocks the updates the engineers need. It is the wrong lock type for retaining update capability.

B:

A lock restricts operations and does not grant RBAC permissions. The engineers still need appropriate management Actions to make any permitted changes.

C:

A lock restricts permitted control-plane operations independently of RBAC. Owner is neither required for a normal allowed update nor an override for a blocked deletion; the correct action retains CanNotDelete with appropriate existing permissions.

Question 168

A finance report filters resources by a CostCenter tag. The resource group has CostCenter=42, but newly deployed virtual machines inside the group have no tag. How should the administrator enforce that the tag value follows the parent group for future supported deployments?

  1. Assume resource tags inherit automatically when the group is tagged
  2. Create a policy that modifies supported resource tags from the resource group
  3. Move the virtual machines to another resource group with the same tag
  4. Use a Cost Management tag-inheritance reporting setting without updating resource metadata

Explanation

Correct Answer

B:

An Azure Policy modify assignment can copy or inherit a supported tag value from the parent resource group during matching deployment operations. This establishes explicit governance rather than assumed inheritance.

Incorrect Answers

A:

Tags on a resource group do not automatically propagate to member resources. Relying on inheritance leaves the new VMs without the metadata that the reporting filter expects.

C:

Moving resources changes their container but does not by itself transfer the group’s tags to each resource. The CostCenter values would still be missing.

D:

Cost reporting inheritance can affect how costs are displayed, but does not necessarily write CostCenter into the VM resources. The requirement explicitly concerns resource tags present on deployed VMs.

Question 169

A team tags a resource group with CostCenter=241, then creates an untagged virtual machine inside it. Their finance report filters on the VM’s own tags and misses the VM. Which assumption caused the discrepancy?

  1. An Azure Monitor action group must be created for tags to appear
  2. Resource-group tags do not automatically propagate to child resources without an explicit mechanism
  3. The VM automatically inherits all resource-group tags but cost reports intentionally ignore VMs
  4. CostCenter tags can only be assigned at the subscription scope

Explanation

Correct Answer

B:

Tags belong to the resource at which they are set. A group tag alone does not populate the VM tag property; use direct tagging or an appropriate Azure Policy to propagate it.

Incorrect Answers

A:

Action groups route monitoring notifications; they are not an inheritance engine for Azure resource tags. The missing VM tag remains unresolved.

C:

Azure does not automatically copy those tags to child resources. Assuming inheritance explains why the VM property remains empty.

D:

Azure tags can be applied to many individual resource scopes, including a VM and resource group. A subscription-only requirement is incorrect.

Question 170

An administrator proposes granting privileged access to all VMs bearing a confidential-project tag, assuming anyone who can change tags should also be permitted to administer those VMs. Security requires enforceable Azure control-plane access. What should govern the permission instead?

  1. Rely on an Azure Policy tag-compliance Audit result to confer VM administrative permissions when the required project tag is present
  2. Use Azure RBAC roles and appropriate scopes for VM administration, independent of informational tags
  3. Use an Azure Policy Modify assignment to add confidential-project tags, then treat a compliant tag result as authorization to start or delete the VM
  4. Use Azure RBAC Reader at the subscription and expect a matching confidential-project tag to expand that read role into VM management

Explanation

Correct Answer

B:

RBAC assignments authorize resource operations based on principal, role and scope. Tags help classify and report resources but are not by themselves enforceable management-access grants.

Incorrect Answers

A:

Azure Policy compliance evaluation does not confer Azure RBAC permissions. Tags can be evaluated for governance, but authorization to start or manage a VM still comes from actual identity, role assignment and scope.

C:

Modify can remediate supported metadata properties, but a successful tag-compliance result is not an Azure RBAC role assignment and cannot grant start or delete permissions. VM operations still require the principal's applicable role and scope.

D:

Reader has management-plane read permissions, not VM write/start authorization. A resource tag does not elevate a Reader assignment into the required VM management Actions.

Microsoft Azure Administrator (AZ-104) Practice Tests

UP

SPECIAL OFFER: GET 10% OFF

This is ONE TIME OFFER

ExamSnap Discount Offer
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.

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.