nerdexam
Microsoft

AZ-120 · Question #251

Drag and Drop Question You have an Azure subscription that contains two SAP HANA on Azure (Large Instances) deployments named HANA1 and HANA2. You monitor HANA1 and HANA2 by using Azure Monitor for…

The correct answer is where; project. KQL Query Structure for Azure Monitor for SAP Solutions This question tests your knowledge of Kusto Query Language (KQL) used in Azure Log Analytics / Azure Monitor. The completed query looks like this: ``kql SapHanaDisks | where SystemId == "HANA1" | project DiskName…

Maintain SAP workloads on Azure

Question

Drag and Drop Question You have an Azure subscription that contains two SAP HANA on Azure (Large Instances) deployments named HANA1 and HANA2. You monitor HANA1 and HANA2 by using Azure Monitor for SAP Solutions. You need to query disk information for HANA1. How should you complete the query? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Answer:

Exhibit

AZ-120 question #251 exhibit

Answer Area

Drag items

extendletprojectwhere

Correct arrangement

  • where
  • project

Explanation

KQL Query Structure for Azure Monitor for SAP Solutions

This question tests your knowledge of Kusto Query Language (KQL) used in Azure Log Analytics / Azure Monitor.

The completed query looks like this:

SapHanaDisks
| where SystemId == "HANA1"
| project DiskName, FileSystem, SizeGB, UsedGB

Item-by-Item Explanation

Position 1: where

where is a row filter - it narrows the dataset to only the rows matching a condition. Here it filters records to only HANA1 (e.g., where SystemId == "HANA1").

Why it comes first: You must filter before shaping output. If you projected first, you might discard the column needed for filtering (like SystemId).

Position 2: project

project selects specific columns to include in the output. After filtering to HANA1, you use project to return only the disk-related fields you care about.

Why it comes second: It shapes the final output after the data has already been filtered - standard KQL pattern: filter → shape.


Why the Others Are Wrong Here

OperatorPurposeWhy Not Used
extendAdds a new calculated columnDoesn't filter rows or select columns
letDeclares a variable/subqueryGoes at the top of a query, not mid-pipe

Common Mistakes

  • Swapping where/project: Syntactically valid but inefficient, and risks projecting away the filter column before filtering
  • Using extend instead of project: extend adds columns; project selects columns - easy to confuse
  • Using let inline: let belongs at the beginning of a query as a variable declaration, not inside a pipe chain

Topics

#Azure Monitor for SAP#KQL query#HANA Large Instances#disk monitoring

Community Discussion

No community discussion yet for this question.

Full AZ-120 Practice