AZ-500 Practice Question: Secure Azure using Microsoft Defender for Cloud and Microsoft Sentinel
You are a security analyst in a company that uses Microsoft Sentinel. You need to create a hunting query that identifies failed sign-in attempts from a specific IP address range and then automatically create an incident if the count exceeds a threshold. Which Microsoft Sentinel feature should you use?
⚠ Common exam trap
A common mix-up: candidates confuse hunting queries with scheduled analytics rules; hunting is for manual exploration, while scheduled analytics rules are for automated detection and incident generation.
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
✓
Create a scheduled analytics rule that runs the query and triggers an incident based on the threshold.
Scheduled analytics rules are the correct feature for automated detection and incident creation in Microsoft Sentinel. They allow you to define a query, set a schedule, and specify a threshold for generating incidents. When the query returns results exceeding the threshold, Sentinel creates an incident with the mapped entities. This is ideal for detecting patterns like multiple failed sign-ins from a specific IP range. Other features like hunting or workbooks do not provide this automated incident creation capability.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Create a scheduled analytics rule that runs the query and triggers an incident based on the threshold.
Why this is correct
Scheduled analytics rules in Microsoft Sentinel are designed to run queries at regular intervals, evaluate results against a threshold, and generate incidents automatically. You can write a query to filter failed sign-ins from the IP range, set the rule to trigger when the number of results exceeds a specified threshold, and configure incident creation. This directly meets the requirement for automated detection and incident generation.
- ✗
Configure a workbook that visualizes failed sign-ins and set up an alert rule in Azure Monitor to create an incident.
Why it's wrong here
Workbooks are for visualization and reporting, not for automated detection. While Azure Monitor alert rules can create incidents, they operate on metrics and logs in Azure Monitor, not directly on Microsoft Sentinel queries. Integrating Azure Monitor alerts with Sentinel incidents is possible but more complex and not the native Sentinel approach. The requirement is best met with a scheduled analytics rule.
- ✗
Create a playbook that runs the query on a schedule and sends an email to the security team.
Why it's wrong here
Playbooks are triggered by incidents or alerts, not run on a schedule independently. While you can create a scheduled Logic App that runs a query, it would not create a Microsoft Sentinel incident natively. Incident creation requires an analytics rule. This option misuses playbooks and does not provide the automatic incident creation needed.
- ✗
Use the hunting dashboard to run the query and manually create an incident from the results.
Why it's wrong here
The hunting dashboard allows ad-hoc querying and bookmarking of interesting events, but it does not automatically create incidents based on thresholds. Manual incident creation from hunting results is possible, but the requirement is for automatic incident creation when a threshold is exceeded. Hunting is for proactive exploration, not automated detection.
Go deeper
Related to this question
About these practice questions
This AZ-500 question is part of Courseiva's 617-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Microsoft exam blueprint
This AZ-500 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 AZ-500 exam.