ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 104 - AZ-204 discussion

Report
Export

You develop an app that allows users to upload photos and videos to Azure storage. The app uses a storage REST API call to upload the media to a blob storage account named Account1. You have blob storage containers named

Container1 and Container2.

Uploading of videos occurs on an irregular basis.

You need to copy specific blobs from Container1 to Container2 when a new video is uploaded.

What should you do?

A.
Copy blobs to Container2 by using the Put Blob operation of the Blob Service REST API
Answers
A.
Copy blobs to Container2 by using the Put Blob operation of the Blob Service REST API
B.
Create an Event Grid topic that uses the Start-AzureStorageBlobCopy cmdlet
Answers
B.
Create an Event Grid topic that uses the Start-AzureStorageBlobCopy cmdlet
C.
Use AzCopy with the Snapshot switch to copy blobs to Container2
Answers
C.
Use AzCopy with the Snapshot switch to copy blobs to Container2
D.
Download the blob to a virtual machine and then upload the blob to Container2
Answers
D.
Download the blob to a virtual machine and then upload the blob to Container2
Suggested answer: B

Explanation:

The Start-AzureStorageBlobCopy cmdlet starts to copy a blob.

Example 1: Copy a named blob

C:\PS>Start-AzureStorageBlobCopy -SrcBlob "ContosoPlanning2015" -DestContainer "ContosoArchives" -SrcContainer "ContosoUploads"

This command starts the copy operation of the blob named ContosoPlanning2015 from the container named ContosoUploads to the container named ContosoArchives.

Reference:

https://docs.microsoft.com/en-us/powershell/module/azure.storage/start-azurestorageblobcopy?view=azurermps-6.13.0

asked 02/10/2024
Charles Hagan
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first