nerdexam
Microsoft

AZ-104 · Question #563

AZ-104 Question #563: Real Exam Question with Answer & Explanation

The correct answer is Create a Log Analytics workspace.; Collect Windows performance counters from the Log Analytics agents.; Create an alert rule.. To monitor Windows performance counters on VMs and generate alerts, you must first Create a Log Analytics workspace (to serve as the data collection and storage destination), then Configure the Log Analytics agents to Collect Windows performance counters (to gather the metrics fr

Submitted by fernanda_arg· Mar 4, 2026Monitor and Maintain Azure Resources - specifically implementing monitoring solutions using Azure Monitor and Log Analytics to collect VM performance data and configure alerting (AZ-104 / AZ-303 domain: Monitor resources by using Azure Monitor)

Question

Case Study 5 - Contoso, Ltd Overview General Overview Contoso, Ltd. is a consulting company that has a main office in Montreal and branch offices in Seattle and New York. Environment Existing Environment Contoso has an Azure subscription named Sub1 that is linked to an Azure Active Directory (Azure AD) tenant. The network contains an on-premises Active Directory domain that syncs to the Azure AD tenant. The Azure AD tenant contains the users shown in the following table. Sub1 contains two resource groups named RG1 and RG2 and the virtual networks shown in the following table. User1 manages the resources in RG1. User4 manages the resources in RG2. Sub1 contains virtual machines that run Windows Server 2019 as shown in the following table No network security groups (NSGs) are associated to the network interfaces or the subnets. Sub1 contains the storage accounts shown in the following table. Requirements Planned Changes Contoso plans to implement the following changes: Create a blob container named container1 and a file share named share1 that will use the Cool storage tier. Create a storage account named storage5 and configure storage replication for the Blob service. Create an NSG named NSG1 that will have the custom inbound security rules shown in the following table. Associate NSG1 to the network interface of VM1. Create an NSG named NSG2 that will have the custom outbound security rules shown in the following table. Associate NSG2 to VNET1/Subnet2. Technical Requirements Contoso must meet the following technical requirements: Create container1 and share1. Use the principle of least privilege. Create an Azure AD security group named Group4. Back up the Azure file shares and virtual machines by using Azure Backup. Trigger an alert if VM1 or VM2 has less than 20 GB of free space on volume C. Enable User1 to create Azure policy definitions and User2 to assign Azure policies to RG1. Create an internal Basic Azure Load Balancer named LB1 and connect the load balancer to VNET1/Subnet1 Enable flow logging for IP traffic from VM5 and retain the flow logs for a period of eight months. Whenever possible, grant Group4 Azure role-based access control (Azure RBAC) read-only permissions to the Azure file shares. Drag and Drop Question You need to configure the alerts for VM1 and VM2 to meet the technical requirements. Which three actions should you perform in sequence? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order. Answer:

Exhibits

AZ-104 question #563 exhibit 1
AZ-104 question #563 exhibit 2

Answer Area

Drag items

Create a Log Analytics workspace.Configure the diagnostic settings.Create an alert rule.Collect Windows performance counters from the Log Analytics agents.Create an Azure SQL database.

Correct arrangement

  • Create a Log Analytics workspace.
  • Collect Windows performance counters from the Log Analytics agents.
  • Create an alert rule.

Explanation

To monitor Windows performance counters on VMs and generate alerts, you must first Create a Log Analytics workspace (to serve as the data collection and storage destination), then Configure the Log Analytics agents to Collect Windows performance counters (to gather the metrics from the VMs), and finally Create an alert rule (to trigger notifications based on the collected performance data). This three-step sequence establishes the monitoring pipeline from data ingestion to actionable alerting without requiring any SQL or diagnostic settings infrastructure.

Topics

#Azure Monitor#Log Analytics Workspace#Performance Counters#Alert Rules

Community Discussion

No community discussion yet for this question.

Full AZ-104 Practice