AZ-204 Exam QuestionsBrowse all questions from this exam

AZ-204 Exam - Question 93


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 Answer
Correct Answer:

Discussion

6 comments
Sign in to comment
Ciupaz
Nov 3, 2023

Correct. "used infrequently" -> Consumption And 10mins is a good choice.

Schwopak
Nov 5, 2023

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

1CY1
Jun 25, 2024

Consumption supports : - 2 deployment slots. - minimizes costs for infrequent use. - event driven scaling. Timeout: Consumption max : 10 minutes Answer => Consumption, 10 minutes.

1CY1
Jul 22, 2024

Sorry that should be execution time not timeout.

AlbertoBT
Nov 13, 2023

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

AlbertoBT
Nov 13, 2023

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.

130nk3r5
Dec 23, 2023

No HTTP one here...? I'll go with Premium and unlimited here. Minimizing costs here is the issue ?!? This is a stupid question.

SSR999
Jan 11, 2024

Consumption plan also supports 2 slots..https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#service-limits Answer; Consumption - 10 min

raymond_abcd
Feb 11, 2024

Function apps running in a Consumption plan have a single extra slot for staging.

1CY1
Jun 25, 2024

2 deployment slots are supported on a consumption plan. https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#service-limits

FeriAZ
Feb 22, 2024

Hosting Plan: Consumption Maximum Execution Time: 10 minutes

dino_co
Mar 16, 2024

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.

kumarts
Jan 25, 2024

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

raymond_abcd
Feb 11, 2024

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)