AZ-104 Exam QuestionsBrowse all questions from this exam

AZ-104 Exam - Question 316


Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

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 Log Analytics workspace and configure the Agent configuration settings. You install the Microsoft Monitoring Agent on VM1. You create an alert in Azure Monitor and specify the Log Analytics workspace as the source.

Does this meet the goal?

Show Answer
Correct Answer: A

To create an alert in Azure when more than two error events are logged to the System event log on a virtual machine within an hour, follow these steps: First, configure an Azure Log Analytics workspace which collects log data. Next, install the Microsoft Monitoring Agent (MMA) on the virtual machine to send event log data to the Log Analytics workspace. Finally, create an alert rule in Azure Monitor using the Log Analytics workspace as the data source. This setup ensures that the specified log events trigger the desired alert in Azure Monitor.

Discussion

16 comments
Sign in to comment
odisor
Feb 6, 2022

The answer is correct. 1. Log analytics agent - Install in VM. 2. Log analytics workspace - collect the log files from Log Analytics Agent. 3. Azure Monitor - Create alert based on logs read from Log Analytics Workspace.

ScoutP
Oct 3, 2021

This question was asked on exam taken on Sept 30, 2021

azaad_a
Oct 8, 2022

Exam Question 08OCT2022

eksmp
Aug 21, 2023

I see this question coming back 3 times with the following differences : - configure the Agent configuration settings. You install the Microsoft Monitoring Agent on VM1 (question 64) - configure the data settings. You add the Microsoft Monitoring Agent VM extension to VM1. (question 70) - configure the data settings. You install the Microsoft Monitoring Agent on VM1 (question 71) Everyone agrees that the second one (extension) is wrong. But everyone also seems to agree that the two others are correct ?

curtmcgirt
Feb 22, 2023

did this question get reworded? all of the comments talk about "log analytics agent," but the question says to install "microsoft monitoring (scom) agent". log analytics is being replaced by AZURE monitoring agent (not microsoft monitoring agent) in august 2024. are we all still sure 'microsoft monitoring agent' is what needs to be installed here?

WeepingMaplte
Apr 28, 2024

Log Analytics agent will be deprecated. Remember Azure Monitor agent (AMA) instead. https://learn.microsoft.com/en-us/azure/azure-monitor/agents/log-analytics-agent#:~:text=The%20Log%20Analytics%20agent%20is%20on%20a%20deprecation%20path%20and%20won%27t%20be%20supported%20after%20August%2031%2C%202024

pakman
Sep 28, 2021

Correct.

ajayasa
Mar 16, 2022

this question was there on 16/03/2022 with same question and passed with 900 percent

MentalG
Apr 1, 2022

900 is a score not a percentage, but congrats on you passing mate :)

EmnCoursOption: A
Sep 5, 2022

Correct Answer: A 🗳️ Alerts in Azure Monitor can identify important information in your Log Analytics repository. They are created by alert rules that automatically run log searches at regular intervals, and if results of the log search match particular criteria, then an alert record is created and it can be configured to perform an automated response. The Log Analytics agent collects monitoring data from the guest operating system and workloads of virtual machines in Azure, other cloud providers, and on- premises. It collects data into a Log Analytics workspace. References: https://docs.microsoft.com/en-us/azure/azure-monitor/learn/tutorial-response https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agents-overview

Pasmo
Feb 27, 2022

Correct

dasEnderOption: A
May 4, 2022

Correct.

EmnCours
Sep 5, 2022

Correct Answer: A 🗳️ Alerts in Azure Monitor can identify important information in your Log Analytics repository. They are created by alert rules that automatically run log searches at regular intervals, and if results of the log search match particular criteria, then an alert record is created and it can be configured to perform an automated response. The Log Analytics agent collects monitoring data from the guest operating system and workloads of virtual machines in Azure, other cloud providers, and on- premises. It collects data into a Log Analytics workspace. References: https://docs.microsoft.com/en-us/azure/azure-monitor/learn/tutorial-response https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agents-overview

Dat_dogeOption: A
Feb 26, 2023

correct

DimsumDestroyerOption: A
Aug 25, 2023

Answer is correct

[Removed]Option: A
Sep 16, 2024

A is corerct

58b2872Option: A
Jan 21, 2025

You add the Microsoft Monitoring Agent VM extension to VM1 > This is WRONG You Install the Microsoft Monitoring Agent VM agent to VM1 > This is Correct 1. Log analytics agent - Install in VM. 2. Log analytics workspace - collect the log files from Log Analytics Agent. 3. Azure Monitor - Create alert based on logs read from Log Analytics Workspace.