AZ-303 Exam QuestionsBrowse all questions from this exam

AZ-303 Exam - Question 293


You are building a custom Azure function app to connect to Azure Event Grid.

You need to ensure that resources are allocated dynamically to the function app. Billing must be based on the executions of the app.

What should you configure when you create the function app?

Show Answer
Correct Answer: C

To ensure that resources are allocated dynamically to the Azure function app and billing is based solely on the executions of the app, you should configure the function app to use the Windows operating system and the Consumption plan hosting plan. The Consumption plan allows functions to scale automatically, charging only for the compute resources when the functions are running, thus meeting the requirement for dynamic resource allocation and execution-based billing.

Discussion

5 comments
Sign in to comment
Yiannisthe7th
Jul 3, 2021

C: The main word that gives it away is billing only based on function execution. It is the consumption(dynamic) plan of function apps that gives you that behavior.

certpro
Aug 8, 2021

Correct, https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale#overview-of-plans

syu31svc
Aug 28, 2021

When you're using the Consumption plan, instances of the Azure Functions host are dynamically added and removed based on the number of incoming events. This serverless plan scales automatically, and you're charged for compute resources only when your functions are running. On a Consumption plan, a function execution times out after a configurable period of time. https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale Incorrect Answers: the Windows operating system and the App Service plan hosting plan - App Service Plan hosting will have fixed charges based on chosen pricing tier. the Docker container and an App Service plan that uses the B1 pricing tier - App Service Plan hosting will have fixed charges based on chosen pricing tier. the Docker container and an App Service plan that uses the S1 pricing tier - App Service Plan hosting will have fixed charges based on chosen pricing tier. C is the answer

gssd4scoder
Jul 2, 2021

Correct

rdemontis
Jul 14, 2021

Correct

edmacoar123
Nov 19, 2021

On exam today 19/11/21. Correct answer. Score 860.