What should you include in the recommendation?

Posted by: Pdfprep Category: AZ-301 Tags: , ,

You plan to create an Azure Cosmos DB account that uses the SQL API. The account will contain data added by a web application. The web application will send data daily.

You need to recommend a notification solution that meets the following requirements:

– Sends email notification when data is received from IoT devices.

– Minimizes compute cost.

What should you include in the recommendation?
A . Deploy an Azure logic app that has the Azure Cosmos DB connector configured to use a SendGrid action.
B . Deploy a function app that is configured to use the Consumption plan and a SendGrid binding.
C . Deploy an Azure logic app that has a SendGrid connector configured to use an Azure Cosmos DB action.
D . Deploy a function app that is configured to use the Consumption plan and an Azure Event Hubs binding.
E . Deploy an Azure logic app that has a webhook configured to use a SendGrid action.

Answer: B

Explanation:

You can send email by using SendGrid bindings in Azure Functions. Azure Functions supports an output binding for SendGrid.

Note: 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.

Reference:

https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-sendgrid

https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale#consumption-plan

Leave a Reply

Your email address will not be published.