Your app uploads photos and videos to blob storage in account Account1. Containers are Container1 and Container2. Video uploads are infrequent. When a new video is uploaded, you need to copy specific blobs from Container1 to Container2. What should you implement?
Choose an answer
Tap an option to check your answer.
Correct answer: Create an Event Grid topic that triggers the Start-AzureStorageBlobCopy cmdlet.
Why this is the answer
The correct solution is to create an Event Grid topic that triggers the Start-AzureStorageBlobCopy cmdlet. Azure Event Grid is a highly scalable, fully managed event routing service that allows you to react to events in your Azure services. When a new video is uploaded (an event), Event Grid can trigger an Azure Function or a Logic App that executes the Start-AzureStorageBlobCopy cmdlet. This cmdlet efficiently copies blobs within Azure storage without requiring data to be downloaded and re-uploaded, which is ideal for large video files. Using the Put Blob operation of the Blob Service REST API would require your application to manage the copy process, which is less efficient and scalable than an event-driven approach. AzCopy with the Snapshot switch creates a point-in-time snapshot of a blob, not a copy to a different container. Downloading and re-uploading the blob is inefficient, consumes more bandwidth, and increases latency, especially for large video files.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed