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 28

Question 270

A regulated application requires Azure managed disks attached to virtual machines, with low-latency block storage and snapshots. A team proposes a storage account and manually mounted file shares as a substitute. Which Azure resource should be provisioned?

  1. A managed disk compatible with the target VM size and performance requirement
  2. A general-purpose v2 Blob container as the VM operating-system block device
  3. An Azure Files SMB share mounted over port 445 as the VM OS managed disk
  4. An Azure Storage account Access key without any disk resource

Explanation

Correct Answer

A:

Azure managed disks are the Azure block-storage resources attached to virtual machines as operating-system or data disks. Select a compatible performance tier, capacity, and resilience option and use managed disk snapshots for point-in-time recovery when needed. This fits the regulated application’s low-latency block I/O requirement; a network file share would present a different storage abstraction.

Incorrect Answers

B:

Blob containers store object data accessed through Blob APIs and SDKs. They do not present the managed block device that a VM operating-system disk requires, nor do they become a supported OS disk merely because the application runs on a VM. Use a managed disk attachment and snapshots rather than an arbitrary blob path.

C:

Azure Files SMB shares serve files over a network connection and can support shared-folder workloads, but they are not VM-attachable managed OS disks. An SMB share cannot replace the block-storage device used by the hypervisor for boot and low-level disk I/O. File sharing is useful separately from the VM’s managed-disk requirements.

D:

A storage account access key authorizes calls to supported storage services but does not provision any VM disk capacity, IOPS tier, or attachment. Possession of a key is a security credential, not a block device resource. The workload must create and attach a managed disk resource to obtain the requested storage behavior and snapshot support.

Question 271

A data engineering group requires POSIX-like directory organization and file-level analytics operations in an Azure Storage account, with Azure Data Lake Storage Gen2 semantics rather than flat blob naming. Which capability must be enabled when supported?

  1. A public DNS CNAME pointing at the storage account
  2. Hierarchical namespace on a compatible general-purpose v2 storage account
  3. Azure Files share-level SMB permissions on an ordinary flat blob container
  4. Enable Blob versioning so path-prefix components become real ADLS Gen2 directories

Explanation

Correct Answer

B:

Hierarchical namespace creates first-class directories and filesystem-like operations within a compatible Azure Storage account, enabling Azure Data Lake Storage Gen2 paths and ACL semantics. This matches the analytics team’s requirement for directory organization rather than flat blob-prefix naming. Select the feature deliberately, because some Blob features and workloads have different compatibility constraints with hierarchical namespace enabled.

Incorrect Answers

A:

A public DNS CNAME maps one hostname to another endpoint; it does not change how Azure Storage represents objects internally or handles filesystem permissions. Data Lake Gen2 directory semantics cannot be enabled by redirecting clients to the Blob service. The requested POSIX-like hierarchy is a storage account capability, not a DNS naming problem.

C:

Azure Files SMB share permissions govern access to file shares over the SMB protocol and Windows-oriented identity authorization. They do not alter a Blob container’s flat namespace or produce ADLS Gen2 filesystem paths for analytics frameworks. Choosing SMB permissions would address a different service and protocol, leaving the directory semantics request unmet.

D:

Blob versioning keeps historical versions when blobs change; it does not turn flat names or prefixes into hierarchical filesystem directories. ADLS Gen2 POSIX-like directory and ACL semantics require hierarchical namespace on a compatible account. Version history and filesystem namespace answer different requirements.

Question 272

A legacy application uploads blobs over HTTP and receives authorization failures after the organization enabled a storage security baseline. HTTPS requests using identical credentials succeed. Which account setting most directly explains this difference?

  1. Secure transfer required, which rejects unencrypted HTTP requests
  2. The number of storage account access keys decreased from two to one
  3. Blob versioning was enabled on the container
  4. Increase the storage account minimum TLS version while continuing to upload with plaintext HTTP

Explanation

Correct Answer

A:

Azure Storage Secure transfer required causes supported REST endpoints to reject unencrypted HTTP requests even when their keys or SAS tokens would otherwise authorize the operation. The HTTPS request succeeds because the same operation is protected in transit. This security baseline is explicitly a transport requirement, so the client must switch to HTTPS instead of changing data permissions.

Incorrect Answers

B:

Storage accounts commonly expose two account keys for rotation. Having one key available rather than two does not create an HTTP-only rejection pattern for identical authentication details. A key change would generally affect both HTTP and HTTPS signatures made with the old value. The scenario’s decisive difference is the transport protocol, not the number of key slots.

C:

Blob versioning records historical versions when objects are modified or deleted and can support recovery of prior data. It is not a request-transport filter. Enabling versioning does not explain why the exact same upload succeeds over HTTPS and fails over HTTP; the account’s secure-transfer policy addresses that contrast directly.

D:

Minimum TLS version controls negotiated TLS sessions; it cannot make a plaintext HTTP upload comply with secure transfer required. The app must use HTTPS because the account now refuses the unencrypted transport.

Question 273

A legacy client uses HTTPS but supports only TLS 1.1. The storage account requires TLS 1.2 or higher. The security team wants to understand why the client fails even though Secure transfer required is enabled. Which explanation is accurate?

  1. Check only Secure transfer required and assume every encrypted TLS version is accepted
  2. Enable a storage account public endpoint to bypass the minimum TLS configuration
  3. Only Azure Files supports minimum TLS policies
  4. HTTPS alone is insufficient; the connection must negotiate the configured minimum TLS protocol version

Explanation

Correct Answer

D:

HTTPS only tells us that TLS is attempted, not that the chosen TLS version meets the account policy. Azure Storage rejects requests using a version older than its configured minimum. The correct remediation is to update the client stack to negotiate TLS 1.2 or a supported newer version while preserving Secure transfer required.

Incorrect Answers

A:

Secure transfer required ensures the request uses an encrypted HTTPS transport on the applicable Storage service, but it does not eliminate a separate minimum TLS version policy. The application offers only TLS 1.1 while the account requires TLS 1.2 or later. Treating all encrypted connections as acceptable ignores the precise version check causing failure.

B:

A public endpoint changes how clients reach a storage service, not what TLS version the storage account accepts. Even if networking allowed the connection, the storage request using TLS 1.1 would still fail the minimum TLS policy. Exposing a public endpoint to work around this condition adds an unnecessary network surface without updating the outdated client.

C:

Minimum TLS version is configured at the storage account level and applies to supported Azure Storage service requests; it is not an Azure Files-exclusive configuration. The legacy HTTPS client is below the required TLS version regardless of the storage service in this question. Removing the assumption that only Files is affected directs troubleshooting to the actual client protocol.

Question 274

An ADLS Gen2 filesystem is configured to authorize a service identity using POSIX-like ACLs rather than a broad Storage Blob Data role. The identity has read permission on a nested file but no execute permission on its ancestor directory. Why can its path access still fail?

  1. Read permission on the file always bypasses all ancestor directory ACLs
  2. Grant Read on the ancestor directory but leave Execute denied
  3. Configure a default ACL on an ancestor after the existing file was created and assume it retroactively changes traversal rights
  4. Directory execute (traverse) permission is required along the file path for ACL-based access

Explanation

Correct Answer

D:

ADLS Gen2 checks execute permission on the root and each ancestor directory when access is governed through POSIX-like ACLs. Once the identity can traverse the path, the file’s read permission can authorize the requested data access. This pinpoints the missing permission as the ancestor directory execute bit, not a missing read bit on the file.

Incorrect Answers

A:

Under ACL-based Azure Data Lake Storage Gen2 authorization, a permission on the target file is not enough if the caller lacks execute permission on one of its ancestor directories. A nested path must be traversed before the file can be read. The option overlooks that path traversal is checked independently of the file’s read bit.

B:

Read on a directory helps list the names of entries when combined with suitable execute permission, but does not grant traversal on its own. A service identity without execute cannot resolve the route through that ancestor to the target file. Granting directory read alone therefore leaves the precise access-control failure described in the scenario.

C:

An ADLS Gen2 default ACL serves as a template for permissions on child objects created in the future; it does not overwrite the access ACLs on existing directories automatically. Setting a new default ACL after the nested file exists cannot repair the missing execute permission on the current ancestor path. Edit the appropriate access ACL instead.

Question 275

A team adds a default ACL granting analysts read access on /curated in a hierarchical-namespace storage account. Newly created files inherit the expected access, but older files in /curated remain inaccessible. What explains the difference?

  1. A directory default ACL supplies initial ACLs to future child objects; existing files need their own ACL changes or recursive update
  2. Default ACLs grant Azure RBAC Contributor automatically on all containers in the account
  3. The default ACL applies only to the storage account key and never to any file
  4. Default ACL inheritance requires that all older files be deleted and reuploaded before permissions can ever change

Explanation

Correct Answer

A:

Default ACL entries on an ADLS Gen2 directory determine the initial access ACL of children created afterward. Earlier files already have their own access ACLs, so they do not retroactively inherit a newly added default. Update existing items directly or use an authorized recursive ACL operation, and verify traversal permissions throughout the path.

Incorrect Answers

B:

Azure RBAC Contributor is a management-plane role assigned at Azure resource scopes; a directory default ACL is a different data-plane permission mechanism. Creating a default ACL neither assigns Azure RBAC to analysts nor overrides resource-management authorization. The new children’s behavior points to directory inheritance, not a role grant across the storage account.

C:

The storage account key is a credential granting data access through Shared Key authorization, whereas ADLS Gen2 default ACL entries specify the permissions assigned to newly created filesystem children. The fact that recently created files receive the analyst permissions contradicts the claim that the setting affects only the account key. Existing files require ACL updates of their own.

D:

Recreating all older files would cause needless data movement, reprocessing, and possible loss of metadata or retention context. ADLS Gen2 allows authorized administrators to update the access ACLs on existing files, including recursive operations over a directory tree. The failure is not an immutable storage limitation; it is that default ACLs are applied at child creation time.

Question 276

A single Blob Storage account serves two teams that need separate encryption-key management boundaries for their uploaded documents. They cannot split into separate storage accounts immediately. Which Blob feature helps select encryption treatment per dataset?

  1. Use two different blob access tiers as encryption identities
  2. Store each team's blobs in its own container and assume separate container names automatically select different customer-managed keys
  3. Record a different Key Vault key URI in each blob's metadata tags without creating or assigning encryption scopes
  4. Configure appropriate encryption scopes and require each dataset to use its designated scope

Explanation

Correct Answer

D:

Blob encryption scopes allow different key selections at container or individual-blob granularity while keeping data in one storage account. Configure the approved encryption scopes and have each team upload under its intended scope; container defaults can help enforce consistent use. This supplies the requested at-rest key-management separation without immediately creating another account.

Incorrect Answers

A:

Hot and Cool are Blob access tiers used to balance transaction, storage, and retrieval costs for different access patterns. They do not choose independently managed encryption keys for two teams sharing a storage account. Moving data between tiers would affect performance and billing rather than creating the cryptographic separation requested by the teams.

B:

Container separation can help access control, but distinct container names do not automatically select separate encryption keys. Blob encryption scopes are the explicit mechanism for per-dataset encryption treatment.

C:

Blob metadata does not change the key used by Azure Storage server-side encryption. The account must use supported encryption scopes and associate each dataset with the proper scope.

Question 277

An ADLS Gen2 directory /landing is authorized by POSIX-like access ACLs without a broad Blob data role. The named analysts group has rwx in the directory access ACL, and ancestor directories permit traversal. Analysts can list /landing but cannot create a file there. Its access ACL mask is r-x. Which targeted change fixes the missing create permission without granting a broad Azure role?

  1. Change the /landing directory access ACL mask to include write while retaining the analysts group rwx entry
  2. Give the analysts group more read permission but leave the access ACL mask set to r-x
  3. Set a parent directory default ACL to rwx but leave the existing /landing access ACL mask unchanged
  4. Assign Storage Blob Data Reader at the storage account and leave the /landing access ACL unchanged

Explanation

Correct Answer

A:

The analysts already have rwx on the named-group access ACL entry, but the directory mask r-x intersects with that entry and removes effective write permission. Creating a child requires write and execute on the parent directory. Updating the current /landing access mask to include write allows the intended operation without broadening Azure RBAC across the account.

Incorrect Answers

B:

The named group already has read, write and execute in its ACL entry, so additional read is not the missing entitlement. The access mask still removes effective write from that named-group entry. Keeping the mask at r-x continues to deny file creation even when the raw group entry appears permissive to an administrator inspecting it.

C:

A default ACL on the parent is an inheritance template for newly created children, not a retroactive change to an existing directory’s access ACL. The failure occurs when writing a new file into /landing, where the current access mask excludes write. Changing an ancestor default ACL without repairing that access mask leaves the create request denied.

D:

Storage Blob Data Reader provides Blob read access, not permission to create a new file in the ADLS Gen2 directory. It also avoids none of the scenario’s specific ACL-mask diagnosis and unnecessarily changes broader authorization scope. The narrow correction is to grant effective write on the existing directory through its access ACL mask, while keeping the normal group-based boundary.

Question 278

A provisioning pipeline must create storage accounts in many subscriptions using dynamically generated names. The operation fails for a name containing uppercase letters and underscores even though no account with that name exists. Which constraint should the generator enforce?

  1. Move the storage-account deployment from subscription scope into a resource group while retaining the invalid uppercase-and-underscore name
  2. Use the same invalid name in a different Azure region
  3. Generate compliant globally unique names using lowercase letters and digits within the supported length
  4. Enable a service endpoint for the pipeline subnet before retrying the invalid name

Explanation

Correct Answer

C:

Azure Storage account names must contain three to twenty-four lowercase letters or digits and be globally unique. The generator needs to normalize or replace illegal characters and check name availability before each deployment across subscriptions. This addresses both the immediate syntax failure and the additional collision risk that exists in the global namespace.

Incorrect Answers

A:

Changing the deployment scope does not relax the global Azure Storage account naming grammar: letters must be lowercase, the permitted characters are letters and digits, and the name must be unique. A resource-group deployment with the same malformed name still fails name validation; the generator must produce compliant names.

B:

Storage account names contribute to globally unique DNS endpoints and are subject to the same character restrictions in every Azure region. Changing the deployment region cannot legalize an uppercase letter or underscore. Even an otherwise unused name fails before placement because the service validates naming syntax independently of regional capacity.

D:

A virtual-network service endpoint controls which subnets can reach supported Azure service endpoints under configured network rules. It does not modify the storage account naming schema applied during resource creation. Adding the endpoint would leave the uppercase characters and underscore invalid, and it adds networking work unrelated to the provisioning error.

Question 279

An application wants to host an HTTP static site directly from supported Azure Blob Storage, rather than provision a VM or App Service plan. Which storage feature should be configured for this workload?

  1. Create an Azure Files SMB share and expect it to execute server-side web handlers
  2. Create a service SAS for one blob and assume that automatically creates a static-site endpoint
  3. Enable hierarchical namespace and assume it is the same as static website hosting
  4. Enable Azure Storage static website hosting and publish files through its designated web container

Explanation

Correct Answer

D:

Enable Static website on a compatible Azure Storage account, specify the index/error documents, and upload static HTML, CSS, JavaScript, and assets to the automatically created $web container. The dedicated web endpoint serves these files directly without provisioning a VM or App Service plan. It does not execute dynamic server-side code or provide built-in user authentication.

Incorrect Answers

A:

Azure Files SMB exposes a file share to compatible network clients but does not configure the Blob static-website endpoint that an HTTP browser needs. It also does not execute server-side application logic merely because files are stored on it. The scenario asks for static HTTP hosting without servers, so an SMB share addresses the wrong service and protocol.

B:

A service SAS delegates bounded access to a specified Blob or container, but it does not turn on static website hosting or create the special web endpoint. A signed Blob URL can expose data for an authorized request, whereas the website feature publishes index documents from a separate $web container. Authentication URLs and website configuration are different mechanisms.

C:

Hierarchical namespace helps Data Lake Gen2 analytics treat blob paths as directories. It is not the switch that enables storage static website publishing, and some HNS combinations have specific feature-support constraints. Simply turning on hierarchy does not create the $web container, configure an index document, or serve a browser-facing static site.

Question 280

A partner downloads a PDF blob through a read-only Azure Blob service SAS. The download works, but its default filename is an internal object name. For this signed link only, the administrator wants the response to suggest the filename invoice-oct.pdf without changing stored Blob properties or affecting other links. Which SAS parameter should be included when creating and signing this URL?

  1. Include rscd with a Content-Disposition attachment filename value in the service SAS signature
  2. Set spr=https in the SAS to force the browser to use the desired download filename
  3. Replace the read permission in sp with write permission so the browser renames the download
  4. Set rsct=application/pdf as the only response override and expect it to specify the download filename

Explanation

Correct Answer

A:

A service SAS can include a response-header override: rscd sets the Content-Disposition header returned for requests that use this particular signed URL. Include the desired attachment filename value when building the SAS and its signature, preserving read permission and the Blob’s stored metadata. Other links that do not carry the override retain their usual response headers.

Incorrect Answers

B:

The spr parameter restricts which transport protocols may be used with the SAS, such as HTTPS-only access. It protects how a download request reaches the service, not what filename the browser receives in Content-Disposition. The partner already downloads successfully; changing transport policy cannot supply the requested response header or override the filename.

C:

The sp field limits which operations the SAS authorizes, including reading or writing the Blob. Granting write permission would widen the partner’s authority and would not instruct a browser to rename a downloaded file. Changing this signed field without producing a valid new signature would also invalidate the URL. Keep read permission and adjust the signed response header instead.

D:

The rsct response override controls the Content-Type header, which tells clients the MIME type of returned data, such as application/pdf. MIME type can affect handling, but it does not set the attachment filename. The scenario asks for Content-Disposition on this signed link, so rscd must be included and signed rather than relying on rsct alone.

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.