- A
SigninLogs | summarize FailedCount = count() by UserPrincipalName, IPAddress, bin(TimeGenerated, 15m) | where FailedCount > 10
Why wrong: This counts total failed attempts per IP, not distinct IPs per user.
- B
SigninLogs | summarize DistinctIPs = dcount(IPAddress) by UserPrincipalName, bin(TimeGenerated, 15m) | where DistinctIPs > 10
This correctly calculates distinct IPs per user per 15-minute bin and filters for more than 10.
- C
SigninLogs | summarize DistinctIPs = count() by UserPrincipalName, IPAddress | where DistinctIPs > 10
Why wrong: Missing time bin and counts per IP instead of distinct IPs per user.
- D
SigninLogs | where Status contains 'Failed' | summarize by UserPrincipalName, IPAddress | count > 10
Why wrong: Invalid KQL syntax; does not use summarize correctly and lacks time filtering.
SC-200 dcount() 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. A key principle to apply: dcount(). 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 create a Microsoft Sentinel scheduled analytics rule that triggers when an Microsoft Entra ID user performs more than 10 failed sign-in attempts from different IP addresses within 15 minutes, using the SigninLogs table. Which KQL query aggregate pattern should be used?
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
SigninLogs | summarize DistinctIPs = dcount(IPAddress) by UserPrincipalName, bin(TimeGenerated, 15m) | where DistinctIPs > 10
Option B is correct because the query uses `dcount(IPAddress)` to count distinct IP addresses per user within a 15-minute time window, then filters for users with more than 10 distinct IPs. This directly matches the requirement to detect failed sign-ins from different IP addresses, not just total failed attempts.
Key principle: dcount()
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
SigninLogs | summarize FailedCount = count() by UserPrincipalName, IPAddress, bin(TimeGenerated, 15m) | where FailedCount > 10
Why it's wrong here
This counts total failed attempts per IP, not distinct IPs per user.
- ✓
SigninLogs | summarize DistinctIPs = dcount(IPAddress) by UserPrincipalName, bin(TimeGenerated, 15m) | where DistinctIPs > 10
Why this is correct
This correctly calculates distinct IPs per user per 15-minute bin and filters for more than 10.
Related concept
dcount()
- ✗
SigninLogs | summarize DistinctIPs = count() by UserPrincipalName, IPAddress | where DistinctIPs > 10
Why it's wrong here
Missing time bin and counts per IP instead of distinct IPs per user.
- ✗
SigninLogs | where Status contains 'Failed' | summarize by UserPrincipalName, IPAddress | count > 10
Why it's wrong here
Invalid KQL syntax; does not use summarize correctly and lacks time filtering.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse counting total events with counting distinct values, leading them to pick Option A which counts all failures instead of distinct IPs.
Detailed technical explanation
How to think about this question
The `dcount()` function uses HyperLogLog algorithm for approximate distinct counts, which is efficient for large datasets like SigninLogs. In a real SOC scenario, an attacker might rotate IPs via proxies or VPNs to evade detection; counting distinct IPs per user within a short window is a classic brute-force detection pattern. The `bin(TimeGenerated, 15m)` creates fixed 15-minute buckets, ensuring the rule evaluates sliding windows correctly when used with a scheduled query.
KKey Concepts to Remember
- dcount()
- bin()
- summarize
- SigninLogs
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
dcount()
Real-world example
How this comes up in practice
A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. dcount() Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.
What to study next
Got this wrong? Here's your next step.
Review dcount(), then practise related SC-200 questions on the same topic to reinforce the concept.
- →
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 — dcount().
What is the correct answer to this question?
The correct answer is: SigninLogs | summarize DistinctIPs = dcount(IPAddress) by UserPrincipalName, bin(TimeGenerated, 15m) | where DistinctIPs > 10 — Option B is correct because the query uses `dcount(IPAddress)` to count distinct IP addresses per user within a 15-minute time window, then filters for users with more than 10 distinct IPs. This directly matches the requirement to detect failed sign-ins from different IP addresses, not just total failed attempts.
What should I do if I get this SC-200 question wrong?
Review dcount(), then practise related SC-200 questions on the same topic to reinforce the concept.
What is the key concept behind this question?
dcount()
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 →
Keep practising
More SC-200 practice questions
- Which TWO are valid sources of evidence in a Microsoft Sentinel incident? (Choose two.)
- An organization uses Microsoft 365 Defender. During an incident, the analyst wants to automatically isolate a compromise…
- Which THREE steps are part of the incident response process when using Microsoft Sentinel?
- Refer to the exhibit. You are reviewing a Microsoft Sentinel scheduled analytics rule configured as above. An incident w…
- A security analyst is preparing to use a Jupyter notebook for threat hunting in Microsoft Sentinel. Which of the followi…
- You are investigating a ransomware incident in Microsoft Sentinel. The incident contains multiple alerts. You need to gr…
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.