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 14

Question 130

A container issues multiple service SAS links needing coordinated expiration changes. What configuration can centralize control?

  1. Identify SAS type and signing/policy association before choosing a revocation method
  2. Issue a resource-scoped read-only SAS with narrowly bounded validity
  3. Use an account SAS when its broader service-operation scope is truly required
  4. Recognize SAS bearer authorization independent of the recipient's normal role assignment
  5. Associate compatible service SAS tokens with a stored access policy on the container

Explanation

Correct Answer

E:

A stored access policy is maintained on the blob container and can define the start time, expiration and permissions inherited by service SAS tokens that reference its identifier. The administrator can update or revoke that policy to affect all associated links without rotating the account keys. It cannot centrally modify ad hoc account SAS or user delegation SAS tokens, so confirm the links are compatible and associated correctly. Azure Storage allows at most five stored policies per container, and a policy update can take time to propagate; test the intended permission and expiry behavior before declaring the rollout successful.

Incorrect Answers

A:

Identifying each token's SAS type and whether it uses a stored-policy identifier is essential before changing it, because a container policy can govern only qualifying service SAS tokens. But this inspection is not the configuration that centralizes expiration for the several links in the scenario. If the links are already ad hoc, merely classifying them leaves their independent expirations unchanged. Create a supported stored access policy on the relevant blob container, issue or replace the service SAS links with the policy identifier, and then verify that the intended constraints apply to those links.

B:

A narrowly timed, read-only SAS for one blob limits that one recipient's access, which is good practice when the use case is a single short download. The question instead concerns coordinating expiration changes across several service SAS links issued for the same container. Independent ad hoc SAS links carry their own signed constraints; editing one link does not centrally alter its siblings. A stored access policy supplies a common server-side source for appropriate service SAS constraints. A read-only grant could still be part of that policy where justified, but it is not the central-management feature being requested.

C:

An account SAS can authorize service-level operations and more than one Azure Storage service, which is broader than this container's delegated blob access requires. More importantly, Microsoft documents that account SAS tokens do not support association with stored access policies. Switching to an account SAS would therefore remove, rather than create, the specific coordinated expiry control needed here. Use a service SAS bound to the container's stored access policy. Account SAS is appropriate only when account-wide operation capabilities are actually required and broader delegated permissions are acceptable.

D:

A valid SAS functions as a bearer authorization: its holder may perform the operations allowed by the signed token without holding a separate Azure data-role assignment on the destination account. That explains why a recipient can use a link, but it does not explain how an operator can change the expiration of several already issued links together. The revocation and expiry mechanism depends on SAS type and policy association. For this use case, eligible service SAS links should refer to the container's stored access policy, rather than relying on general bearer-token behavior.

Question 131

All service SAS links referencing one stored access policy fail after that policy is deleted. What caused the change?

  1. Policy changes govern associated service SAS tokens, not unrelated ad hoc SAS credentials
  2. Use stored access policies only with supported service SAS, not user delegation or account SAS
  3. Recreate the stored access policy immediately without checking who deleted it or whether the SAS credentials were intentionally revoked
  4. Identify SAS type and signing/policy association before choosing a revocation method

Explanation

Correct Answer

A:

Service SAS tokens that reference a stored access policy depend on that policy being present and usable when Azure Storage evaluates the request. Deleting the policy invalidates the linked permission or time constraints, so every SAS that references that policy can stop authorizing requests. An ad hoc SAS with permissions and expiry signed directly into its token does not depend on that deleted policy. The event is thus caused by removing an authorization object used by the dependent service SAS tokens, not by a change in a client IP address, encryption key or blob tier. Restore access only after the owner intentionally authorizes it.

Incorrect Answers

B:

'Use stored access policies only with supported service SAS, not user delegation or account SAS' solves another task because user delegation and account SAS are ad hoc and cannot inherit a stored access policy. For the situation where all service SAS links referencing one stored access policy fail after that policy is deleted, this distractor misses the requirement that linked SAS tokens depend on the referenced policy definition; removing the policy breaks their authorization. Unlike 'Use stored access policies only with supported service SAS, not user delegation or account SAS', 'Policy changes govern associated service SAS tokens, not unrelated ad hoc SAS credentials' directly targets that requirement; its success must be confirmed at the authorized resource scope.

C:

Re-creating a deleted policy is a proposed administrative recovery action, not an explanation of why the original service SAS tokens failed. It may also undo a deliberate credential revocation or violate the tenant change process. First establish whether the stored access policy was removed as a security response and identify exactly which service SAS tokens referenced it. The causal explanation is that those SAS tokens depended on the policy and were invalidated when it disappeared. Any restoration should be separately approved and tested rather than assumed safe or automatic.

D:

'Identify SAS type and signing/policy association before choosing a revocation method' applies to a different feature boundary because changing a stored access policy affects associated service SAS but not every ad hoc or user delegation token. In the stated scenario where all service SAS links referencing one stored access policy fail after that policy is deleted, 'Identify SAS type and signing/policy association before choosing a revocation method' does not satisfy the mechanism that linked SAS tokens depend on the referenced policy definition; removing the policy breaks their authorization. The necessary action is 'Policy changes govern associated service SAS tokens, not unrelated ad hoc SAS credentials', which should be checked against this Azure resource's actual permissions and state.

Question 132

A team attempts to associate a user delegation SAS with a stored access policy and gets an unsupported configuration. What is the issue?

  1. Attach the same stored access policy to the user delegation SAS and retry unchanged
  2. Policy changes govern associated service SAS tokens, not unrelated ad hoc SAS credentials
  3. Restore or replace the intentionally removed stored access policy where appropriate
  4. Use stored access policies only with supported service SAS, not user delegation or account SAS

Explanation

Correct Answer

D:

Azure Storage stored access policies are supported for service SAS tokens on the applicable container or share service. They are not a general attachment mechanism for a user delegation SAS, which is issued using a delegation key obtained through Microsoft Entra authorization. The proposed association is rejected because the token family does not support the stored-policy identifier relationship. Use a supported service SAS when policy-managed expiry and revocation are required, or issue a properly scoped user delegation SAS with its own valid authorization and expiration design. Merely recreating or renaming the policy will not make this unsupported SAS type accept it.

Incorrect Answers

A:

Azure Storage stored access policies are not supported for user delegation SAS tokens. Reissuing the token with the same unsupported policy association therefore cannot make the operation valid. User delegation SAS uses Microsoft Entra-derived delegation key material and its own explicit permissions and validity window. Stored access policies apply to supported service SAS cases. The right diagnosis is the unsupported SAS-policy combination, not an instruction to repeat it.

B:

When an operator shortens one stored policy's expiry and assumes an unrelated ad hoc SAS is also revoked, the action 'Policy changes govern associated service SAS tokens, not unrelated ad hoc SAS credentials' can be relevant: ad hoc SAS bounds are signed into the token and require a different revocation or expiry approach. For the different problem of a team attempts to associate a user delegation SAS with a stored access policy and gets an unsupported configuration, 'Policy changes govern associated service SAS tokens, not unrelated ad hoc SAS credentials' misses the mechanism that user delegation and account SAS are ad hoc and cannot inherit a stored access policy. Choosing 'Policy changes govern associated service SAS tokens, not unrelated ad hoc SAS credentials' would address that other need, whereas 'Use stored access policies only with supported service SAS, not user delegation or account SAS' is intended to solve the stated condition.

C:

'Restore or replace the intentionally removed stored access policy where appropriate' applies to a different feature boundary because linked SAS tokens depend on the referenced policy definition; removing the policy breaks their authorization. In the stated scenario where a team attempts to associate a user delegation SAS with a stored access policy and gets an unsupported configuration, 'Restore or replace the intentionally removed stored access policy where appropriate' does not satisfy the mechanism that user delegation and account SAS are ad hoc and cannot inherit a stored access policy. The necessary action is 'Use stored access policies only with supported service SAS, not user delegation or account SAS', which should be checked against this Azure resource's actual permissions and state.

Question 133

A Blob container has a stored access policy named `monthly`. The storage owner shortens that policy's expiry. A separate user delegation SAS for a different blob was issued without a stored policy and remains within its own validity period. Which conclusion is accurate?

  1. Changing the `monthly` policy immediately revokes every SAS issued for the storage account, regardless of signature type
  2. A user delegation SAS inherits the edited policy expiry because all SAS types can reference stored access policies
  3. Only service SAS tokens referencing `monthly` inherit its revised expiry; the unrelated ad hoc user delegation SAS is not changed by that policy
  4. The unrelated user delegation SAS is invalidated by a resource-group ReadOnly lock even though its signature and validity are still correct
  5. Reissuing the user delegation SAS with the same stored policy identifier is required to preserve access after the edit

Explanation

Correct Answer

C:

The revised expiry is applied when Storage evaluates a service SAS that names the stored access policy `monthly`; those linked requests cease to be authorized after the new expiry. The independently issued user delegation SAS is not bound to a stored access policy at all: it is signed with a short-lived delegation key obtained under Microsoft Entra authorization and retains the validity restrictions built into its own token and key. Therefore the policy edit alone does not revoke that second SAS. If the aim were to revoke the separate user delegation SAS, the administrator would need to address its delegation key or let its bounded validity expire. This tests policy association, not the broader incident-response question of identifying an unknown leaked SAS type.

Incorrect Answers

A:

Azure Storage does not maintain one global expiry for all SAS tokens on an account. Updating a stored access policy changes the constraints that are applied to compatible service SAS tokens referring to that policy identifier. Other SAS types or ad hoc signatures do not automatically gain a dependency on the edited policy. The example separates a service SAS policy from a user delegation SAS that was generated through Microsoft Entra credentials. A blanket revocation claim ignores their different signing and authorization paths; the latter remains governed by its own delegation key, signed validity, and access permissions.

B:

A stored access policy may be referenced by a supported service SAS, but an account SAS or user delegation SAS must be issued as an ad hoc signature. Consequently, an unrelated user delegation SAS does not reference the container's `monthly` policy, and changing that policy's expiry cannot silently rewrite the user delegation SAS's signed expiry. The correct administrative action depends on the token type: a policy edit for linked service SAS, or the relevant user delegation signing key and token expiry controls for Entra-signed SAS. Treating all SAS types as policy-linked would produce a misleading revocation assumption.

D:

An Azure Resource Manager ReadOnly lock limits management-plane changes to Azure resources; it does not rewrite the cryptographic signature or embedded expiry of a user delegation SAS. The question supplies a still-valid independently signed data-plane token. Whether an actual Blob read succeeds also depends on storage networking and SAS permissions, but the listed resource-group lock is not the policy edit that controls this SAS's expiry. Resource locks and SAS revocation operate at different layers, so invoking the lock does not explain the effect of shortening the unrelated stored access policy.

E:

The unsupported operation is the proposed association of a user delegation SAS with a stored access policy. Azure Storage only supports stored access-policy association for a service SAS; the user delegation SAS remains ad hoc. Reissuing it with the `monthly` identifier therefore does not make it compliant with or protected by that policy. If a service SAS needed a coordinated expiry update, linking it to an existing policy might be useful, but in this example the second SAS was intentionally generated using Entra signing. Its expiry and key must be controlled through the user-delegation mechanism rather than an unrelated container policy.

Question 134

A blob container already uses account-key-signed service SAS tokens. Partner A may read invoices for seven days; Partner B may create files but may not read or delete them and its authorization ends tomorrow. The partners need independently adjustable authorization without rotating the account key. Which stored access policy design works?

  1. Attach both partners' service SAS tokens to one policy with the combined Read and Create permissions and the longer expiry.
  2. Issue user delegation SAS tokens, then attach each to a separate stored access policy on the container.
  3. Issue account SAS tokens, then attach each to a separate stored access policy on the container.
  4. Create two distinct container stored access policy identifiers with different permitted actions and validity periods, and associate each partner's service SAS with its own policy.

Explanation

Correct Answer

D:

The administrator should create two different stored access policies on the container and bind each partner's service SAS to its respective policy identifier. Partner A's policy should permit Read through the seven-day interval; Partner B's should permit Create only until tomorrow. Their independent identifiers allow one policy to be changed or deleted without automatically extending the other partner's authorization. This mechanism is supported for service SAS, not for user delegation or account SAS. Stored access policy count limits and the security of the account signing key still require separate governance.

Incorrect Answers

A:

A single shared stored access policy makes its permissions and expiry common to every associated service SAS. To satisfy both partners, a combined policy would give Partner B Read even though the partner only needs Create, and it could extend the B token past tomorrow. Changing that shared policy to address one partner could also disrupt the other. The scenario explicitly requires separate authority and revocation windows; therefore use distinct policy identifiers, not a union of both grants. The container supports a limited number of such policies, so govern those slots deliberately.

B:

A user delegation SAS is normally the stronger choice when Microsoft Entra credentials can authorize its creation, but the proposed policy association is not supported. A user delegation SAS is ad hoc: it cannot be bound to a stored access policy. The scenario explicitly has existing account-key-signed service SAS tokens and requires their delegated permissions and times to be adjusted independently through container-stored identifiers. Changing the SAS type would not make the unsupported association valid. To use stored access policies, the tokens must be service SAS tokens of the supported kind.

C:

An account SAS can delegate service-level or multi-service operations, but it is not controlled by a blob container's stored access policy. Microsoft documents stored access policies for supported service SAS tokens, not account SAS or user delegation SAS tokens. Even if two account SAS tokens were separately minted with appropriate expiry, the proposed policy-driven independent updates would not operate. The administrator should keep the service SAS design for this requirement, create separate named policies, and keep Partner A's read scope and Partner B's create scope disjoint.

Question 135

An application has service SAS tokens associated with stored policy A. Someone proposes rotating both storage keys just to change policy A's expiry. What is better?

  1. Identify SAS type and signing/policy association before choosing a revocation method
  2. Policy changes govern associated service SAS tokens, not unrelated ad hoc SAS credentials
  3. Use stored access policies only with supported service SAS, not user delegation or account SAS
  4. Update the stored access policy rather than rotate unrelated account keys

Explanation

Correct Answer

D:

The service SAS tokens in this case reference policy A, so modify that policy's expiration and verify the associated links rather than regenerating both storage account keys. An account key rotation is a broad credential event: it can invalidate many Shared Key-signed SAS tokens and disrupt applications that have not switched keys. A stored policy change provides centralized control over its linked service SAS tokens without replacing unrelated account credentials. Account for propagation time, maintain an authorized rollback plan, and confirm the new expiry works for all intended clients while retaining least-privilege permission limits.

Incorrect Answers

A:

Identifying the SAS type and policy association is prudent during a credential incident, because a service SAS linked to a policy can be affected by policy edits whereas other SAS types follow different revocation routes. In this scenario, the application is already known to use service SAS tokens associated with stored policy A, so the open decision is how to change that policy's expiry. Rotating both account keys is disproportionately disruptive to other clients using Shared Key credentials. Edit policy A's specified expiry, allow for propagation, and verify that links referencing A receive the intended constraints.

B:

A stored access policy changes the permissions and validity of associated service SAS links, but not unrelated ad hoc account SAS or user delegation SAS tokens. That statement correctly describes the boundary, yet it does not tell the administrator which concrete change is needed to extend policy A's expiration. The question already identifies compatible tokens referencing that stored policy, so the targeted action is to edit its expiry setting. Account key regeneration would also invalidate key-signed tokens and applications that use the rotated key and is unnecessary solely to change that stored policy's time terms.

C:

Stored access policies can be bound to compatible service SAS tokens and are not supported by account SAS or user delegation SAS signatures. Although that fact is relevant to designing a credential strategy, the workload here already uses a linked service SAS policy. Its validity window is governed by the policy rather than by an unrelated token type conversion. Updating the stored policy is the narrowest change. Confirm the policy identifier stays the same, avoid conflicting per-token validity fields, allow for possible propagation delay and test a representative existing link after the edit.

Question 136

Applications use the first storage account access key and operations must rotate it with minimal downtime. What process is appropriate (Select TWO distinct actions.)

  1. Disable Shared Key while unmodified key-based clients still depend on it
  2. Regenerate the now-unused old key and verify clients after rotation
  3. Move dependent applications to the currently valid alternate storage account key
  4. Regenerate the active key before migrating the applications
  5. Distribute both storage account keys permanently to every application
  6. Change storage tags and assume credential signatures are renewed

Explanation

Correct Answers

B:

'Regenerate the now-unused old key and verify clients after rotation' fits the case in which applications use the first storage account access key and operations must rotate it with minimal downtime because replacing an unused key renews the credential without invalidating still-active clients. By contrast, 'Disable Shared Key while unmodified key-based clients still depend on it' addresses a different condition: abruptly changing authorization mode can break dependent workloads without migration planning; it would not establish the outcome needed for this particular Azure resource. For 'Regenerate the now-unused old key and verify clients after rotation', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

C:

'Move dependent applications to the currently valid alternate storage account key' fits the case in which applications use the first storage account access key and operations must rotate it with minimal downtime because clients must stop using the key scheduled for replacement before that key is regenerated. By contrast, 'Regenerate the active key before migrating the applications' addresses a different condition: regenerating a still-used key invalidates dependent client signatures and risks an outage; it would not establish the outcome needed for this particular Azure resource. For 'Move dependent applications to the currently valid alternate storage account key', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

'Disable Shared Key while unmodified key-based clients still depend on it' fails the stated scenario where applications use the first storage account access key and operations must rotate it with minimal downtime because abruptly changing authorization mode can break dependent workloads without migration planning. The required multi-part resolution instead needs two keys support staged rollover, but all dependent clients must be inventoried and updated, which 'Disable Shared Key while unmodified key-based clients still depend on it' does not establish. Do not count 'Disable Shared Key while unmodified key-based clients still depend on it' among the mandatory actions; confirm the specific service's effective permissions, network path, or deployment result before treating the design as complete.

D:

'Regenerate the active key before migrating the applications' fails the stated scenario where applications use the first storage account access key and operations must rotate it with minimal downtime because regenerating a still-used key invalidates dependent client signatures and risks an outage. The required multi-part resolution instead needs two keys support staged rollover, but all dependent clients must be inventoried and updated, which 'Regenerate the active key before migrating the applications' does not establish. Do not count 'Regenerate the active key before migrating the applications' among the mandatory actions; confirm the specific service's effective permissions, network path, or deployment result before treating the design as complete.

E:

'Distribute both storage account keys permanently to every application' fails the stated scenario where applications use the first storage account access key and operations must rotate it with minimal downtime because sharing every account secret increases exposure and does not provide a controlled rollover sequence. The required multi-part resolution instead needs two keys support staged rollover, but all dependent clients must be inventoried and updated, which 'Distribute both storage account keys permanently to every application' does not establish. Do not count 'Distribute both storage account keys permanently to every application' among the mandatory actions; confirm the specific service's effective permissions, network path, or deployment result before treating the design as complete.

F:

'Change storage tags and assume credential signatures are renewed' fails the stated scenario where applications use the first storage account access key and operations must rotate it with minimal downtime because tags are metadata and do not regenerate or rebind account key-based authorization. The required multi-part resolution instead needs two keys support staged rollover, but all dependent clients must be inventoried and updated, which 'Change storage tags and assume credential signatures are renewed' does not establish. Do not count 'Change storage tags and assume credential signatures are renewed' among the mandatory actions; confirm the specific service's effective permissions, network path, or deployment result before treating the design as complete.

Question 137

A storage account exposes key1 and key2. A project team proposes distributing both keys to all contractors because two keys supposedly grant safer shared access. What is the distinct operational purpose of providing both keys?

  1. Use an individual currently valid account key or an approved Entra-based method in a client without distributing both keys broadly
  2. Maintain two independently valid credentials so planned key regeneration can preserve client access; the keys do not represent two different privilege levels
  3. Disable Shared Key authorization only after clients have migrated to supported Microsoft Entra-based authorization
  4. Regenerate both account keys simultaneously before migrating any dependent clients, assuming both keys are interchangeable without interruption

Explanation

Correct Answer

B:

Azure Storage provides two separate valid account keys so rotation of one need not immediately interrupt clients that have been migrated to the other. They are not equivalent to two user roles or tiers of authority; either account key can provide broad storage authorization and sign Shared Key SAS tokens. The operational benefit is credential continuity during controlled renewal, subject to verifying actual dependent applications and their connection strings. A rotation procedure would move clients before regenerating the unused key, but that procedure is a different tested decision. The stated claim that both keys should be distributed to every contractor is therefore false: minimize exposure, use supported identity-based access and keep key handling under controlled authorization.

Incorrect Answers

A:

A client can authenticate with one valid account key or an appropriate identity-based mechanism, but this describes a client authorization path rather than the reason two account keys exist. Shared Key is highly privileged and should not be distributed to unrelated contractors as a convenient access-management method. The two keys are operationally independent so one can remain usable when the other is regenerated; they do not grant different read/write rights. An Entra role or scoped SAS should provide less access when supported. Merely choosing one authentication method does not explain dual-key availability and safe renewal.

C:

Disabling Shared Key authentication may be a useful later security-hardening step once every dependent client and integration can use an approved alternative. It does not explain the existence of key1 and key2. Also, changing this account-wide policy can disrupt clients and account/service SAS tokens tied to Shared Key, so it should not be presented as a trivial replacement for key management. The question asks about the operational purpose of multiple keys, which is continuity during controlled credential renewal. Account-wide authentication-policy migration must be designed and tested separately from understanding the two keys.

D:

Regenerating both keys before moving clients can invalidate their active credentials together and interrupt live access, even though two keys exist. Account and service SAS tokens signed by either regenerated key can also stop working. The safe purpose of dual-key support is to allow one secret to remain active while the other is replaced and callers are updated under change control. The two names do not give a client automatic failover when its configured secret becomes invalid. This simultaneous-regeneration proposal defeats the continuity benefit and does not reduce the hazard of distributing full-access secrets to contractors.

Question 138

A backup client stopped authenticating after the storage owner regenerated key1. What should support inspect?

  1. Migrate incompatible clients to supported Entra authorization before enforcing Shared-Key denial
  2. Update the client to use a currently valid account key or approved Entra method
  3. Regenerate both account keys again before updating the affected backup client’s credential
  4. Use dual keys for controlled credential rollover instead of unrestricted sharing

Explanation

Correct Answer

B:

'Update the client to use a currently valid account key or approved Entra method' fits the case in which a backup client stopped authenticating after the storage owner regenerated key1 because regenerated keys invalidate the old signature; DNS or resource group permissions are unrelated. By contrast, 'Migrate incompatible clients to supported Entra authorization before enforcing Shared-Key denial' addresses a different condition: key-signed SAS or account-key requests may be affected; check exact service support and access method; it would not establish the outcome needed for this particular Azure resource. For 'Update the client to use a currently valid account key or approved Entra method', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

'Migrate incompatible clients to supported Entra authorization before enforcing Shared-Key denial' applies to a different feature boundary because key-signed SAS or account-key requests may be affected; check exact service support and access method. In the stated scenario where a backup client stopped authenticating after the storage owner regenerated key1, 'Migrate incompatible clients to supported Entra authorization before enforcing Shared-Key denial' does not satisfy the mechanism that regenerated keys invalidate the old signature; DNS or resource group permissions are unrelated. The necessary action is 'Update the client to use a currently valid account key or approved Entra method', which should be checked against this Azure resource's actual permissions and state.

C:

Regenerating a signing key invalidates clients still using its previous value. Repeating rotation on both keys before repairing an already broken client can increase disruption and does not cause the client to learn the new secret. The immediate diagnosis is a stale account key in the backup application; update it through an approved method or migrate to a supported Entra authorization path, then conduct future rotation with controlled overlap.

D:

When a storage account exposes key1 and key2, and security claims this means both should be shared with all partners, the action 'Use dual keys for controlled credential rollover instead of unrestricted sharing' can be relevant: independent keys enable renewal without an immediate outage when clients are migrated carefully. For the different problem of a backup client stopped authenticating after the storage owner regenerated key1, 'Use dual keys for controlled credential rollover instead of unrestricted sharing' misses the mechanism that regenerated keys invalidate the old signature; DNS or resource group permissions are unrelated. Choosing 'Use dual keys for controlled credential rollover instead of unrestricted sharing' would address that other need, whereas 'Update the client to use a currently valid account key or approved Entra method' is intended to solve the stated condition.

Question 139

An automated job signs into Azure Storage using a Microsoft Entra service principal. It has storage-account Contributor but cannot read private blob payloads. Security policy forbids account keys and every form of SAS; network access is already allowed. Which narrow additional authorization is appropriate?

  1. Rotate the storage account keys and configure the job to use a new account-key connection string
  2. Grant Reader on the resource group, relying on ARM management reads for blob payloads
  3. Assign Storage Blob Data Reader to the service principal at the required blob container or account scope
  4. Issue a short-lived user delegation SAS to the job instead of a direct data-plane role
  5. Add a public firewall exception even though the approved network path is already working

Explanation

Correct Answer

C:

Storage Blob Data Reader includes the data-plane permission required to read private blob contents using Microsoft Entra authorization. The existing Contributor role concerns account/resource management and cannot be assumed to contain those blob data actions. The scenario explicitly prohibits keys and SAS, so issuing a delegation token is not an option. Assign the read-only blob data role at the least required container or account scope, then validate the resulting Entra-authenticated read from the already approved network.

Incorrect Answers

A:

Key rotation might be required for an account-key security incident, but the job has an explicit Entra authentication requirement and a prohibition on account keys. A new Shared Key credential would violate that constraint and would not teach why management Contributor is insufficient for private blob reads. Keep the existing identity and grant only the required Storage Blob DataActions at an appropriate account or container scope.

B:

Azure Reader and storage-account management Contributor permit relevant resource-management operations, but they do not automatically include private blob data-plane read permissions. The failure occurs after network admission and with successful Entra sign-in. Another ARM Reader assignment therefore does not supply the required Blob DataActions. A narrow data-plane role for the service principal is necessary instead of broader management visibility.

D:

A user delegation SAS can be a legitimate method for delegating Blob Storage access in other environments, but the stated security policy explicitly forbids all SAS tokens. Issuing one would create a bearer credential outside the mandated direct Entra RBAC authorization path. The proper repair is a scoped Storage Blob Data Reader assignment on the service principal, rather than making an otherwise technically supported SAS an unkeyed alternative.

E:

Storage network admission and blob data permission are independent checks. The question states that the service principal reaches the service successfully and receives a data-read authorization denial. Adding an IP exception cannot supply missing data-plane Blob DataActions. It may create new public network exposure without fixing identity permissions. Keep network restrictions intact and grant a scoped read role to the established service principal.

Question 140

A report-download service needs temporary access without distributing a long-lived account key. Which mechanism is preferable?

  1. Assign Storage Blob Data Reader indefinitely at the whole account scope to every external report recipient, whether or not the recipients have tenant identities.
  2. Identify SAS type and signing/policy association before choosing a revocation method
  3. Issue a short-lived, least-privilege user delegation SAS when supported
  4. Migrate incompatible clients to supported Entra authorization before enforcing Shared-Key denial

Explanation

Correct Answer

C:

User delegation shared access signatures are signed using a user delegation key obtained with Microsoft Entra authorization rather than distributing a long-lived storage account key. A reporting service can issue a short-lived, blob-specific URL with read permission and a defined expiry when the account, caller and supported scope meet the feature requirements. That mechanism fits an external report-download request where recipients should not receive broad continuous access. It is not equivalent to granting every recipient a permanent Blob Data Reader role on the whole account: that approach presumes appropriate identities and exposes unrelated objects. Validate the URL's target, signature, expiry and download behavior without reintroducing Shared Key distribution.

Incorrect Answers

A:

A permanent account-wide Blob Data Reader assignment both overgrants other report data and presupposes that every recipient can authenticate as a suitable Microsoft Entra principal. The request is for temporary download access without handing out a persistent account key. Where supported, a short-lived user delegation SAS can expose only the intended blob and read permission, with an explicit expiry and a trusted issuer. A broad ongoing RBAC grant does not meet the intended temporary sharing or least-privilege boundary, even though narrowly scoped OAuth access may suit other integration designs.

B:

When a leaked SAS needs revocation. It might be a service SAS using stored access policy, or an ad hoc user delegation SAS, the action 'Identify SAS type and signing/policy association before choosing a revocation method' can be relevant: changing a stored access policy affects associated service SAS but not every ad hoc or user delegation token. For the different problem of a report-download service needs temporary access without distributing a long-lived account key, 'Identify SAS type and signing/policy association before choosing a revocation method' misses the mechanism that entra-secured delegation limits token permissions and avoids handing out the storage account secret. Choosing 'Identify SAS type and signing/policy association before choosing a revocation method' would address that other need, whereas 'Issue a short-lived, least-privilege user delegation SAS when supported' is intended to solve the stated condition.

D:

The nearby action 'Migrate incompatible clients to supported Entra authorization before enforcing Shared-Key denial' is associated with this separate need: a storage owner disables Shared Key and some legacy clients using account-key signatures fail. That is because key-signed SAS or account-key requests may be affected; check exact service support and access method. Here a report-download service needs temporary access without distributing a long-lived account key, so 'Migrate incompatible clients to supported Entra authorization before enforcing Shared-Key denial' misses the fact that entra-secured delegation limits token permissions and avoids handing out the storage account secret. 'Issue a short-lived, least-privilege user delegation SAS when supported' is the more defensible action; confirm its behavior in the target service before calling the task complete.


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.