What should you include in the recommendation?

Posted by: Pdfprep Category: AZ-304 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 notifications when data is received from the web application

• Minimizes compute cost

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

Answer: D

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.