AZ-104 · Question #255
AZ-104 Question #255: Real Exam Question with Answer & Explanation
To create a new blob container using AzCopy, you must use the 'make' command and specify the 'blob' storage service endpoint.
Question
Hotspot Question You have an Azure subscription that contains an Azure Storage account. You plan to copy an on-premises virtual machine image to a container named vmimages. You need to create the container for the planned image. Which command should you run? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Answer:
Options
- __typehotspot
- variantdropdown
Explanation
To create a new blob container using AzCopy, you must use the 'make' command and specify the 'blob' storage service endpoint.
Approach. From the first dropdown, select 'make'. The azcopy v10 'make' command is explicitly used to create a new container or file share in an Azure Storage account. From the second dropdown, select 'blob'. Azure Storage containers are a feature of Azure Blob Storage, so the correct Fully Qualified Domain Name (FQDN) for the endpoint must include the 'blob' service subdomain (e.g., https://mystorageaccount.blob.core.windows.net/vmimages).
Common mistakes.
- common_mistake. Selecting 'copy' or 'sync' in the first dropdown is incorrect because the scenario specifically asks how to create the container, not how to transfer the data into it. For the second dropdown, selecting 'file', 'dfs', or 'images' is incorrect; containers exist in Blob storage (using the 'blob' endpoint), whereas 'file' is for Azure Files, 'dfs' is for Data Lake Storage Gen2, and 'images' is not a valid storage service endpoint.
Concept tested. AzCopy v10 resource creation syntax and Azure Storage service endpoints.
Reference. https://learn.microsoft.com/en-us/azure/storage/common/storage-ref-azcopy-make
Topics
Community Discussion
No community discussion yet for this question.