AZ-204 practice question 22 of 35

You have an existing Azure storage account that stores large volumes of data across multiple containers. You need to copy all data from the existing storage account to a new storage account. The copy process must meet the following requirements: Automate data movement. Minimize user input required to perform the operation. Ensure that the data movement process is recoverable. What should you use?

Full set: 489 questions

Domain Develop for Azure storage

Answer options
A: AzCopy Correct answer
B: Azure Storage Explorer
C: Azure portal
D: .NET Storage Client Library
Correct Answer:
A. AzCopy
Explanation

AzCopy is a command-line utility designed for high-performance, scriptable data transfers to or from Azure Storage. It directly meets all the specified requirements. It can be easily automated via scripts (e.g., PowerShell, Bash), minimizing user input to a single command execution. Crucially, AzCopy provides built-in recoverability; if a transfer job is interrupted, it can be resumed from the point of failure by using its job and log files, which is essential for moving large volumes of data reliably.

Why Incorrect

B. Azure Storage Explorer: This is a GUI-based tool for interactive management. It cannot be automated and requires significant manual user input, violating key requirements.
C. Azure portal: The Azure portal is a web-based interface for managing resources. It lacks capabilities for automating large-scale, recoverable data copy operations between accounts.
D. .NET Storage Client Library: While you could write a custom application to automate the transfer, implementing a robust, recoverable process would require significant development effort to track progress and handle failures, which AzCopy provides out-of-the-box.

References

1. Microsoft Docs, "Get started with AzCopy": "You can automate AzCopy by using scripts... If a copy job fails or is paused, AzCopy can resume the job from the point of failure. AzCopy creates job order and related log files for every job. You can use the files to investigate and restart a failed job."

2. Microsoft Docs, "Choose an Azure solution for data transfer": In the comparison table under "Common data transfer scenarios and tools," AzCopy is recommended for "Scriptable data transfers" and is noted as being "Resumable and recoverable." In contrast, Storage Explorer is listed for "Interactive data transfers."

3. Microsoft Docs, "Transfer data with AzCopy and blob storage": This document provides examples of the azcopy copy command with the --recursive=true parameter, which is used to copy all blobs from a source account to a destination, demonstrating its suitability for automating the entire process with minimal input. For example: azcopy copy 'https://.blob.core.windows.net/' 'https://.blob.core.windows.net/' --recursive.

Scroll to Top