DP-420 · Question #149
You have a container in an Azure Cosmos DB for NoSQL account. You need to create an alert based on a custom Log Analytics query. Which signal type should you use?
The correct answer is A. Log. To create an Azure alert based on a custom Log Analytics query, the 'Log' signal type must be selected.
Question
You have a container in an Azure Cosmos DB for NoSQL account. You need to create an alert based on a custom Log Analytics query. Which signal type should you use?
Options
- ALog
- BMetrics
- CActivity Log
- DResource Health
How the community answered
(33 responses)- A88% (29)
- B3% (1)
- C6% (2)
- D3% (1)
Why each option
To create an Azure alert based on a custom Log Analytics query, the 'Log' signal type must be selected.
When creating an alert rule in Azure Monitor based on the results of a custom Log Analytics query, you must choose 'Log' as the signal type. This signal type allows you to specify a Kusto Query Language (KQL) query against your Log Analytics workspace data to define the alert condition.
Metrics signal type is used for alerts based on numeric values collected at regular intervals, such as RU consumption or latency, rather than custom query results from logs.
Activity Log signal type is used for alerts based on events in the Azure Activity Log, such as administrative operations or service health events, not custom log data.
Resource Health signal type is used for alerts related to the health of an Azure resource, indicating service availability issues, and does not support custom Log Analytics queries.
Concept tested: Azure Monitor alert signal types for Log Analytics
Source: https://learn.microsoft.com/azure/azure-monitor/alerts/alerts-unified-log
Topics
Community Discussion
No community discussion yet for this question.