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?
A . the Windows operating system and the Consumption plan hosting plan
B . the Windows operating system and the App Service plan hosting plan
C . the Docker container and an App Service plan that uses the Bl1 pricing tier
D . the Docker container and an App Service plan that uses the SI pricing
Answer: A
Explanation:
Azure Functions runs in two different modes: Consumption plan and Azure App Service plan. The Consumption plan automatically allocates compute power when your code is running. Your app is scaled out when needed to handle load, and scaled down when code is not running.