Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AZ-204 Exam - Topic 17 Question 15 Discussion

Actual exam question for Microsoft's AZ-204 exam
Question #: 15
Topic #: 17
[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 an HTTP triggered Azure Function app to process Azure Storage blob dat

a. The app is triggered using an output binding on the blob.

The app continues to time out after four minutes. The app must process the blob data.

You need to ensure the app does not time out and processes the blob data.

Solution: Configure the app to use an App Service hosting plan and enable the Always On setting.

Does the solution meet the goal?

Show Suggested Answer Hide Answer
Suggested Answer: B

Instead pass the HTTP trigger payload into an Azure Service Bus queue to be processed by a queue trigger function and return an immediate HTTP success response.

Note: Large, long-running functions can cause unexpected timeout issues. General best practices include:

Whenever possible, refactor large functions into smaller function sets that work together and return responses fast. For example, a webhook or HTTP trigger function might require an acknowledgment response within a certain time limit; it's common for webhooks to require an immediate response. You can pass the HTTP trigger payload into a queue to be processed by a queue trigger function. This approach lets you defer the actual work and return an immediate response.


https://docs.microsoft.com/en-us/azure/azure-functions/functions-best-practices

Contribute your Thoughts:

0/2000 characters
Barbra
5 months ago
Sounds like a solid plan, but I’d still test it thoroughly.
upvoted 0 times
...
Chandra
5 months ago
Wait, does that mean the function can run longer than 4 minutes now?
upvoted 0 times
...
Pansy
5 months ago
Always On is a good move, but is it really the only solution?
upvoted 0 times
...
Rose
5 months ago
I disagree, it might not be enough for heavy processing tasks.
upvoted 0 times
...
Brande
5 months ago
Yes, using an App Service plan can help with the timeout issue.
upvoted 0 times
...
Teresita
5 months ago
I think the Always On setting is important for keeping the function warm, but I’m not sure if it directly affects the timeout limit.
upvoted 0 times
...
Margart
5 months ago
I feel like using an App Service plan might help, but I’m not confident if it’s the only solution to avoid the timeout.
upvoted 0 times
...
Svetlana
6 months ago
I practiced a similar question where switching to an App Service plan helped with timeout issues, but I'm not entirely sure if "Always On" is necessary for blob processing.
upvoted 0 times
...
Gearldine
6 months ago
I remember reading that Azure Functions have a default timeout of five minutes, but I think it can be extended with a premium plan.
upvoted 0 times
...
Portia
6 months ago
I'm a bit confused - is adding more CPUs really going to help with a swapping issue? That doesn't seem quite right.
upvoted 0 times
...
Elroy
6 months ago
This looks like a straightforward deployment task. I'll start by creating the namespace, then the deployment with the specified parameters.
upvoted 0 times
...
Jules
6 months ago
Hmm, I'm a bit unsure about this one. I know we're supposed to avoid certain types of questions, but I'm not totally clear on the reasoning behind it. I'll have to think this through carefully.
upvoted 0 times
...
Dean
6 months ago
I think Medicare is the primary for those who qualify for both programs, but I practiced similar questions and got mixed results.
upvoted 0 times
...

Save Cancel