- A
Self-join SigninLogs on UserPrincipalName, where TimeGenerated difference < 60m and Location != Location, then summarize by bin(TimeGenerated, 1h).
This pattern correctly identifies pairs and can be used to generate an alert for each pair.
- B
Use the `make_list()` function to aggregate all locations per user within a 60-minute window and check if the list has more than one distinct value.
Why wrong: This approach does not capture the time proximity between individual sign-ins; it could sign from two IPs 59 minutes apart but also from a third IP many days later if the bin is 1 hour, but the rule should trigger only when two sign-ins happen within 60 minutes of each other, not just within the same hour bin.
- C
Use the `series_decompose()` function to detect outliers in location sequences.
Why wrong: Series decompose is for time series anomaly detection, not for simple impossible travel detection.
- D
Use the `rolling_join()` function to compare each sign-in with the previous one per user.
Why wrong: There is no `rolling_join()` function in KQL. The correct approach is a self-join or using `prev()` with a time filter.
SC-200 Mitigate threats using Microsoft Sentinel Practice Question
This SC-200 practice question tests your understanding of mitigate threats using microsoft sentinel. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A SOC analyst needs to write a KQL query for a Microsoft Sentinel scheduled analytics rule that detects impossible travel activity. The rule should alert when a user signs in from two different countries within 60 minutes. The analyst has the SigninLogs table with columns: UserPrincipalName, IPAddress, Location (country), TimeGenerated. Which KQL query pattern correctly triggers an alert for each pair of sign-ins meeting the condition?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Self-join SigninLogs on UserPrincipalName, where TimeGenerated difference < 60m and Location != Location, then summarize by bin(TimeGenerated, 1h).
Option A is correct because it uses a self-join on the SigninLogs table to compare each sign-in event with every other sign-in event for the same user (UserPrincipalName). The join condition filters for pairs where the absolute time difference is less than 60 minutes (TimeGenerated difference < 60m) and the locations are different (Location != Location). This directly identifies any two sign-ins from different countries within the 60-minute window, which is the exact definition of impossible travel. The subsequent summarize by bin(TimeGenerated, 1h) groups the results into hourly buckets to trigger a single alert per detection window, as required by a scheduled analytics rule.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Self-join SigninLogs on UserPrincipalName, where TimeGenerated difference < 60m and Location != Location, then summarize by bin(TimeGenerated, 1h).
Why this is correct
This pattern correctly identifies pairs and can be used to generate an alert for each pair.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Use the `make_list()` function to aggregate all locations per user within a 60-minute window and check if the list has more than one distinct value.
Why it's wrong here
This approach does not capture the time proximity between individual sign-ins; it could sign from two IPs 59 minutes apart but also from a third IP many days later if the bin is 1 hour, but the rule should trigger only when two sign-ins happen within 60 minutes of each other, not just within the same hour bin.
- ✗
Use the `series_decompose()` function to detect outliers in location sequences.
Why it's wrong here
Series decompose is for time series anomaly detection, not for simple impossible travel detection.
- ✗
Use the `rolling_join()` function to compare each sign-in with the previous one per user.
Why it's wrong here
There is no `rolling_join()` function in KQL. The correct approach is a self-join or using `prev()` with a time filter.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates may assume a simple aggregation (like `make_list()`) is sufficient, but they overlook the need for a pairwise comparison with a sliding 60-minute window, which only a self-join can correctly implement in KQL.
Detailed technical explanation
How to think about this question
The self-join pattern in KQL for impossible travel detection relies on the `join kind=inner` clause with a condition that uses `abs(TimeGenerated - TimeGenerated) < 60m` to compare timestamps across rows. This is computationally expensive on large datasets, so in practice, analysts often pre-filter the table to a recent time window (e.g., last 2 hours) and use a `where` clause to exclude self-matches (e.g., `$left.SigninId != $right.SigninId`). The `bin(TimeGenerated, 1h)` in the summarize step ensures that the rule fires once per hour per user, aligning with Sentinel's scheduled rule execution frequency to avoid duplicate alerts.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Mitigate threats using Microsoft Sentinel — study guide chapter
Learn the concepts, then practise the questions
- →
Mitigate threats using Microsoft Sentinel practice questions
Targeted practice on this topic area only
- →
All SC-200 questions
1,639 questions across all exam domains
- →
Microsoft Security Operations Analyst SC-200 study guide
Full concept coverage aligned to exam objectives
- →
SC-200 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related SC-200 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Manage a security operations environment practice questions
Practise SC-200 questions linked to Manage a security operations environment.
Respond to security incidents practice questions
Practise SC-200 questions linked to Respond to security incidents.
Perform threat hunting practice questions
Practise SC-200 questions linked to Perform threat hunting.
Mitigate threats using Microsoft Defender XDR practice questions
Practise SC-200 questions linked to Mitigate threats using Microsoft Defender XDR.
Mitigate threats using Microsoft Defender for Cloud practice questions
Practise SC-200 questions linked to Mitigate threats using Microsoft Defender for Cloud.
Mitigate threats using Microsoft Sentinel practice questions
Practise SC-200 questions linked to Mitigate threats using Microsoft Sentinel.
SC-200 fundamentals practice questions
Practise SC-200 questions linked to SC-200 fundamentals.
SC-200 scenario practice questions
Practise SC-200 questions linked to SC-200 scenario.
SC-200 troubleshooting practice questions
Practise SC-200 questions linked to SC-200 troubleshooting.
Practice this exam
Start a free SC-200 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this SC-200 question test?
Mitigate threats using Microsoft Sentinel — This question tests Mitigate threats using Microsoft Sentinel — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Self-join SigninLogs on UserPrincipalName, where TimeGenerated difference < 60m and Location != Location, then summarize by bin(TimeGenerated, 1h). — Option A is correct because it uses a self-join on the SigninLogs table to compare each sign-in event with every other sign-in event for the same user (UserPrincipalName). The join condition filters for pairs where the absolute time difference is less than 60 minutes (TimeGenerated difference < 60m) and the locations are different (Location != Location). This directly identifies any two sign-ins from different countries within the 60-minute window, which is the exact definition of impossible travel. The subsequent summarize by bin(TimeGenerated, 1h) groups the results into hourly buckets to trigger a single alert per detection window, as required by a scheduled analytics rule.
What should I do if I get this SC-200 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 11, 2026
This SC-200 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SC-200 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.