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 questionsDomain Develop for Azure storage
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.
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.
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.
Keep practicing
Take the free AZ-204 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other AZ-204 practice questions
- Question 3Note: This question is part of a series of questions that present the same scenario. Each…
- Question 7Note: This question is part of a series of questions that present the same scenario. Each…
- Question 8You are developing several microservices to run on Azure Container Apps. External HTTP in…
- Question 10You develop and deploy an Azure App Service web app named App1. You create a new Azure Ke…
- Question 14You are developing an ASP.NET Core Web API web service. The web service uses Azure Applic…
- Question 17Note: This question is part of a series of questions that present the same scenario. Each…
