
Answer-first summary for fast verification
Answer: azcopy copy with the specified local folder and container URL using the recursive flag
The correct command to copy the contents of the local folder D:\Folder1 to a public container in an Azure Storage account is 'azcopy copy with the specified local folder and container URL using the recursive flag'. The 'azcopy copy' command is specifically designed to copy directories and all their contents to a blob container in Azure Storage, making option C the correct answer.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Which command should be used to copy the contents of an on-premises folder D:\Folder1 to a public container in an Azure Storage account named 'contosodata'?
A
az storage blob copy start with the specified local folder and container URL
B
azcopy sync with the specified local folder and container URL including the snapshot flag
C
azcopy copy with the specified local folder and container URL using the recursive flag
D
az storage blob copy start-batch with the specified local folder and container URL
No comments yet.