AZ-104 Question 88
Single answerYou are an Azure Administrator at a company that has large video files stored on-premises. You need to upload these files to a container named 'videos' in an Azure Storage account while preserving the existing on-premises folder structure. You also must track real-time progress to ensure compliance with audit requirements. Which method should you use?
- A
Upload files using the Azure portal's manual upload feature
- B
Use Azure Storage Explorer to drag and drop the folders into the 'videos' container
- C
Use the AzCopy command-line tool with the recursive option to upload the entire folder structure
- D
Use Azure PowerShell with individual Set-AzStorageBlobContent commands for each file
Show answer and explanation
Correct answer: C
Explanation
AzCopy is purpose-built for large-scale data transfers in Azure Storage and can preserve file structure while offering progress reporting, making it the most efficient and compliant option for this scenario.
- A. Incorrect.
Effective for smaller uploads but does not provide continuous progress feedback and can be cumbersome with large folder structures.
- B. Incorrect.
Azure Storage Explorer can upload multiple files, but it typically requires more manual steps for deeply nested folders and doesn't offer the same robust progress tracking as AzCopy.
- C. Correct.
AzCopy allows you to recursively transfer directories and provides real-time transfer progress, making it ideal for large-scale, structured uploads.
- D. Incorrect.
Azure PowerShell works for uploading blobs but requires manual scripting for each file and offers minimal real-time progress visibility.