AZ-104 exam dumps

AZ-104 practice question 90 of 289

Microsoft Certified: Azure Administrator Associate. Associate level, Microsoft. Free question with the correct answer and a full explanation.

AZ-104 Question 90

Single answer

You are the Azure Administrator for Contoso. You need to move tens of thousands of backup files from an on-premises server to an Azure Blob storage container. The solution must preserve the folder structure, handle the large volume of data efficiently, and provide transfer logs for auditing. Which approach should you choose?

  1. A

    Use Azure Storage Explorer in GUI mode without generating any logs

  2. B

    Use AzCopy with the sync command, specifying recursive parameters and a log file path

  3. C

    Use AzCopy with the copy command and limit the upload to a single file at a time

  4. D

    Use a custom script that invokes Azure CLI, avoiding any log generation to reduce disk usage

Show answer and explanation

Correct answer: B

Explanation

AzCopy is a specialized command-line tool optimized for bulk data movement. Its sync command supports recursive uploads, preserving subfolders and file paths, while the --log-file parameter generates logs for auditing and troubleshooting, making this the most suitable option.

  • A. Incorrect.

    Azure Storage Explorer can upload files, but if you do not configure specific options, it won't preserve detailed logs automatically. It also may not be as efficient for a large volume of data compared to AzCopy.

  • B. Correct.

    The AzCopy sync command with a log file path and recursive parameters is designed for bulk transfers, preserves directory structures, and creates logs for auditing and troubleshooting.

  • C. Incorrect.

    Using AzCopy with the copy command but limiting transfers to a single file at a time is highly inefficient for tens of thousands of files and does not necessarily guarantee full directory structure preservation without recursive flags.

  • D. Incorrect.

    A custom script leveraging the Azure CLI without logs might simplify code, but it would not provide the required file-level auditing and tracking features.

Timed practice exam

Take a AZ-104 practice test under exam conditions

60 questions in 60 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam