Question 960 of 1,000
Manage identity and accessmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is a scheduled query rule. This is the correct choice because Azure AD audit logs are historical data ingested into Log Analytics, and scheduled queries run on a defined interval—such as every five minutes—to detect patterns like role assignments, allowing you to write a KQL query against the AuditLogs table to trigger an incident when a user is added to a highly privileged role. On the Microsoft Azure Security Engineer Associate AZ-500 exam, this tests your understanding of analytics rule types and their data source compatibility; a common trap is assuming NRT rules work here, but they require a dedicated table with near-real-time streaming and do not support Azure AD audit logs. Remember the memory tip: "Scheduled for history, NRT for streaming"—if your data is already logged, schedule the query.

AZ-500 Manage identity and access Practice Question

This AZ-500 practice question tests your understanding of manage identity and access. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. 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 security analyst uses Microsoft Sentinel. They want to create a rule that triggers an incident when a user is added to a highly privileged Azure AD role (e.g., Global Administrator). The data source is Azure AD audit logs. Which type of analytics rule should they create?

Question 1mediummultiple choice
Full question →

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

Scheduled query rule

A scheduled query rule is the correct choice because Azure AD audit logs are historical data ingested into Log Analytics, and scheduled queries run on a defined interval (e.g., every 5 minutes) to detect patterns like role assignments. This rule type allows you to write a KQL query against the AuditLogs table to identify when a user is added to a highly privileged role, then map the results to an incident. NRT rules are designed for high-frequency, low-latency scenarios but do not support Azure AD audit logs as a source; they require a dedicated table with near-real-time streaming.

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.

  • Scheduled query rule

    Why this is correct

    A scheduled query rule runs a KQL query periodically and creates incidents based on the results, suitable for Azure AD audit logs.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Near-real-time (NRT) rule

    Why it's wrong here

    NRT rules are used for high-volume events with low latency (e.g., from Microsoft 365), but Azure AD audit logs are typically analyzed via scheduled queries.

  • Fusion rule

    Why it's wrong here

    Fusion rules are for advanced multistage attack detection by correlating multiple alerts, not for creating incidents from a single log source.

  • Microsoft Security incident creation rule

    Why it's wrong here

    This rule type creates incidents from alerts generated by Microsoft security services (e.g., Defender for Cloud), not from raw log queries.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates confuse NRT rules with scheduled queries, assuming NRT rules can handle any log source, but Azure AD audit logs are not streamed into the NRT pipeline and require a scheduled query with a defined interval.

Detailed technical explanation

How to think about this question

Under the hood, a scheduled query rule in Microsoft Sentinel uses a KQL query that runs against the AuditLogs table, which contains entries like 'Add member to role' with properties such as 'ActivityDateTime', 'InitiatedBy', and 'TargetResources'. The rule's frequency and lookback period must be carefully tuned to avoid gaps or duplicates; for example, setting a 5-minute frequency with a 10-minute lookback ensures overlapping windows capture all events. A real-world scenario is detecting 'Privileged Role Administrator' assignments, which can be queried with `AuditLogs | where OperationName == "Add member to role" | where TargetResources[0].displayName == "Global Administrator"`.

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 company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

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.

Related practice questions

Related AZ-500 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free AZ-500 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 AZ-500 question test?

Manage identity and access — This question tests Manage identity and access — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Scheduled query rule — A scheduled query rule is the correct choice because Azure AD audit logs are historical data ingested into Log Analytics, and scheduled queries run on a defined interval (e.g., every 5 minutes) to detect patterns like role assignments. This rule type allows you to write a KQL query against the AuditLogs table to identify when a user is added to a highly privileged role, then map the results to an incident. NRT rules are designed for high-frequency, low-latency scenarios but do not support Azure AD audit logs as a source; they require a dedicated table with near-real-time streaming.

What should I do if I get this AZ-500 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 →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

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.

Loading comments…

Sign in to join the discussion.

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.