exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 2 question 54 discussion

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

HOTSPOT
-

You plan to develop an Azure Functions app with an HTTP trigger.

The app must support the following requirements:

• Event-driven scaling
• Ability to use custom Linux images for function execution

You need to identify the app’s hosting plan and the maximum amount of time that the app function can take to respond to incoming requests.

Which configuration setting values should you use? To answer, select the appropriate values in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
Ciupaz
Highly Voted 1 year, 6 months ago
Correct: The Premium plan supports event-driven scaling and allows to use custom Linux images. The default timeout for Azure Functions on the Consumption and Premium plans is 5 minutes (300 seconds), and 230 is a good fit.
upvoted 20 times
[Removed]
1 year, 5 months ago
"Regardless of the function app timeout setting, 230 seconds is the maximum amount of time that an HTTP triggered function can take to respond to a request. " ref: https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale
upvoted 9 times
130nk3r5
1 year, 4 months ago
There is not HTTP trigger in this one ?
upvoted 1 times
130nk3r5
1 year, 4 months ago
Ignore me. I'm stupid
upvoted 6 times
...
...
...
1CY1
10 months, 3 weeks ago
but Dedicated does not do both Event Driven scaling and Linux hosting.
upvoted 1 times
...
1CY1
10 months, 3 weeks ago
I thought Dedicated now supports Linux.
upvoted 1 times
1CY1
10 months, 3 weeks ago
but Dedicated does not do both Event Driven scaling and Linux hosting.
upvoted 1 times
...
...
130nk3r5
1 year, 4 months ago
Got this today. Went with answer here. Score 927
upvoted 3 times
...
...
ciamp
Highly Voted 9 months ago
Hosting plan: Premium: The Premium plan supports custom Linux images and event-driven scaling. It provides more flexibility and scalability compared to the Consumption and Dedicated plans. Timeout value: Unlimited: The Premium plan allows for unlimited timeout settings, which is beneficial for long-running requests. In contrast, the Consumption plan has a default maximum timeout of 5 minutes (which can be extended to 60 minutes with some configurations) and the Dedicated plan typically has a maximum timeout of 60 minutes. Correct Configuration Settings: Hosting plan: Premium Timeout value: Unlimited
upvoted 6 times
...
Simanta_M
Most Recent 6 months, 4 weeks ago
Premium, 230 seconds
upvoted 1 times
...
ciamp
9 months ago
1. Premium 2. Unlimited https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale
upvoted 3 times
overhill
7 months, 3 weeks ago
this might be incorrect this affects all tiers "Regardless of the function app timeout setting, 230 seconds is the maximum amount of time that an HTTP triggered function can take to respond to a request. This is because of the default idle timeout of Azure Load Balancer. For longer processing times, consider using the Durable Functions async pattern or defer the actual work and return an immediate response."
upvoted 3 times
...
...
prabhjot
9 months ago
perfect ans - Premium and @30 - https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale ( just read about flexi plan also it is getting into GA soon)
upvoted 1 times
...
8ac3742
9 months, 1 week ago
Both Dedicated plan and Premium plan support the custom Linux image for Azure function, however, Dedicated plan doesn't support responsive event-driven autoscaling, it only supports manual scaling and autoscaling slower than authoscaling slower than the premium plan.
upvoted 1 times
...
jobolesonihal
1 year, 1 month ago
Premium Plan - ✔ You want to provide a custom Linux image on which to run your functions. 230 Sec - ✔ Regardless of the function app timeout setting, 230 seconds is the maximum amount of time that an HTTP triggered function can take to respond to a request. This is because of the default idle timeout of Azure Load Balancer.
upvoted 2 times
...
InversaRadice
1 year, 3 months ago
Well maximum timeout for premium is 10 minutes, so u re all wrong... Premium 10 Minutes
upvoted 1 times
...
AlbertoBT
1 year, 5 months ago
Premium - Unlimited 1 Premium. Is the only one that supports CUSTOM linux images and Event-driven (is not talking about code function runing under linux, in that case could be Consumption) 2. Unlimeted - Is talking about set the maximun timeout (has sense form the exam perpective to know witch is the max. and not only a valid one) https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#overview-of-plans Consider the Azure Functions Premium plan in the following situations: + You want to provide a custom Linux image on which to run your functions.
upvoted 4 times
AlbertoBT
1 year, 5 months ago
UPDATE: Timeout: Premium max -> unbounded Dedicated max -> unbounded Consumption max -> 10 minutes https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#service-limits But 230 seconds is the maximum amount of time that an HTTP triggered function can take to respond to a request. This is because of the default idle timeout of Azure Load Balancer. https://learn.microsoft.com/en-us/answers/questions/758823/httptrigger-response-timeout Premium unlimited could be a valid answer for a Durable Function
upvoted 4 times
...
...
dddddd111
1 year, 6 months ago
Correct answers.
upvoted 1 times
...
Schwopak
1 year, 6 months ago
I think its: Consumption 10 minutes They ask about the MAXIMUM timeout (10 minutes for consumption plan). Consumption plan supports event driven scaling and supports custom Linux images as well. Maximum Timeout for Premium plan is unbounded according to the tables. But that would mean, Premium Plan + unlimited would also be a correct answer... https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale
upvoted 6 times
Schwopak
1 year, 6 months ago
Have to correct my answer: Consumption plan does not allow for CUSTOM Linux images. So the correct answer would have to be: Premium unlimited again source: https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale
upvoted 7 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