The answer is that the query is missing a `bin` or `bin_at` function to group the results into time windows. Without this, the query returns all historical failures without enforcing the "in an hour" condition, so it cannot detect when a user exceeds 5 failures from the same IP within a 1-hour bucket. On the Microsoft Cybersecurity Architect exam, this tests your understanding of how scheduled analytics rules in Microsoft Sentinel require time-based aggregation to meet detection thresholds—a common trap is assuming a simple `count` filter suffices, but the `bin` on the timestamp column is essential to define the sliding window. Remember the memory tip: "Bin your time, or you'll never catch the crime in the hour."
SC-100 Practice Question: Design security operations, identity, and compliance capabilities
This SC-100 practice question tests your understanding of design security operations, identity, and compliance capabilities. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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.
Exhibit
KQL query:
```kusto
let threshold = 5;
SigninLogs
| where TimeGenerated >= ago(1h)
| where ResultType == "50057"
| summarize Count = count() by UserPrincipalName, IPAddress
| where Count > threshold
```
Refer to the exhibit. A security analyst runs this KQL query in Microsoft Sentinel. The query returns a list of users and IP addresses with failed sign-ins due to 'User Account Disabled' (ResultType 50057). The analyst wants to create a scheduled analytics rule that generates an incident when a user exceeds 5 such failures from the same IP in an hour. Which setting is missing from the query to meet the requirement?
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Add a 'bin' or 'bin_at' to group by time windows.
The query currently returns all failed sign-ins due to 'User Account Disabled' but does not aggregate them into time-based windows. To meet the requirement of generating an incident when a user exceeds 5 failures from the same IP in an hour, the query must group the results into 1-hour time buckets using 'bin' or 'bin_at' on the timestamp column, then count the failures per user and IP per bucket, and filter for counts greater than 5. Without this time-windowing, the query cannot enforce the 'in an hour' condition.
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.
✗
Add a 'let' statement to define the threshold.
Why it's wrong here
Threshold is already defined.
✗
Add a 'project' to select columns.
Why it's wrong here
Unnecessary for incident creation.
✓
Add a 'bin' or 'bin_at' to group by time windows.
Why this is correct
Without binning, the count is over the entire 1-hour window, but for scheduled rules, you need to bin to avoid double-counting across runs.
Related concept
Read the scenario before looking for a memorised answer.
✗
Add a 'where' clause to filter by ResultType.
Why it's wrong here
Already filtered.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Microsoft often tests the candidate's understanding that time-based analytics rules require explicit time-windowing in the query (via bin or bin_at) rather than relying on the rule's run frequency or lookback period alone.
Detailed technical explanation
How to think about this question
In KQL, 'bin' rounds timestamp values to fixed-width bins (e.g., bin(Timestamp, 1h) creates hourly buckets), enabling aggregation like count() per user, IP, and hour. Without bin, the query would count all failures across the entire query time range, not per hour. A real-world scenario: an attacker rotates IPs slowly but stays under a per-hour threshold; bin ensures each hour is evaluated independently, preventing false negatives from long-range aggregation.
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.
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this SC-100 question in full detail.
Design security operations, identity, and compliance capabilities — This question tests Design security operations, identity, and compliance capabilities — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Add a 'bin' or 'bin_at' to group by time windows. — The query currently returns all failed sign-ins due to 'User Account Disabled' but does not aggregate them into time-based windows. To meet the requirement of generating an incident when a user exceeds 5 failures from the same IP in an hour, the query must group the results into 1-hour time buckets using 'bin' or 'bin_at' on the timestamp column, then count the failures per user and IP per bucket, and filter for counts greater than 5. Without this time-windowing, the query cannot enforce the 'in an hour' condition.
What should I do if I get this SC-100 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 →
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.
This SC-100 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-100 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.