exam questions

Exam AZ-200 All Questions

View all questions & answers for the AZ-200 exam

Exam AZ-200 topic 2 question 5 discussion

Actual exam question from Microsoft's AZ-200
Question #: 5
Topic #: 2
[All AZ-200 Questions]

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 in real time when specific requirements are met, excluding backup blob copies.
What should you do?

  • A. Run the Azure PowerShell command Start-AzureStorageBlobCopy.
  • B. Use AzCopy with the Snapshot switch to copy blobs to Container2.
  • C. Copy Blobs to Container2 by using the Put Blob operation of the Blob Service REST API.
  • D. Download the blob to a virtual machine and then upload the blob to Container2.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
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.
References:
https://docs.microsoft.com/en-us/powershell/module/azure.storage/start-azurestorageblobcopy?view=azurermps-6.13.0

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
vansen
4 years, 7 months ago
Is A really the correct answer? Execution of the command is manually triggered. The term "in real time when specific conditions are met" tells that it should rather be automated -> Answer "C"?
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...