AZ-104 practice question 9 of 35

You have an Azure virtual machine named VM1 that runs Windows Server 2016. You need to create an alert in Azure when more than two error events are…

Choose your answer, then check it against the explanation and the full breakdown below.

Domain Manage Azure identities and governance

You have an Azure virtual machine named VM1 that runs Windows Server 2016. You need to create an alert in Azure when more than two error events are logged to the System event log on VM1 within an hour. Solution: You create an Azure storage account and configure shared access signatures (SASs). You install the Microsoft Monitoring Agent on VM1. You create an alert in Azure Monitor and specify the storage account as the source. Does that meet the goal?
Answer options
Question 9 of 35

Question breakdown

Tests
Configure alerts and log collection in Azure Monitor
Difficulty
Medium

Key idea: Alerts based on Windows event log content require the events to be sent to a Log Analytics workspace and queried with a log search alert rule.

How to reach the answer

  1. The goal is to count error events in the System log over a one-hour window, which is a log query condition.
  2. Log search alerts in Azure Monitor run KQL against a Log Analytics workspace, not against a storage account.
  3. The agent (MMA, or now AMA with a data collection rule) must send events to a workspace.
  4. Clue: the solution names a storage account with SAS as the alert source, which is not a valid source for this kind of alert, so the answer is No.

Each option

  • AIncorrect. An Azure Monitor alert cannot use a storage account with SAS to count event log entries.
  • BCorrect. The design lacks a Log Analytics workspace and log search alert, so it cannot alert on the event count.

Common trap: Storage accounts can hold diagnostic data, so it seems plausible that alerts could read from them, but alert rules query workspaces, not blobs or tables.

In practice: Admins monitoring VM event logs usually set up a data collection rule that sends Windows events to a Log Analytics workspace. They then create a log search alert with a count threshold and an evaluation window.

Remember: Event-log-based alerting means workspace plus agent plus log search alert; storage accounts are for archiving, not alert sources.

Drafted with AI assistance and checked against the answer key.

Keep practicing

Take the free AZ-104 practice test

Ten exam-style questions with answers and explanations, plus the exam facts and study guides.

Start the free practice test

More questions

Other AZ-104 practice questions

Scroll to Top