exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 4 question 22 discussion

Actual exam question from Microsoft's AZ-204
Question #: 22
Topic #: 4
[All AZ-204 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 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
  • B. Create an Event Grid topic that uses the Start-AzureStorageBlobCopy cmdlet
  • 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
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
AnonymousJhb
Highly Voted 4 years, 5 months ago
B looks correct. Common Blob storage event scenarios include image or video processing, search indexing, or any file-oriented workflow. Asynchronous file uploads are a great fit for events. When changes are infrequent, but your scenario requires immediate responsiveness, event-based architecture can be especially efficient. https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-event-overview
upvoted 37 times
Esward
2 years, 3 months ago
I agree with you! B is correct answer
upvoted 2 times
...
...
mlantonis
Highly Voted 3 years, 11 months ago
Correct Answer: B The Start-AzureStorageBlobCopy cmdlet starts to copy a blob. Reference: https://docs.microsoft.com/en-us/powershell/module/azure.storage/start-azurestorageblobcopy?view=azurermps-6.13.0 https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-event-overview
upvoted 16 times
...
Vichu_1607
Most Recent 7 months ago
Selected Answer: B
The correct answer is B. Create an Event Grid topic that uses the Start-AzureStorageBlobCopy cmdlet. Azure Event Grid can react to relevant events across both Azure and non-Azure services in near-real time fashion. You can create an Event Grid subscription on the blob storage account (Account1) to trigger a function when a new blob (video) is uploaded. This function can use the Start-AzureStorageBlobCopy cmdlet to start an asynchronous copy of the blob from Container1 to Container2. Option A, using the Put Blob operation, would require downloading and re-uploading the blob, which is not efficient for large blobs like videos. Option C, using AzCopy with the Snapshot switch, would create a read-only snapshot of the blob, not a writable copy. Option D, downloading the blob to a virtual machine and then uploading it to Container2, would also be inefficient for large blobs and would require unnecessary compute resources.
upvoted 1 times
...
[Removed]
2 years, 1 month ago
Got this in exam today (5 April 2023)
upvoted 5 times
...
Saluk_DE
2 years, 1 month ago
Selected Answer: B
Question was on exam 2023-03-30
upvoted 1 times
...
NombreFalso
2 years, 2 months ago
Selected Answer: B
Only B is automated, since this happens on an irregular basis it needs to be automated
upvoted 3 times
...
OPT_001122
2 years, 5 months ago
Selected Answer: B
B. Create an Event Grid topic that uses the Start-AzureStorageBlobCopy cmdlet
upvoted 1 times
...
coffecold
2 years, 7 months ago
Selected Answer: B
I think the handler then should be a powershell function ?
upvoted 2 times
...
gmishra88
2 years, 7 months ago
I do get it is the correct answer but the option looked very weird when I first read it: "B. Create an Event Grid topic that uses the Start-AzureStorageBlobCopy cmdlet". Probably Microsoft guy wanted that effect. I would have said event-grid topic with an Start-AzureStorageBlobCopy event handler. Microsoft wins again.
upvoted 6 times
...
Eltooth
2 years, 10 months ago
Selected Answer: B
B is the correct answer.
upvoted 3 times
...
arindam1989
3 years ago
Selected Answer: B
The automation of the process comes into play. Answer should be (B)
upvoted 1 times
...
AZ204Cert
3 years, 1 month ago
Got this on 04/05/22 (selected B)
upvoted 2 times
...
Mev4953
3 years, 3 months ago
Selected Answer: B
Correct Answer B
upvoted 2 times
...
ehurfheiz
3 years, 4 months ago
Selected Answer: B
B looks correct
upvoted 1 times
...
hems4all
3 years, 11 months ago
The Start-AzureStorageBlobCopy cmdlet starts to copy a blob https://docs.microsoft.com/en-us/powershell/module/azure.storage/start-azurestorageblobcopy?view=azurermps-6.13.0 The Put Blob operation creates a new block, page, or append blob, or updates the content of an existing block blob. So in the given options, only Start-AzureStorageBlobCopy cmdlet copies the blob
upvoted 3 times
...
glam
3 years, 12 months ago
B. Create an Event Grid topic that uses the Start-AzureStorageBlobCopy cmdlet
upvoted 4 times
...
faizalzain
4 years ago
the answer is C in udemy
upvoted 3 times
AOE
3 years, 8 months ago
You dont have snapshots in the question so C is definitely wrong.
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago