Exam AZ-204 All QuestionsBrowse all questions from this exam
Question 56

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?

    Correct Answer: B

    The process to produce a mobile-friendly version of the image must start in less than one minute. While Azure Functions can be triggered by a Blob storage event, there is no service level agreement guaranteeing that the event will be processed within one minute. In fact, it is not uncommon for messages to arrive anywhere from 30 minutes to two hours. Therefore, using Blob storage events alone is not a reliable method to ensure the processing starts in less than one minute. Hence, the solution does not meet the goal.

Discussion
AnkanGOption: A

as is correct

fadikhOption: A

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.

bbou

No 10 seconds

bbou

I was wrong - yes up to 10 minutes

BrettusMaximus

So the answer is NO. Cant wait 10 minutes

altafpatel1984

That limitation is only for Consumption plan. Since no mention of it, we can assume user can opt for premium, app service plan.

HelloCloudWorld

Or we can assume user doesn't use premium plan... your argument isn't valid

dookebroyle

The time limit is for the process to START only. It can take longer to process.

SleepersOption: A

Got this on 06/27/2023 exam

ragha81Option: B

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.

AhmedAbdelAzizOption: B

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

Jak007Option: 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

Rabi3Option: 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

MunwalinwaliOption: A

Answer is yes. Posted the question in ChatGPT

IsoldheOption: 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.

bgbgvfvfOption: B

I think the answer is B

ami2023Option: A

this is related to topic 2 question 8, A. Yes should the correct answer.

dddddd111Option: A

I think the answer is A.

DixavadoOption: A

Go with A

KanasanOption: B

> 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

LxstInNxghtOption: A

Answer is A

EliteAllenOption: 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.

PriyankakannaOption: A

Answer A, just to vote