nerdexam
Microsoft

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.

Maintain an Azure Cosmos DB solution

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)
  • A
    88% (29)
  • B
    3% (1)
  • C
    6% (2)
  • D
    3% (1)

Why each option

To create an Azure alert based on a custom Log Analytics query, the 'Log' signal type must be selected.

ALogCorrect

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.

BMetrics

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.

CActivity Log

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.

DResource Health

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

#Azure Monitoring#Log Analytics#Alerts#Cosmos DB

Community Discussion

No community discussion yet for this question.

Full DP-420 Practice