SASERÁ Academy
Microsoft SC-200 · Security Operations Analyst · KQL cheat sheet

The SC-200 KQL cheat sheet: tables, operators and limits

The KQL facts that decide SC-200 hunting and detection questions: which time column a table uses, which table holds the data, which operator is faster, and the limits on queries, detections and data lake jobs. Every fact below is from the Microsoft Learn documentation read on October 27, 2026; the example queries are our own.

30 daysadvanced hunting data
100,000rows per query
10 minper query
150alerts per detection run
SC-200 Security Operations Analyst practice exams course cover

1. The time column decides the table family

WhereTime columnExample
Defender XDR advanced hunting tablesTimestampDeviceProcessEvents | where Timestamp > ago(7d)
Microsoft Sentinel and Log Analytics tablesTimeGeneratedSigninLogs | where TimeGenerated > ago(1d)
Sentinel data in advanced huntingTimeGenerated (the table keeps its own column)SecurityEvent | where TimeGenerated > ago(1d)

Advanced hunting keeps 30 days of native Defender XDR data; Sentinel tables queried there follow their own analytics retention. Reading Sentinel data in advanced hunting needs at least the Microsoft Sentinel Reader role.

2. Which table holds the data

You needTable
Processes and command lines on devicesDeviceProcessEvents
Network connections, file changes, logons on devicesDeviceNetworkEvents · DeviceFileEvents · DeviceLogonEvents
Email, attachments, URLs, post-delivery actions, clicksEmailEvents · EmailAttachmentInfo · EmailUrlInfo · EmailPostDeliveryEvents · UrlClickEvents
Alerts and what they touchedAlertInfo · AlertEvidence (join on AlertId)
Entra ID sign-ins in advanced huntingEntraIdSignInEvents (replaces AADSignInEventsBeta, deprecated on October 19, 2026)
Windows security events through the Azure Monitor AgentSecurityEvent
Windows Forwarded EventsWindowsEvent (not SecurityEvent)
Syslog and CEF through the Azure Monitor AgentSyslog · CommonSecurityLog
Threat intelligence indicatorsThreatIntelIndicators · ThreatIntelObjects (not the legacy ThreatIntelligenceIndicator)
Microsoft Graph requestsMicrosoftGraphActivityLogs in Log Analytics · GraphAPIAuditEvents in advanced hunting
Azure control-plane activityAzureActivity
Your own dataA custom table whose name ends in _CL, fed through a data collection rule and the Logs ingestion API

3. Operators and the traps around them

OperatorWhat it doesExam trap
==Equality= is not a comparison operator; use and and or for logic
has vs containsWhole indexed term vs any substringhas is faster for terms of three or more characters
has_any · inMatch any term in a list · match a value in a list or a let resultPair let with in to match indicators against logs
joinCombine two tables on a keyThe default kind is innerunique; write kind=inner to keep every match
lookupEnrich rows from a smaller tableA common way to add account details from IdentityInfo
summarize ... by bin()Aggregate per group and time bucketcount(), dcount(), make_set() and arg_max() go here
arg_max()Latest record per entitysummarize arg_max(Timestamp, *) by DeviceId
make-series + series_decompose_anomalies()Build a time series and score spikessummarize with bin() does not build the series these functions need
parse · extract() · parse_json() · mv-expandPull fields out of text, JSON and arraysmv-expand gives each array item its own row
ipv4_is_in_range()Test an IP against a CIDR rangeUse it for allow lists and VPN ranges
unionStack rows from several tablesUseful for one question across several event tables
make-graph · graph-matchModel entities as a graph and match patternsBehind graph-style hunting scenarios

4. Three query patterns to recognize

GoalPattern (our own examples)
Failed logons from Windows security eventsSecurityEvent | where TimeGenerated > ago(1d) | where EventID == 4625 | summarize Failures = count() by Computer
Alerts with their evidenceAlertInfo | where Timestamp > ago(7d) | join kind=inner (AlertEvidence | where Timestamp > ago(7d)) on AlertId | project Timestamp, Title, Severity
Hourly spikes in failed sign-insSigninLogs | where TimeGenerated > ago(14d) and ResultType != "0" | make-series Fails = count() on TimeGenerated step 1h | extend Flags = series_decompose_anomalies(Fails)
Practice with 10 free questions: 10 free SC-200 practice questions. Every option is explained, right or wrong. Three of them are KQL.

5. Limits and rules worth memorizing

FeatureWhat Microsoft documents
Advanced hunting query30 days of native data; up to 100,000 rows and 10 minutes per query, plus CPU quotas
Custom detection from advanced huntingNeeds Timestamp or TimeGenerated, and for Defender for Endpoint tables DeviceId + ReportId; up to 150 alerts per run; frequencies every 24, 12, 3 or 1 hours, Continuous (NRT), or Custom with Sentinel data only
Sentinel NRT ruleRuns every minute; up to 50 NRT rules
Data lake interactive queryUp to 500,000 rows, 64 MB and 8 minutes
KQL jobOne-time or scheduled; promotes data from the lake to the analytics tier in a table ending in _KQL_CL
Summary ruleAggregates data on a schedule into a _CL table in the analytics tier
Retention tiersAnalytics tier up to 2 years; Data lake tier up to 12 years, with no real-time analytics rules

Six timed SC-200 practice exams, 300 questions

13-14 KQL questions in every exam, built on the October 21, 2026 list, every option explained.

See the SC-200 course →

SC-200 KQL FAQ

How much KQL is on SC-200?

Microsoft does not publish a number. The audience profile says you perform hunting by using KQL, and threat hunting is 20-25% of the exam. Our practice exams have 13-14 questions with a query in each 50-question test.

Timestamp or TimeGenerated?

Defender XDR advanced hunting tables use Timestamp; Microsoft Sentinel and Log Analytics tables use TimeGenerated. Using the wrong one is a classic trap.

Is has faster than contains?

Yes, for whole terms. has looks up indexed terms of three or more characters; contains searches for any substring and is slower.

What kind of join does KQL use by default?

innerunique. Write kind=inner when you need every matching row from the left side.

Is the eDiscovery KQL the same language?

No. Content search in Microsoft Purview eDiscovery uses the keyword query language (property:value with AND, OR, NOT), not the Kusto Query Language.

More guides: Free SC-200 practice questions · SC-200 exam changes 2026 · Free Security+ SY0-701 questions · Free CISSP practice questions · all guides