Developing Solutions for Microsoft Azure — Question 7
You are developing an Azure Function App that processes images that are uploaded to an Azure Blob container.
Images must be processed as quickly as possible after they are uploaded, and the solution must minimize latency. You create code to process images when the
Function App is triggered.
You need to configure the Function App.
What should you do?
Answer options
- A. Use an App Service plan. Configure the Function App to use an Azure Blob Storage input trigger.
- B. Use a Consumption plan. Configure the Function App to use an Azure Blob Storage trigger.
- C. Use a Consumption plan. Configure the Function App to use a Timer trigger.
- D. Use an App Service plan. Configure the Function App to use an Azure Blob Storage trigger.
- E. Use a Consumption plan. Configure the Function App to use an Azure Blob Storage input trigger.
Correct answer: D
Explanation
The correct answer is D because using an App Service plan with an Azure Blob Storage trigger allows for immediate processing of images as soon as they are uploaded, minimizing latency. Option A is incorrect as it uses an input trigger which is not necessary in this context. Option B is not optimal since a Consumption plan may introduce latency. Option C is unsuitable because a Timer trigger does not respond to uploads, and option E incorrectly suggests using an input trigger.