exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 2 question 19 discussion

Actual exam question from Microsoft's AZ-204
Question #: 19
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: Move photo processing to an Azure Function triggered from the blob upload.
Does the solution meet the goal?

  • A. Yes
  • B. No
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
AnkanG
Highly Voted 4 years, 10 months ago
as is correct
upvoted 57 times
...
fadikh
Highly Voted 4 years, 3 months ago
The answer is correct, but it should have also mentioned that the function app must not be on a consumption plan. because in that case, it might take up to 10 minutes to process the event.
upvoted 31 times
BrettusMaximus
4 years, 1 month ago
So the answer is NO. Cant wait 10 minutes
upvoted 8 times
altafpatel1984
3 years, 6 months ago
That limitation is only for Consumption plan. Since no mention of it, we can assume user can opt for premium, app service plan.
upvoted 5 times
HelloCloudWorld
1 year ago
Or we can assume user doesn't use premium plan... your argument isn't valid
upvoted 1 times
...
...
...
bbou
4 years, 2 months ago
No 10 seconds
upvoted 1 times
bbou
4 years, 2 months ago
I was wrong - yes up to 10 minutes
upvoted 6 times
...
...
dookebroyle
2 years, 12 months ago
The time limit is for the process to START only. It can take longer to process.
upvoted 6 times
...
...
Ody
Most Recent 5 months, 2 weeks ago
Selected Answer: A
It appears this answer has changed over time and now their are two ways to configure the trigger. Newer --> Event-Based Trigger: This implementation uses Azure Event Grid to trigger the function. It provides low latency, typically triggering the function within seconds of the blob upload. Older --> Polling-Based Trigger: This implementation periodically polls the storage account for changes. The latency can be higher, potentially up to several minutes, depending on the polling interval. I only question if anyone writing test questions at Microsoft knows about it. https://learn.microsoft.com/en-us/azure/azure-functions/functions-event-grid-blob-trigger?pivots=programming-language-csharp
upvoted 2 times
...
Tej_007
10 months, 3 weeks ago
Selected Answer: B
blob storage event doesn't guarantee an SLA. you cannot control the event arrival in less than a minute.
upvoted 2 times
...
Munwalinwali
11 months, 3 weeks ago
Selected Answer: A
Answer is yes. Posted the question in ChatGPT
upvoted 1 times
...
Isoldhe
1 year, 3 months ago
Selected Answer: A
Copilot AI: Yes, the solution meets the goal. Moving photo processing to an Azure Function triggered from the blob upload can help you create a scalable, serverless, and event-driven solution for your SaaS offering. Azure Functions can run code in response to various triggers, such as HTTP requests, timers, queues, and blobs. In this case, you can use a Blob storage trigger to execute your photo processing logic whenever a new photo is uploaded to a specific container in your storage account. This way, you can ensure that the process to produce a mobile-friendly version of the image starts in less than one minute, as the function is invoked almost immediately after the blob is created or updated.
upvoted 2 times
...
ragha81
1 year, 4 months ago
Answer is B as per below comment 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.
upvoted 2 times
...
AhmedAbdelAziz
1 year, 4 months ago
Correct No : As there is no grantee on the blob storage to trigger in less than min , so we should use the event grid and the azure function should subscribe to the event grid not the blob direct
upvoted 2 times
...
Jak007
1 year, 4 months ago
Selected Answer: B
B) No. As per the documentation linked by @Rabi3. Under "Recommended Practices for Consuming 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
...
Rabi3
1 year, 5 months ago
Selected Answer: B
Answer is B. the key point here is that the processing should start in less one minute. Which is not a guaranteed for Blob storage 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, 5 months ago
I think the answer is B
upvoted 1 times
...
ami2023
1 year, 7 months ago
Selected Answer: A
this is related to topic 2 question 8, A. Yes should the correct answer.
upvoted 1 times
...
dddddd111
1 year, 7 months ago
Selected Answer: A
I think the answer is A.
upvoted 1 times
...
Dixavado
1 year, 8 months ago
Selected Answer: A
Go with A
upvoted 1 times
...
Kanasan
1 year, 9 months ago
> The process to produce a mobile-friendly version of the image must start in less than one minute. This cannot be fulfilled with the proposed solution. So, vote for B
upvoted 1 times
...
LxstInNxght
1 year, 10 months ago
Selected Answer: A
Answer is A
upvoted 1 times
...
EliteAllen
1 year, 10 months ago
Selected Answer: A
A. Yes The solution does meet the goal. Azure Functions can be triggered by blob storage events, such as the uploading of a new photo. When a new photo is uploaded to blob storage, the Azure Function would be triggered to process the photo and create a mobile-friendly version. The trigger is almost instantaneous, so the process would indeed start in less than a minute after a photo is uploaded. This meets the requirement mentioned in the question.
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 ...