Microsoft Azure Architect Design (2020, legacy) — Question 18
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?
Answer options
- 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 a function app that is configured to use the Consumption plan and a SendGrid binding.
- D. Deploy an Azure logic app that has a webhook configured to use a SendGrid action.
Correct answer: C
Explanation
The correct answer is C because a function app with the Consumption plan allows for cost-effective processing and the SendGrid binding enables straightforward email notifications when data is received. Option A is incorrect as it does not focus on minimizing compute costs effectively. Option B is not suitable since Azure Event Hubs is not intended for sending notifications, and Option D does not utilize the most efficient compute resource available for this scenario.