cert
cert-1
cert-2

Pass Microsoft AZ-104 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
AZ-104 Exam - Verified By Experts
AZ-104 Premium Bundle
$29.98

AZ-104 Premium Bundle

$79.99
$109.97
  • Premium File 606 Questions & Answers. Last update: Oct 30, 2026
  • Training Course 132 Video Lectures
  • Study Guide 458 Pages
 
$109.97
$79.99
accept 453 downloads in last 7 days
block-screenshots
Purchase Microsoft AZ-104 Exam Training Products Individually
Microsoft AZ-104 Premium File
Premium File 606 Q&A
$76.99$69.99
Microsoft AZ-104 Video Training Course
Training Course 132 Lectures
$21.99 $19.99
Microsoft AZ-104 PDF Study Guide
Study Guide 458 Pages
$21.99 $19.99
Microsoft AZ-104 Practice Test 53

Question 520

A budget shows unexpected blank tagged costs despite apparently correct tagging. What should be checked?

  1. Inspect the VM tags directly and the existence of a tag-inheritance policy.
  2. Check billing tag inclusion, cost attribution support and resource tag propagation.
  3. Verify tagging on each billable resource and cost-data tag support.
  4. Attach the CanNotDelete lock at the database resource scope.

Explanation

Correct Answer

B:

Not every charge maps cleanly to all resource tags. The report must use a supported dimension and relevant cost data. This matters here because a budget shows unexpected blank tagged costs despite apparently correct tagging.

Incorrect Answers

A:

Tagging the parent group is not equivalent to tagging each child. Cost reporting by resource tag needs metadata on the actual billable resource. This matters here because a budget shows unexpected blank tagged costs despite apparently correct tagging.

C:

Resource group tags are not automatically inherited by children. Some billing entries cannot be attributed by particular tags. This matters here because a budget shows unexpected blank tagged costs despite apparently correct tagging.

D:

A resource-specific lock protects only the selected asset rather than every descendant in the resource group. Parent locks could have a wider blast radius. This matters here because a budget shows unexpected blank tagged costs despite apparently correct tagging.

Question 521

An Azure resource should use a declared costCenter tag with one of four allowed values. Which governance control can reject invalid values?

  1. Assign an Azure Policy deny rule that evaluates the costCenter tag against approved values.
  2. Assign Azure Policy restricting permitted virtual machine SKUs across the desired scopes.
  3. Inspect the initiative definition and individual policy reference IDs.
  4. Use an Azure Policy deny effect with allowed locations configured.

Explanation

Correct Answer

A:

Deny can prevent unauthorized tag values in management requests. A free-form operational convention cannot enforce an allowlist. This matters here because an Azure resource should use a declared costCenter tag with one of four allowed values. Which governance control can….

Incorrect Answers

B:

Policies can evaluate requested SKU properties and deny nonapproved sizes. A budget alert detects cost but cannot reliably block an invalid SKU. This matters here because an Azure resource should use a declared costCenter tag with one of four allowed values. Which governance control can….

C:

An initiative aggregates multiple definitions under one assignment. Individual policy references retain distinct evaluation results. This matters here because an Azure resource should use a declared costCenter tag with one of four allowed values. Which governance control can….

D:

A deny policy can block noncompliant Resource Manager requests before creation. Dashboard alerts do not enforce deployment constraints. This matters here because an Azure resource should use a declared costCenter tag with one of four allowed values. Which governance control can….

Question 522

An app deployment fails only when costCenter is set to an unapproved string. Where should troubleshooting begin?

  1. Inspect the policy effect for audit or auditIfNotExists instead of deny.
  2. Use Azure Policy tag inheritance or modification because resource tags do not automatically inherit.
  3. Inspect policy evaluation details and the allowedLocations parameter in the effective assignment.
  4. Inspect the applicable Azure Policy tag-value allowlist and deny evaluation result.

Explanation

Correct Answer

D:

The failed tag value violates an enforced resource governance condition. The creator's Azure Contributor permission cannot override it. This matters here because an app deployment fails only when costCenter is set to an unapproved string.

Incorrect Answers

A:

Audit-style effects report violating resources while allowing creation. Compliance status is not always a record of a failed deployment. This matters here because an app deployment fails only when costCenter is set to an unapproved string.

B:

Resource group tags do not automatically copy to child resources. An appropriate policy is required to apply or enforce matching metadata. This matters here because an app deployment fails only when costCenter is set to an unapproved string.

C:

A deny decision depends on evaluated resource properties and assignment parameters. Changing unrelated tags will not fix a location outside the allowlist. This matters here because an app deployment fails only when costCenter is set to an unapproved string.

Question 523

A security team wants an audit trail of who changed a resource lock last night. Which management-plane source records this?

  1. Inspect only the currently applied resource lock and infer the identity and time of last night’s edit from its current lock level.
  2. Use an Azure Policy audit effect on the relevant resource properties.
  3. Review ReadOnly locks inherited from resource group or subscription scopes.
  4. Check Azure Activity Log for Microsoft.Authorization/locks write or delete operations.

Explanation

Correct Answer

D:

Resource lock changes are Azure control-plane operations that can be traced to authorized callers. VM guest logs do not capture this operation reliably. This matters here because a security team wants an audit trail of who changed a resource lock last night. Which management-plane source….

Incorrect Answers

A:

A lock’s current name, scope and level do not provide a historical who-and-when record. Azure Activity Log management operations can show the actor, timestamp and lock write or deletion event.

B:

Audit records noncompliance while allowing operations to proceed. Deny would prevent resources that violate the configured rule. This matters here because a security team wants an audit trail of who changed a resource lock last night. Which management-plane source….

C:

An Azure lock can block management operations even when the user holds Owner. The authorized lock owner must remove or adjust it before the write. This matters here because a security team wants an audit trail of who changed a resource lock last night. Which management-plane source….

Question 524

A lock appears in the portal with unknown origin. What should the reviewer compare?

  1. Review and update the approved SKU parameter in the effective Azure Policy assignment under change control.
  2. Use Azure Cost Management Cost analysis grouped by subscription.
  3. Rename the resource-group lock and assume the new display name identifies the administrator who created it.
  4. Correlate the current lock with Activity Log lock-management events at its scope.

Explanation

Correct Answer

D:

The lock's visible current properties do not by themselves identify historical actors. Operation records supply change provenance where retained. This matters here because a lock appears in the portal with unknown origin.

Incorrect Answers

A:

Policy parameters determine the allowed set. VM Owner cannot override a deny rule by resubmitting the same noncompliant SKU.

B:

Cost analysis supports date filters and subscription groupings. The Activity Log records management operations rather than authoritative cost totals. This matters here because a lock appears in the portal with unknown origin.

C:

The current lock metadata alone may not establish who created or edited it. Review Activity Log events for lock operations at the affected resource scope, including identity and timestamps.

Question 525

Headquarters and VPN public egress IPs are both allowed by the storage account firewall. A SAS with an IP restriction succeeds from headquarters but fails from VPN users after the route changes. What should be compared?

  1. Compare the caller's observed public IPv4 egress address with the storage firewall allowlist.
  2. Configure the storage account firewall's selected public IP address rules.
  3. Compare the VPN's public egress address to the SAS signed IP range.
  4. Regenerate the SAS using the same signed IP range without comparing the VPN's actual egress address.

Explanation

Correct Answer

C:

SAS source IP conditions are evaluated against the observed network source. Switching paths can invalidate an otherwise correctly signed token. This matters here because headquarters and VPN public egress IPs are both allowed by the storage account firewall. A SAS with an IP….

Incorrect Answers

A:

The storage firewall already admits both public egress paths in this case, so changing its allowlist would not explain why only the SAS-constrained VPN request fails. Compare the SAS signed IP condition with the observed VPN egress address instead.

B:

The stated network allowlist permits both offices. Changing firewall public-IP rules cannot repair a mismatched signed IP constraint in an otherwise valid SAS; inspect the token IP range and caller egress address.

D:

SAS signed IP constraints are evaluated against the caller's observed public address. VPN NAT can change that address, so compare signed IP ranges with traffic egress before modifying credentials.

Question 526

A security officer wants a browser-issued SAS to be accepted over HTTPS only. Which token restriction should they select?

  1. Configure file-share SMB signing but issue the browser SAS with both HTTP and HTTPS protocols allowed.
  2. Set the SAS signed IP range restriction where that SAS type supports it.
  3. Configure a minimum TLS version of 1.2 or a higher supported protocol.
  4. Set the signed SAS protocol field to HTTPS only.

Explanation

Correct Answer

D:

A bearer SAS token can be exposed over insecure transport. Protocol restriction prevents use over unencrypted HTTP. This matters here because a security officer wants a browser-issued SAS to be accepted over HTTPS only. Which token restriction should they select.

Incorrect Answers

A:

SMB signing is separate from a Blob SAS protocol restriction. Include HTTPS-only in the SAS signed protocol setting to reject plaintext requests.

B:

SAS signed IP constraints restrict where the bearer token may be used in addition to its rights and lifetime. This matters here because a security officer wants a browser-issued SAS to be accepted over HTTPS only. Which token restriction should they select.

C:

HTTPS alone does not specify the accepted protocol generation. The storage account's minimum TLS setting blocks older clients. This matters here because a security officer wants a browser-issued SAS to be accepted over HTTPS only. Which token restriction should they select.

Question 527

An application copies a SAS URL but changes its query permissions afterward. Why will it fail?

  1. Validate that the signed fields still match the SAS signature and were not modified.
  2. Inspect the signed permissions and resource scope; list is intentionally omitted.
  3. Inventory which clients still use key1 rather than key2 or identity-based access.
  4. Check the second subnet's service endpoint configuration and individual storage firewall rule.

Explanation

Correct Answer

A:

SAS signature covers authorization parameters. Changing permission, expiry, or resource after signing invalidates the token. This matters here because an application copies a SAS URL but changes its query permissions afterward. Why will it fail.

Incorrect Answers

B:

A SAS grants only the operations and resource types it signs. Upload permission does not implicitly confer container enumeration. This matters here because an application copies a SAS URL but changes its query permissions afterward. Why will it fail.

C:

Applications pinned to a regenerated key fail authentication until updated. Having two keys enables a controlled rotation pattern. This matters here because an application copies a SAS URL but changes its query permissions afterward. Why will it fail.

D:

Allowing one subnet does not automatically allow every sibling subnet. Service endpoint and storage ACL changes are subnet-particular.

Question 528

A Blob Storage client still sends an account-key-signed service SAS after the storage account has explicitly disallowed Shared Key authorization. The request now returns 403. What explains the failure?

  1. Rotate the original account key and continue using the same service SAS token without generating a new signature.
  2. Compare the VPN's public egress address to the SAS signed IP range.
  3. An account-key-signed SAS is rejected when Shared Key authorization is disabled; switch to supported Entra-based access or a user delegation SAS.
  4. Enable Azure Storage soft delete and keep using the existing account-key-signed service SAS.

Explanation

Correct Answer

C:

Service and account SAS tokens are authorized with a storage account key. If the account disallows Shared Key authorization, such tokens cannot be used for supported requests. A user delegation SAS derives signing authority from Microsoft Entra, or the application can use direct Entra-based data-plane access with the necessary role.

Incorrect Answers

A:

Rotating the signing key invalidates existing signatures; it cannot restore a service SAS path that the storage account disallows. A supported Microsoft Entra-based authorization approach is required.

B:

SAS source IP conditions are evaluated against the observed network source. Switching paths can invalidate an otherwise correctly signed token. This matters here because a Blob Storage client still sends an account-key-signed service SAS after the storage account has explicitly….

D:

Soft delete controls recovery of deleted data, not authorization. It does not override disallowed account-key-signed SAS tokens.

Question 529

A legacy app stops using account SAS after AllowSharedKeyAccess is disabled. What explains the failure?

  1. Create a private endpoint targeting the storage file service.
  2. Identify whether the client relies on account-key-signed SAS rather than Entra-backed authorization.
  3. Disable storage account shared-key access and expect existing key-signed account SAS URLs to continue working.
  4. Enable Azure Files identity-based SMB access and expect existing account SAS tokens to work while Shared Key authorization is disabled.

Explanation

Correct Answer

B:

Account SAS depends on shared-key authorization. User delegation SAS and supported Entra authorization use different mechanisms. This matters here because a legacy app stops using account SAS after AllowSharedKeyAccess is disabled. What explains the failure.

Incorrect Answers

A:

Azure Files SMB uses the file subresource. A blob private endpoint secures a different host name and protocol endpoint. This matters here because a legacy app stops using account SAS after AllowSharedKeyAccess is disabled. What explains the failure.

C:

An account SAS depends on the storage account key, so disabling shared-key authorization can invalidate the legacy flow. Identify SAS signing method and migrate to supported Entra authorization or user delegation SAS as appropriate.

D:

SMB identity setup doesn't reinstate Shared Key authorization. Account and service SAS mechanisms relying on the shared key remain rejected when that account setting disables them.

Question 530

A storage client has Blob Data Contributor but cannot connect because the account permits only private endpoints. What must be solved?

  1. Provide an approved network route to the storage private endpoint in addition to data RBAC.
  2. Use data-plane Microsoft Entra authentication without requiring account key listing permissions.
  3. Link and populate the appropriate privatelink.blob.core.windows.net private DNS zone for the VNet.
  4. Set the signed SAS protocol field to HTTPS only.

Explanation

Correct Answer

A:

Blob Data Contributor grants appropriate data-plane operations only after the client reaches an approved storage endpoint. With public access disabled, validate private endpoint DNS, address routing and network controls independently of RBAC.

Incorrect Answers

B:

Managed identity can request storage data access under its Blob Data role. Reading shared keys is a separate broad ARM management operation. This matters here because a storage client has Blob Data Contributor but cannot connect because the account permits only private endpoints.

C:

Private endpoint routing requires client DNS to resolve the public service hostname through its private-link record to the private IP. This matters here because a storage client has Blob Data Contributor but cannot connect because the account permits only private endpoints.

D:

A bearer SAS token can be exposed over insecure transport. Protocol restriction prevents use over unencrypted HTTP. This matters here because a storage client has Blob Data Contributor but cannot connect because the account permits only private endpoints.

Microsoft Azure Administrator (AZ-104) Practice Tests