Microsoft Azure Developer Associate AZ-204 Practice Question
An HTTP-triggered Azure Functions app runs on the Consumption plan. Some requests perform intensive processing and take up to 25 minutes. Users report that these requests always fail after roughly 10 minutes. You must allow the function to complete successfully without modifying the function's code. Which action should you take?
Update host.json to set functionTimeout to 30 minutes while keeping the app on the Consumption plan.
Enable Always On for the existing Consumption plan function app.
Increase the instance count of the Consumption plan to its maximum scale-out limit.
Move the app to an Azure Functions Premium plan and set functionTimeout to 30 minutes in host.json.
In a Consumption plan, Azure Functions enforces an execution timeout of 5 minutes by default and no more than 10 minutes even when functionTimeout is increased in host.json. To run longer-running executions you must move the app to either a Premium plan or a Dedicated (App Service) plan, where the execution timeout is unlimited. After migrating, you can raise functionTimeout (for example, to 30 minutes) or set it to -1 for no limit. Enabling Always On or scaling out does not change the per-execution timeout on a Consumption plan, and simply increasing functionTimeout while remaining on the Consumption plan will still be capped at 10 minutes.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the Consumption plan in Azure Functions?
Open an interactive chat with Bash
What is the Azure Functions Premium plan?
Open an interactive chat with Bash
What does functionTimeout mean in Azure Functions?
Open an interactive chat with Bash
Microsoft Azure Developer Associate AZ-204
Develop Azure compute solutions
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .