You are the administrator of the Contoso financial group. You have been tasked to move an application to Azure. You choose to make use of a function app. However, this application should not run continually, and therefore requires an application plan accordingly. Which of the below plans will be meet the criteria as well as be the most cost-efficient?
Consumption plan is correct, as you will only be billed when the function is running. App Service plan is incorrect as the function will run on dedicated virtual machines and therefore allow the app to always run.