ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 150 - AZ-104 discussion

Report
Export

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
Answers
A.
https://contosodata.blob.core.windows.net/public
B.
azcopy sync D:\folder1 https://contosodata.blob.core.windows.net/public --snapshot
Answers
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
Answers
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
Answers
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.

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.

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

asked 26/09/2024
Husein M
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first