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)
Store files in Azure Blob Storage and access them only via HTTPS URLs from each VM
Use Azure Files and mount the share over SMB or NFS to each VM, preserving the drive letter convention
Attach a single Azure Managed Disk to multiple VMs for shared read/write
Use Azure Queue Storage to synchronize file contents between VM local disks
Correct answers
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.