Question
You have an on-premises server that contains a folder named D:\Folder1. You need to copy the contents of D:\Folder1 to the public container in an Azure Storage account named contosodata. Which command should you run?
Options
- Aaz storage blob copy start D:\Folder1 https://contosodata.blob.core.windows.net/public
- Bazcopy sync D:\folder1 https://contosodata.blob.core.windows.net/public -- snapshot
- Cazcopy copy D:\folder1 https://contosodata.blob.core.windows.net/public -- recursive
- Daz storage blob copy start-batch D:\Folder1 https://contosodata.blob.core.windows.net/public
How the community answered
(47 responses)- A13% (6)
- B9% (4)
- C77% (36)
- D2% (1)
Explanation
The azcopy copy command copies a directory (and all of the files in that directory) to a blob container. The result is a directory in the container by the same name. Incorrect Answers: B: The azcopy sync command replicates the source location to the destination location. However, the file is skipped if the last modified time in the destination is more recent. D: The az storage blob copy start-batch command copies multiple blobs to a blob container. https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-blobs https://docs.microsoft.com/en-us/azure/storage/common/storage-ref-azcopy-copy
Community Discussion
No community discussion yet for this question.
