Skip to main content
  1. Public practice questions
  2. AZ-104 Practice Exams | Azure Administrator Associate
  3. AZ-104 Practice Exam 10

Question 40 — AZ-104 Practice Exam 10

An in-house app relies on Windows file shares and must be moved to Azure with minimal code changes. Multiple VMs will read and write the same shared files, and admins want to keep using standard file share protocols. (Select one answer)

  1. Store files in Azure Blob Storage and access them only via HTTPS URLs from each VM

  2. Use Azure Files and mount the share over SMB or NFS to each VM, preserving the drive letter convention

  3. Attach a single Azure Managed Disk to multiple VMs for shared read/write

  4. Use Azure Queue Storage to synchronize file contents between VM local disks

Correct answers

  1. Use Azure Files and mount the share over SMB or NFS to each VM, preserving the drive letter convention

Explanations

Correct:
Use Azure Files and mount the share over SMB or NFS to each VM, preserving the drive letter convention – Azure Files provides fully managed shares accessible with SMB/NFS and supports lift-and-shift scenarios with minimal app changes.

Wrong:
Store files in Azure Blob Storage and access them only via HTTPS URLs from each VM – Blob is object storage; it isn’t a drop-in network file share for existing file-share-bound apps.
Attach a single Azure Managed Disk to multiple VMs for shared read/write – Managed disks are VM block storage and aren’t a managed file share for multi-writer scenarios described here.
Use Azure Queue Storage to synchronize file contents between VM local disks – Queues handle messages, not shared file semantics.