exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 2 question 56 discussion

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

HOTSPOT
-

You plan to develop an Azure Functions app with an Azure Blob Storage trigger. The app will be used infrequently, with a limited duration of individual executions.

The app must meet the following requirements:

• Event-driven scaling
• Support for deployment slots
• Minimize costs

You need to identify the hosting plan and the maximum duration when executing the app.

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, 7 months ago
Correct. "used infrequently" -> Consumption And 10mins is a good choice.
upvoted 13 times
1CY1
11 months, 4 weeks ago
Consumption supports : - 2 deployment slots. - minimizes costs for infrequent use. - event driven scaling. Timeout: Consumption max : 10 minutes Answer => Consumption, 10 minutes.
upvoted 2 times
1CY1
11 months ago
Sorry that should be execution time not timeout.
upvoted 1 times
...
...
Schwopak
1 year, 7 months ago
Agree though my reasoning for Consumption stems from "minimize cost". Max timeout (computation time) for consumption plan azure functions is 10 min. https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale
upvoted 2 times
...
...
AlbertoBT
Highly Voted 1 year, 7 months ago
Right Answer: Premium - 230 Event-Driven requirement: Is only souported by Consumption and Premium https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#scale Slot requirement: Is only souported by Dedicated and Premium "Function apps running under the Apps Service plan may have multiple slots, while under the Consumption plan only one slot is allowed." https://learn.microsoft.com/en-us/azure/azure-functions/functions-deployment-slots Minimize costs: Is not relevant because there is just one service plan that meets the previous requirements
upvoted 11 times
1CY1
11 months, 4 weeks ago
2 deployment slots are supported on a consumption plan. https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#service-limits
upvoted 1 times
...
raymond_abcd
1 year, 4 months ago
Function apps running in a Consumption plan have a single extra slot for staging.
upvoted 2 times
...
SSR999
1 year, 5 months ago
Consumption plan also supports 2 slots..https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#service-limits Answer; Consumption - 10 min
upvoted 8 times
...
AlbertoBT
1 year, 7 months ago
Timeout: Premium and Dedicated max -> unbounded Consumption max -> 10 minutes https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#service-limits 230 seconds is the maximum amount of time that an HTTP triggered function https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#timeout Premium unlimited could be a good choice for a Durable Function but is for "a limited duration of individual executions" so the minimun valio can fit.
upvoted 2 times
130nk3r5
1 year, 5 months ago
No HTTP one here...? I'll go with Premium and unlimited here. Minimizing costs here is the issue ?!? This is a stupid question.
upvoted 1 times
...
...
...
f09229d
Most Recent 2 months, 2 weeks ago
Gone in 3/2025 exam with proposed answer 907/1000 (Consumption and 10 min)
upvoted 2 times
...
dino_co
1 year, 3 months ago
Hosting Plan: Consumption - The Consumption plan automatically scales based on demand, supports deployment slots, and you only pay for compute resources when your functions are running. This makes it a cost-effective choice for applications that are used infrequently. Maximum Execution Time: 10 minutes. In the Consumption plan, function executions time out after five minutes by default, but this can be set to a maximum of ten minutes.
upvoted 2 times
...
FeriAZ
1 year, 3 months ago
Hosting Plan: Consumption Maximum Execution Time: 10 minutes
upvoted 3 times
...
raymond_abcd
1 year, 4 months ago
Consumption plan has 2 slots, see: https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#service-limits Max Timeout is 10 minutes (when HTTP triggered 230 secs)
upvoted 1 times
...
kumarts
1 year, 4 months ago
Consumption - 10 minutes is right...Event driven is supported in Consumption and Premium. Consumption plan also supports 2 slots. Refer weblink - https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale
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 ...