exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 2 question 4 discussion

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

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You develop a software as a service (SaaS) offering to manage photographs. Users upload photos to a web service which then stores the photos in Azure
Storage Blob storage. The storage account type is General-purpose V2.
When photos are uploaded, they must be processed to produce and save a mobile-friendly version of the image. The process to produce a mobile-friendly version of the image must start in less than one minute.
You need to design the process that starts the photo processing.
Solution: Trigger the photo processing from Blob storage events.
Does the solution meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
YahyaSonmez
Highly Voted 4 years, 6 months ago
Hi All, The answer (B) is correct. Because, the trick is in the "less than one minute" detail. You can read about "..10-minute delay in processing new blobs.." in "3-Minimizing latency" description. Microsoft says: ".....Use Event Grid instead of the Blob storage trigger for the following scenarios:" 1-Blob-only storage accounts: Blob-only storage accounts are supported for blob input and output bindings but not for blob triggers. 2-High-scale: High scale can be loosely defined as containers that have more than 100,000 blobs in them or storage accounts that have more than 100 blob updates per second. 3-Minimizing latency: If your function app is on the Consumption plan, there can be up to a ##10-minute delay in processing new blobs## if a function app has gone idle. To avoid this latency, you can switch to an App Service plan with Always On enabled. You can also use an Event Grid trigger with your Blob storage account. For an example, see the Event Grid tutorial. REFENCE: https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-blob-trigger?tabs=csharp#event-grid-trigger I wish you a good day.
upvoted 168 times
Zidimirite
4 years ago
You are right, since this is a MS exam they always want to show off the variations that you can do with their platform and them specifying v2 is definitely a tell... But to get around the latency you could also turn on "Always on", which looking at that alone you could say A is right. This is not a great question.
upvoted 5 times
...
Juanlu
4 years, 6 months ago
Totally agree, YahyaSonmez !
upvoted 1 times
...
krz1
3 years, 11 months ago
But "Blob storage events are pushed using Azure Event Grid to subscribers such as Azure Functions,"
upvoted 3 times
...
Bartimaeus
3 years, 2 months ago
I believe your understanding is incorrect - the answer says: "Trigger the photo processing from Blob storage events." Therefore there's no mention about actually using "Blob storage trigger". Also, in the description of the trigger there's this note: "Polling works as a hybrid between inspecting logs and running periodic container scans." So the trigger actually uses the blob analytics logs, not blob storage events. It's in fact Event Grid that uses the blob storage events. Reference: https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-blob-trigger?tabs=csharp#polling
upvoted 3 times
...
...
[Removed]
Highly Voted 4 years, 10 months ago
Answer is not at all clear from the explanation. It seems like answer should be yes instead of no.
upvoted 26 times
xRiot007
4 years, 10 months ago
The answer is correct. "No". You need an Azure Function for processing.
upvoted 9 times
Camios
4 years, 9 months ago
Except the question says what triggers the processing, not what does the processing. Question/answer is poorly written.
upvoted 35 times
angelsrp
4 years, 9 months ago
you can capture an event without processing the data related to the event. Given answer is correct
upvoted 3 times
...
...
...
...
adelaTM
Most Recent 4 weeks, 1 day ago
Selected Answer: A
Yes, the solution meets the goal.
upvoted 1 times
...
SuktiSubhra
2 months, 1 week ago
Selected Answer: A
Azure Blob Storage events can trigger an Azure Function or an Event Grid subscription whenever a new photo is uploaded. This ensures that the photo processing starts in less than one minute, meeting the requirement. Blob storage events integrate with Azure Event Grid, which can then trigger processing logic in Azure Functions, Logic Apps, or Event Hubs.
upvoted 1 times
...
xidrane
1 year, 2 months ago
Yes, triggering the photo processing from Blob storage events does meet the goal. Azure Blob Storage can emit events that can be captured by Azure Event Grid. These events can then trigger various processes or workflows. In this scenario, when a user uploads a photo to Blob Storage, an event is generated. This event can be subscribed to by an Azure Function or a Logic App, which in turn can start the process of creating a mobile-friendly version of the image. This approach is efficient and can easily meet the requirement of starting the image processing in less than one minute after the photo is uploaded. Azure Event Grid is known for its low latency in delivering events, typically in the order of seconds, which aligns well with the specified requirement.
upvoted 3 times
...
SSR999
1 year, 3 months ago
I think it should be 'B', as per Microsoft for blob events 'There is no service level agreement around the time it takes for a message to arrive. It's not uncommon for messages to arrive anywhere from 30 minutes to two hours.' https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-event-overview#practices-for-consuming-events
upvoted 2 times
...
bgbgvfvf
1 year, 4 months ago
I think B is the right answe
upvoted 1 times
...
LJNZ2049
1 year, 4 months ago
Selected Answer: A
I think the given answer is correct. In this question, there is no mention of how to process the images after they are triggered, whether to use the Function app or not. It's only about the trigger itself. So the Blob storage events should meet the goal.
upvoted 1 times
...
[Removed]
1 year, 9 months ago
Correct answer is A
upvoted 1 times
...
DonH
1 year, 10 months ago
Just as information I just had this question on my AZ204 exam - 16-jun-2023. I barely made it (with only 767 points) so I can't inform anyony if this answer is correct or not, just stating that this is an actual exam question.
upvoted 4 times
...
Bababar
1 year, 11 months ago
Correct Answer : B Not necessary to convert the account, instead move photo processing to an Azure Function triggered from the blob upload.. Azure Storage events allow applications to react to events. Common Blob storage event scenarios include image or video processing, search indexing, or any file- oriented workflow. Note: Only storage accounts of kind StorageV2 (general purpose v2) and BlobStorage support event integration. Storage (general purpose v1) does not support integration with Event Grid.
upvoted 1 times
...
CODE_STS
2 years, 1 month ago
Got this in the exam today! Feb 28, 2023
upvoted 3 times
...
fkaracan
2 years, 2 months ago
I think "##must start## in less than one minute" is the keyword here. Thus answer is highly B.
upvoted 1 times
...
ABHI_SHEK_31
2 years, 2 months ago
Yes, the solution of triggering the photo processing from Blob storage events meets the goal of starting the photo processing in less than one minute after a photo is uploaded. Azure Storage Blob storage provides event notifications for blob creation, which can be used to trigger the photo processing. This allows for the processing to start as soon as a photo is uploaded, thereby meeting the requirement of starting the process in less than one minute.
upvoted 1 times
...
Rosu123
2 years, 3 months ago
The question states that you have developed a service. So why wait for the Blob storage to trigger when the service intercepts the event requested before even reaching the blob. So the answer is B.
upvoted 2 times
...
carlosghosn
2 years, 5 months ago
Got this in the exam today ! Nov 25, 2022
upvoted 2 times
...
hubekpeter
2 years, 5 months ago
Selected Answer: A
Please stop with that 10 minutes non sense. They mentioned event based blob storage which have low latency https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-blob-trigger?tabs=in-process%2Cextensionv5&pivots=programming-language-python so the answer I A.
upvoted 4 times
Neckbread
10 months, 3 weeks ago
Whilst there is a low latency Blob storage option they do state that: "It is recommended that you use the event-based implementation as it has lower latency than the other"
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago