Answer – D
you can do this by creating a Logic app with an HTTP trigger. You then specify an alert rule in Application Insights and choose `Run a Logic App from this alert` as the action.
Do you find yourself repeatedly running the same queries on your telemetry data to check whether your service is functioning properly? Are you looking to automate these queries for finding trends and anomalies and then build your own workflows around them? The Azure Application Insights connector for Logic Apps is the right tool for this purpose.
Note
With this integration, you can automate numerous processes without writing a single line of code. You can create a logic app with the Application Insights connector to quickly automate any Application Insights process.
Options A, B, and C are incorrect because if you want to use Azure Logic Apps with Azure Monitor, you have to use the An HTTP trigger
https://docs.microsoft.com/en-us/azure/azure-monitor/app/automate-with-logic-apps