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 35

Question 340

A browser-based operations dashboard hosted at `https://ops.contoso.example` uploads files directly to a general-purpose v2 Azure Blob Storage account using valid delegated authorization. The same uploads succeed from a server-side client on the same network, but the browser blocks the request after an OPTIONS preflight returns HTTP 403. Firewall connectivity and the SAS permissions are already verified. What should the storage administrator configure?

  1. Add a Blob service CORS rule permitting the dashboard origin, required PUT method, and request headers for the browser preflight
  2. Configure an equivalent CORS rule only on the Queue service, because queue rules automatically authorize all services within one storage account
  3. Increase the upload identity’s Azure Storage data role to Storage Blob Data Owner, since CORS preflight 403 proves insufficient Blob RBAC permission
  4. Enable public anonymous container access so the browser skips its cross-origin check while continuing to send the same authenticated PUT request

Explanation

Correct Answer

A:

For direct browser requests crossing origins, the Blob service evaluates an OPTIONS preflight containing Origin, requested method, and requested headers against its configured CORS rules. Because authorized server-side uploads succeed and the failure occurs at preflight, add a Blob CORS rule explicitly allowing https://ops.contoso.example, the PUT method, and the actual request headers. CORS permits browser interaction but does not replace SAS, Microsoft Entra authorization, or storage-network access controls.

Incorrect Answers

B:

Azure Storage maintains CORS rules independently for Blob, File, Queue, and Table services. The browser is sending an upload to the Blob endpoint, whose Blob service CORS configuration evaluates its preflight. A rule added only to the Queue service does not apply to a Blob OPTIONS request, even though both services share a storage account. Configure the actual target service instead.

C:

Storage Blob Data Owner grants additional blob data and access-control capabilities but does not configure the origin and allowed HTTP headers returned during a browser preflight. A CORS preflight is evaluated by the service against its CORS policy before the browser sends the authenticated operation. Since the same credentials already upload from a server client, broadening RBAC would increase privilege without addressing the documented preflight failure.

D:

Anonymous public access is unrelated to CORS browser policy and would expand data disclosure if enabled. A browser still applies the cross-origin rules to an authenticated PUT, and a storage service must respond to allowed preflight origins, verbs and headers. The scenario explicitly confirms authorization and network reachability; the missing control is Blob service CORS, not removal of access restrictions.

Question 341

A web application stores employee tax documents in an Azure Blob container. A tester knows the direct blob URL but is not authenticated. The privacy requirement is that URL knowledge alone never grants download access. Which setting should be confirmed?

  1. Set the container public access level to Blob
  2. Switch each document to the Hot access tier
  3. Add an Azure resource tag named Private
  4. Disable anonymous public access to the container and require authorized requests

Explanation

Correct Answer

D:

A private container does not permit anonymous read access simply because the blob URL is known. Clients must present valid authorization such as Entra/RBAC or a scoped SAS.

Incorrect Answers

A:

Blob public access allows anonymous clients to retrieve known blob URLs. That is directly contrary to the confidentiality requirement.

B:

Hot controls storage/retrieval pricing, not whether anonymous HTTP access is allowed. Sensitive documents would remain exposed if public access stays enabled.

C:

Tags are metadata and do not directly enforce blob anonymous access. A security setting on container/account access is required.

Question 342

An engineer can see a storage account in the Azure portal but receives authorization failure when uploading a file to a private blob container. The engineer has subscription Reader but no storage data roles. Which additional permission most directly enables the required upload?

  1. Assign Storage Blob Data Contributor at a scope including the target container
  2. Assign another subscription Reader role on the same principal
  3. Grant Storage Blob Data Reader to the engineer and assume it grants upload permissions to the private container
  4. Assign Storage Blob Data Contributor to a different principal than the engineer and expect the engineer’s current identity to inherit it automatically

Explanation

Correct Answer

A:

Blob upload requires a data-plane write permission. Storage Blob Data Contributor grants the relevant blob read/write operations at its assigned scope, unlike subscription Reader.

Incorrect Answers

B:

Additional identical Reader assignments do not add blob data-plane write actions. The upload would remain unauthorized.

C:

Storage Blob Data Reader allows reading content but not creating or modifying blobs. Uploading requires a suitable write-capable blob data role at a scope covering the container.

D:

Azure RBAC evaluates the authenticated caller and applicable group memberships. Giving a data role to an unrelated principal does not authorize this engineer; assign it to the correct principal and scope.

Question 343

An Azure Blob container is marked public for blob-level reads, but anonymous HTTP GET requests still fail. The storage account has Allow blob anonymous access set to Disabled. What must the administrator recognize?

  1. Keep account anonymous access disabled but set the container ACL to Container
  2. Create a user delegation SAS and call the request anonymous
  3. Create a named stored access policy granting Read and assume unauthenticated requests automatically inherit that policy without a SAS token
  4. The account-level anonymous-access restriction overrides the container’s public setting

Explanation

Correct Answer

D:

The storage account configuration can prohibit all anonymous Blob access even when a container-level property suggests public access. The account restriction must be evaluated before relying on container settings.

Incorrect Answers

A:

A container-level public ACL cannot override the account-wide disallow setting; anonymous reads will still be blocked.

B:

A SAS-authorized request includes an access credential; it is not evidence that anonymous public reads are enabled at account level.

C:

Stored access policies establish authorization constraints for signed access; they do not authenticate anonymous HTTP GET requests by themselves. With account-wide anonymous access disabled, requests must supply appropriate authorized credentials or a valid SAS.

Question 344

A regulated system stores signed legal evidence in block blobs. Investigators must read the documents for seven years but no administrator should be able to overwrite or delete objects during the retention interval. Which storage control specifically addresses this?

  1. Apply an Azure Resource Manager ReadOnly lock to the storage account only
  2. Apply an appropriate time-based immutable storage retention policy to the evidence objects
  3. Configure seven days of blob soft delete and rely on recovery after any deletion instead of preventing deletion for seven years
  4. Assign only Storage Blob Data Reader to investigators and assume this removes every administrator’s management ability to delete protected versions

Explanation

Correct Answer

B:

A WORM retention policy protects blob content from overwrite and deletion for its retention term, including against ordinary privileged users. It should be tested and governed carefully before locking.

Incorrect Answers

A:

A management lock restricts ARM operations but does not provide a WORM legal evidence guarantee against authenticated blob data-plane overwrite or deletion.

C:

Soft delete retains recoverability for a limited configured period, but it does not prevent deletion or modification during a mandatory seven-year WORM interval. Time-based immutable retention is the required control.

D:

Least-privilege investigators can reduce accidental writes but cannot impose non-bypassable retention on all privileged identities. Use a supported immutable storage policy for the protected evidence.

Question 345

A legal discovery case requires all versions of a blob to remain protected from overwrites or deletion until an active litigation hold is explicitly lifted. There is no known end date. Which Blob Storage immutability control fits?

  1. Use a time-based immutable retention policy with a fixed two-year expiration even though the litigation end date is unknown
  2. Enable blob versioning and assume older versions cannot be deleted by authorized users while no immutability policy is active
  3. Place a legal hold on the appropriate protected blob data
  4. Set a two-day blob soft delete period

Explanation

Correct Answer

C:

A legal hold is indefinite until explicitly cleared by an authorized operation and prevents modifications/deletions while active. It differs from a fixed expiration date under time-based retention.

Incorrect Answers

A:

A time-based WORM policy expires after its configured interval, while the requirement demands retention until the hold is explicitly lifted at an unknown future time. An appropriate legal hold tracks that open-ended legal requirement.

B:

Versioning retains historical revisions but does not itself prevent privileged deletion or overwrite of eligible versions. For open-ended litigation protection, apply an immutability legal hold to the protected data.

D:

Soft delete is a limited recovery window and does not prevent authorized users from first deleting or overwriting evidence.

Question 346

An ingestion pipeline writes one shared Azure block blob as a coordination flag. Two workers must not modify it simultaneously, and the application can handle lease failures. Which Blob Storage concurrency primitive should the engineer examine?

  1. Use only a previously read ETag with an If-Match write condition, assuming it reserves the blob for a multistep exclusive operation.
  2. Enable blob versioning, assuming each preserved version prevents competing writers from modifying the active blob.
  3. Give each worker Storage Blob Data Contributor and use the data role as an implicit exclusive write lock.
  4. Acquire an exclusive blob lease before modifications that require single-writer coordination

Explanation

Correct Answer

D:

A blob lease establishes exclusive write/delete control for the duration of its active lease, provided clients honor the required lease ID. This supports coordinated access separate from RBAC.

Incorrect Answers

A:

If-Match can detect an intervening change at the conditional request, but an ETag is not an exclusive reservation: another worker can update the blob while this worker performs separate steps. The scenario requires a storage-enforced single-writer lease and can handle lease acquisition failures.

B:

Blob versioning preserves earlier versions after successful writes, but does not serialize or exclude simultaneous writers to the current blob. It can aid recovery from overwrites but cannot supply the requested exclusive coordination primitive.

C:

A data role grants authorization to update blob content; it does not elect one current writer or make competing authorized clients wait. The workers need a lease for exclusive write coordination, separately from their data-plane permissions.

Question 347

A data-governance team stores a `classification` property as ordinary user-defined metadata on blobs distributed across several containers. They now need to find every blob with classification equal to `restricted` using a native Blob Storage account-wide predicate, without fetching and scanning every blob’s metadata. What change enables that query capability?

  1. Add the classification value as a Blob index tag on each applicable blob and query it with Find Blobs by Tags
  2. Keep only custom blob metadata and call Find Blobs by Tags, which automatically indexes all metadata key-value pairs
  3. Move classification into the blobs’ HTTP Content-Type property and perform a native classification-equality query across the account
  4. Enable the periodic Blob Inventory report and treat each generated inventory file as an immediately indexed interactive search endpoint

Explanation

Correct Answer

A:

Azure Blob index tags are a native indexed key-value subresource separate from ordinary blob metadata. By adding a classification tag to each applicable blob, the team can use Find Blobs by Tags with a tag predicate to search the storage account without downloading objects or enumerating every metadata record. Tag-specific authorization and indexing costs are relevant operating constraints; ordinary metadata alone is not automatically available to this native search operation.

Incorrect Answers

B:

Custom metadata can be stored and retrieved with blobs, but Azure Blob Storage does not natively index that metadata for Find Blobs by Tags. Keeping classification solely as metadata means clients would need to enumerate or use another external search/index solution. To use the specifically requested storage-native query API, the classification value must be present as an indexed blob tag, not just a metadata header.

C:

Content-Type describes a blob’s MIME media type and influences client handling; it is not a general-purpose indexed classification field. Replacing application/octet-stream or application/pdf with a governance label could mislead download clients and still would not create searchable Blob index tags. Use a dedicated classification index tag for predicate matching while retaining accurate content-type information for applications.

D:

Blob Inventory can emit scheduled object listings and properties to report files, which can support offline audit and analysis. It does not make its generated report an immediate, account-wide interactive predicate engine for custom metadata. The requested Find Blobs by Tags behavior requires indexed blob tags and the corresponding storage API, not a batch inventory export and subsequent file scanning.

Question 348

A storage analyst can create and modify files through a suitable data role but is not authorized to reassign ownership and manage path ACLs across the container. A data governance administrator must delegate ACL administration without granting Azure subscription Owner. Which data role is relevant?

  1. Assign Storage Blob Data Contributor at the container scope and assume write access includes changing all other users' path ACLs
  2. Assign Storage Blob Data Reader at the container scope and assume seeing ACL metadata also grants ACL edit privileges
  3. Disable hierarchical namespace so ACLs are no longer needed
  4. Consider Storage Blob Data Owner scoped appropriately for managing ACLs

Explanation

Correct Answer

D:

Data Owner supplies additional data-plane privileges for ownership and POSIX-style ACL administration in compatible ADLS Gen2 contexts. Its assignment should remain restricted to the required data scope.

Incorrect Answers

A:

Storage Blob Data Contributor can create and modify blob data, but does not grant the ownership and ACL-management data actions required for delegated ADLS Gen2 path governance. Storage Blob Data Owner at the appropriately narrow data scope supplies those additional permissions.

B:

Storage Blob Data Reader provides blob-data read capabilities, not data ownership or the ACL write actions required to manage ADLS Gen2 path permissions. Inspecting permissions and modifying them are distinct data operations; scope Storage Blob Data Owner to the governed container instead.

C:

Removing the data-lake namespace model would break application assumptions; it is not a controlled administrative delegation.

Question 349

A compliance archive uses blob version-level immutable retention. A new upload creates a new version of an object whose older version is under active retention. The application wants to remove the protected historical version before its required date. What protection should take precedence?

  1. Disable account-level blob versioning and assume protected versions immediately lose their immutability retention
  2. Keep the protected historical version until its immutable retention condition is satisfied
  3. Delete the entire container so retention no longer applies to version objects
  4. Grant the application Storage Blob Data Owner and let it force-delete the version

Explanation

Correct Answer

B:

Version-level WORM retention protects a specific version from deletion or modification for the required period. Creating a newer current version does not cancel the retention on the earlier protected one.

Incorrect Answers

A:

Turning off versioning for future writes does not cancel a retention policy already protecting an older blob version. Its immutable period or legal protection still governs deletion.

C:

Immutable storage policies are designed to prevent such premature removal. Container-level operations cannot be used to bypass active legal retention of protected data.

D:

Data Owner provides broad data permissions but does not override immutable retention conditions. A valid role cannot authorize an operation forbidden by the service's WORM policy.

Question 350

Archived compliance files are rarely requested. A user now needs to open one archive-tier blob for analysis using normal blob read operations. The application gets an unavailable-tier response. What must happen before the contents are readable?

  1. Increase throughput units on the storage account before reading the archived blob
  2. Change the blob access tier property to Hot and assume data is immediately readable
  3. Rehydrate the archived blob to an online access tier
  4. Turn on container anonymous public access

Explanation

Correct Answer

C:

Archive-tier content is offline. Rehydrating it into hot, cool, or cold storage makes normal reads possible after the operation completes; retrieval time and pricing should be considered.

Incorrect Answers

A:

The blob is unavailable because its Archive tier is offline, not because throughput is exhausted. Additional capacity does not complete the required rehydration operation.

B:

Requesting an online tier initiates rehydration, which can take time. The application cannot assume the content is available until the rehydration operation finishes.

D:

Anonymous access is an authorization setting and creates security exposure. Even an authorized caller cannot directly read an offline blob before rehydration.

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.