- A
Create a Power Automate flow that triggers monthly to check sign-in logs and disable inactive users.
Why wrong: Not a built-in Microsoft Entra ID feature.
- B
Use Microsoft Entra Connect to synchronize a 'disable' attribute from on-premises and set it for inactive users.
Why wrong: Entra Connect is for synchronization, not for detecting inactivity.
- C
Configure the 'User sign-in frequency' setting in the 'User feature' settings to automatically remove users inactive for 90 days.
This built-in feature disables users who haven't signed in for the specified period.
- D
Write a PowerShell script using Microsoft Graph API to check last sign-in times and disable users.
Why wrong: This is not a built-in feature; it requires custom scripting.
Quick Answer
The correct answer is to configure the 'User sign-in frequency' setting under 'User feature' settings to automatically revoke access for users inactive for 90 days. This built-in Microsoft Entra ID feature natively enforces a conditional access session control that prompts reauthentication after a specified period; if a user fails to sign in within that window, their tokens expire and access is effectively revoked. On the AZ-500 exam, this scenario tests your ability to distinguish between native Entra ID controls and more complex or costly alternatives like custom PowerShell scripts or third-party identity governance tools. A common trap is confusing this with Entra ID Identity Governance's access reviews, which require P2 licensing and manual approval, whereas sign-in frequency is a cost-effective P1 feature that operates automatically. Memory tip: think of it as a "session timeout for ghosts"—if they haven't logged in for 90 days, the system locks the door automatically.
AZ-500 Secure identity and access Practice Question
This AZ-500 practice question tests your understanding of secure identity and access. 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.
Your organization has a Microsoft Entra ID tenant with 50,000 users. You are designing a solution to automatically revoke access for users who have not signed in for 90 days. The solution must be cost-effective and use built-in Microsoft Entra ID features. What should you do?
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
Configure the 'User sign-in frequency' setting in the 'User feature' settings to automatically remove users inactive for 90 days.
Option C is correct because Microsoft Entra ID includes a built-in 'User sign-in frequency' setting under 'User feature' preview that can automatically revoke access for users who have not signed in for a specified period (e.g., 90 days). This feature is cost-effective as it requires no additional licensing beyond the base Entra ID P1 or P2, and it operates natively without custom scripts or external automation.
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.
- ✗
Create a Power Automate flow that triggers monthly to check sign-in logs and disable inactive users.
Why it's wrong here
Not a built-in Microsoft Entra ID feature.
- ✗
Use Microsoft Entra Connect to synchronize a 'disable' attribute from on-premises and set it for inactive users.
Why it's wrong here
Entra Connect is for synchronization, not for detecting inactivity.
- ✓
Configure the 'User sign-in frequency' setting in the 'User feature' settings to automatically remove users inactive for 90 days.
Why this is correct
This built-in feature disables users who haven't signed in for the specified period.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Write a PowerShell script using Microsoft Graph API to check last sign-in times and disable users.
Why it's wrong here
This is not a built-in feature; it requires custom scripting.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse the 'User sign-in frequency' setting with session lifetime controls in Conditional Access, or assume that only custom scripting (PowerShell or Power Automate) can handle inactivity-based revocation, missing the fact that Entra ID has a native, built-in feature for this exact purpose.
Detailed technical explanation
How to think about this question
The 'User sign-in frequency' setting is part of Entra ID's Conditional Access policies, but when used under 'User feature' settings, it can enforce a maximum time between sign-ins for all users. Under the hood, Entra ID tracks the 'lastSignInDateTime' property for each user; when this period elapses, the user's tokens are invalidated and they must re-authenticate, effectively revoking access. In a real-world scenario with 50,000 users, this avoids the overhead of scanning logs or running scripts, and it works seamlessly with hybrid identities if the sign-in activity is captured in the cloud.
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 startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.
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.
- →
Secure identity and access — study guide chapter
Learn the concepts, then practise the questions
- →
Secure identity and access practice questions
Targeted practice on this topic area only
- →
All AZ-500 questions
1,000 questions across all exam domains
- →
Microsoft Azure Security Engineer Associate AZ-500 study guide
Full concept coverage aligned to exam objectives
- →
AZ-500 practice test guide
How to use practice tests most effectively before exam day
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.
Secure identity and access practice questions
Practise AZ-500 questions linked to Secure identity and access.
Secure compute, storage, and databases practice questions
Practise AZ-500 questions linked to Secure compute, storage, and databases.
Secure Azure using Microsoft Defender for Cloud and Microsoft Sentinel practice questions
Practise AZ-500 questions linked to Secure Azure using Microsoft Defender for Cloud and Microsoft Sentinel.
Manage identity and access practice questions
Practise AZ-500 questions linked to Manage identity and access.
Secure networking practice questions
Practise AZ-500 questions linked to Secure networking.
AZ-500 fundamentals practice questions
Practise AZ-500 questions linked to AZ-500 fundamentals.
AZ-500 scenario practice questions
Practise AZ-500 questions linked to AZ-500 scenario.
AZ-500 troubleshooting practice questions
Practise AZ-500 questions linked to AZ-500 troubleshooting.
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?
Secure identity and access — This question tests Secure identity and access — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Configure the 'User sign-in frequency' setting in the 'User feature' settings to automatically remove users inactive for 90 days. — Option C is correct because Microsoft Entra ID includes a built-in 'User sign-in frequency' setting under 'User feature' preview that can automatically revoke access for users who have not signed in for a specified period (e.g., 90 days). This feature is cost-effective as it requires no additional licensing beyond the base Entra ID P1 or P2, and it operates natively without custom scripts or external automation.
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 →
Last reviewed: Jun 25, 2026
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.
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.