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.

1. The time column decides the table family
| Where | Time column | Example |
|---|---|---|
| Defender XDR advanced hunting tables | Timestamp | DeviceProcessEvents | where Timestamp > ago(7d) |
| Microsoft Sentinel and Log Analytics tables | TimeGenerated | SigninLogs | where TimeGenerated > ago(1d) |
| Sentinel data in advanced hunting | TimeGenerated (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 need | Table |
|---|---|
| Processes and command lines on devices | DeviceProcessEvents |
| Network connections, file changes, logons on devices | DeviceNetworkEvents · DeviceFileEvents · DeviceLogonEvents |
| Email, attachments, URLs, post-delivery actions, clicks | EmailEvents · EmailAttachmentInfo · EmailUrlInfo · EmailPostDeliveryEvents · UrlClickEvents |
| Alerts and what they touched | AlertInfo · AlertEvidence (join on AlertId) |
| Entra ID sign-ins in advanced hunting | EntraIdSignInEvents (replaces AADSignInEventsBeta, deprecated on October 19, 2026) |
| Windows security events through the Azure Monitor Agent | SecurityEvent |
| Windows Forwarded Events | WindowsEvent (not SecurityEvent) |
| Syslog and CEF through the Azure Monitor Agent | Syslog · CommonSecurityLog |
| Threat intelligence indicators | ThreatIntelIndicators · ThreatIntelObjects (not the legacy ThreatIntelligenceIndicator) |
| Microsoft Graph requests | MicrosoftGraphActivityLogs in Log Analytics · GraphAPIAuditEvents in advanced hunting |
| Azure control-plane activity | AzureActivity |
| Your own data | A 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
| Operator | What it does | Exam trap |
|---|---|---|
== | Equality | = is not a comparison operator; use and and or for logic |
has vs contains | Whole indexed term vs any substring | has is faster for terms of three or more characters |
has_any · in | Match any term in a list · match a value in a list or a let result | Pair let with in to match indicators against logs |
join | Combine two tables on a key | The default kind is innerunique; write kind=inner to keep every match |
lookup | Enrich rows from a smaller table | A common way to add account details from IdentityInfo |
summarize ... by bin() | Aggregate per group and time bucket | count(), dcount(), make_set() and arg_max() go here |
arg_max() | Latest record per entity | summarize arg_max(Timestamp, *) by DeviceId |
make-series + series_decompose_anomalies() | Build a time series and score spikes | summarize with bin() does not build the series these functions need |
parse · extract() · parse_json() · mv-expand | Pull fields out of text, JSON and arrays | mv-expand gives each array item its own row |
ipv4_is_in_range() | Test an IP against a CIDR range | Use it for allow lists and VPN ranges |
union | Stack rows from several tables | Useful for one question across several event tables |
make-graph · graph-match | Model entities as a graph and match patterns | Behind graph-style hunting scenarios |
4. Three query patterns to recognize
| Goal | Pattern (our own examples) |
|---|---|
| Failed logons from Windows security events | SecurityEvent | where TimeGenerated > ago(1d) | where EventID == 4625 | summarize Failures = count() by Computer |
| Alerts with their evidence | AlertInfo | where Timestamp > ago(7d) | join kind=inner (AlertEvidence | where Timestamp > ago(7d)) on AlertId | project Timestamp, Title, Severity |
| Hourly spikes in failed sign-ins | SigninLogs | where TimeGenerated > ago(14d) and ResultType != "0" | make-series Fails = count() on TimeGenerated step 1h | extend Flags = series_decompose_anomalies(Fails) |
5. Limits and rules worth memorizing
| Feature | What Microsoft documents |
|---|---|
| Advanced hunting query | 30 days of native data; up to 100,000 rows and 10 minutes per query, plus CPU quotas |
| Custom detection from advanced hunting | Needs 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 rule | Runs every minute; up to 50 NRT rules |
| Data lake interactive query | Up to 500,000 rows, 64 MB and 8 minutes |
| KQL job | One-time or scheduled; promotes data from the lake to the analytics tier in a table ending in _KQL_CL |
| Summary rule | Aggregates data on a schedule into a _CL table in the analytics tier |
| Retention tiers | Analytics 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.
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