nerdexam
Microsoft

AZ-305 · Question #328

Hotspot Question You have an Azure subscription. The subscription contains 100 virtual machines that run Windows Server 2022 and have the Azure Monitor Agent installed. You need to recommend a solutio

This question tests knowledge of Azure Monitor Agent data collection components used to ingest, transform, and store custom JSON logs from virtual machines into a Log Analytics workspace.

Submitted by mike_84· Mar 6, 2026Design identity, governance, and monitoring solutions

Question

Hotspot Question You have an Azure subscription. The subscription contains 100 virtual machines that run Windows Server 2022 and have the Azure Monitor Agent installed. You need to recommend a solution that meets the following requirements: - Forwards JSON-formatted logs from the virtual machines to a Log Analytics workspace - Transforms the logs and stores the data in a table in the Log Analytics workspace What should you include in the recommendation? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Answer:

Exhibit

AZ-305 question #328 exhibit

Answer Area

  • To forward the logs:
    A linked storage account for the Log Analytics workspaceAn Azure Monitor data collection endpointA service endpoint
  • To transform the logs and store the data:
    A KQL queryA WQL queryAn XPath query

Explanation

This question tests knowledge of Azure Monitor Agent data collection components used to ingest, transform, and store custom JSON logs from virtual machines into a Log Analytics workspace.

Approach. To forward JSON-formatted logs from VMs to a Log Analytics workspace, you need a Data Collection Endpoint (DCE) - it acts as the ingestion point that receives log data sent by the Azure Monitor Agent. To transform the logs and store them in a specific table, you need a Data Collection Rule (DCR) with a transformation query - the DCR defines what data to collect, applies KQL-based transformations via the ingestion-time transformation feature, and routes the data to the appropriate Log Analytics workspace table (such as a custom table). The custom table in the Log Analytics workspace must be created with the appropriate schema to store the transformed data. Together, DCE + DCR with transformation covers both requirements: forwarding JSON logs and transforming/storing them.

Concept tested. Azure Monitor Agent data pipeline: Data Collection Endpoints (DCE) for log ingestion, Data Collection Rules (DCR) with ingestion-time KQL transformations, and custom Log Analytics workspace tables for storing transformed JSON log data.

Reference. https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/data-collection-rule-overview

Topics

#Azure Monitor Agent#data collection endpoint#Log Analytics#log transformation

Community Discussion

No community discussion yet for this question.

Full AZ-305 Practice