Notifications
Clear all
Topic starter
19/10/2022 9:47 pm
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 contoso data.
Which command should you run?
- A . https://contosodata.blob.core.windows.net/public
- B . azcopy sync D:\folder1 https://contosodata.blob.core.windows.net/public --snapshot
- C . azcopy copy D:\folder1 https://contosodata.blob.core.windows.net/public --recursive
- D . az storage blob copy start-batch D:\Folder1 https:// contosodata.blob.core.windows.net/public
Suggested Answer: C
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.
Reference:
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
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.
Reference:
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