The answer is to revoke active sessions and OAuth consent grants for the compromised account. This is the most critical next step because changing the password alone does not invalidate existing OAuth tokens or active sessions, meaning an attacker who has already authenticated via OAuth can continue to access mailboxes and exfiltrate data even after a password reset. On the Security+ SY0-701 exam, this scenario tests your understanding of modern authentication attacks, where attackers abuse OAuth consent grants to maintain persistent access—a common trap is assuming a password change is sufficient. The exam often presents a suspicious inbox rule forwarding emails externally, and the key is to recognize that OAuth tokens bypass traditional password controls. Memory tip: think of OAuth tokens as “master keys” that survive a password change; you must revoke them to truly lock the door.
SY0-701 Security Operations Practice Question
This SY0-701 practice question tests your understanding of security operations. 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.
Exhibit
Microsoft 365 audit trail for user amaya@corp.example:
09:41 User clicked link from external message and signed into a lookalike portal
09:42 OAuth consent granted to app 'ExpenseReport-Helper' scopes=Mail.Read, offline_access, User.Read
09:44 Inbox rule created: if subject contains 'invoice' then forward to finance-relay@external.example
09:46 Refresh token issued from unfamiliar IP 203.0.113.88
09:51 Admin deleted inbox rule
09:52 Password changed successfully
Based on the exhibit, what is the most important next IR action?
Microsoft 365 audit trail for user amaya@corp.example:
09:41 User clicked link from external message and signed into a lookalike portal
09:42 OAuth consent granted to app 'ExpenseReport-Helper' scopes=Mail.Read, offline_access, User.Read
09:44 Inbox rule created: if subject contains 'invoice' then forward to finance-relay@external.example
09:46 Refresh token issued from unfamiliar IP 203.0.113.88
09:51 Admin deleted inbox rule
09:52 Password changed successfully
A
Change the password again and monitor the mailbox for a few days.
Why wrong: A second password change does not revoke the malicious app consent or invalidate all active tokens. Monitoring alone leaves a persistence mechanism in place, so the attacker may still be able to access mail through OAuth grants or existing refresh tokens.
B
Revoke active sessions and OAuth consent grants for the account.
The password has already been changed and the inbox rule removed, but the audit trail shows an OAuth consent grant and a refresh token issued from an unfamiliar IP. Those tokens can continue to authorize access even after a password reset. Revoking active sessions and removing the malicious consent closes the persistent access path.
C
Restore the deleted inbox rule from backup to preserve evidence.
Why wrong: Restoring the inbox rule would immediately recreate the malicious forwarding behavior and increase the risk of additional data loss. Evidence should be preserved through logs and exports, not by reintroducing the compromise artifact.
D
Close the incident because the forwarding rule was removed.
Why wrong: Removing one malicious rule does not end the incident. The OAuth consent grant and refresh token can still provide ongoing access after the password change, so the account is not yet fully remediated.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Revoke active sessions and OAuth consent grants for the account.
The exhibit shows a compromised account with a suspicious inbox rule forwarding emails externally. The most critical next step is to revoke active sessions and OAuth consent grants to immediately terminate the attacker's access and prevent further data exfiltration, as changing the password alone does not invalidate existing OAuth tokens or active sessions.
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.
✗
Change the password again and monitor the mailbox for a few days.
Why it's wrong here
A second password change does not revoke the malicious app consent or invalidate all active tokens. Monitoring alone leaves a persistence mechanism in place, so the attacker may still be able to access mail through OAuth grants or existing refresh tokens.
✓
Revoke active sessions and OAuth consent grants for the account.
Why this is correct
The password has already been changed and the inbox rule removed, but the audit trail shows an OAuth consent grant and a refresh token issued from an unfamiliar IP. Those tokens can continue to authorize access even after a password reset. Revoking active sessions and removing the malicious consent closes the persistent access path.
Related concept
Read the scenario before looking for a memorised answer.
✗
Restore the deleted inbox rule from backup to preserve evidence.
Why it's wrong here
Restoring the inbox rule would immediately recreate the malicious forwarding behavior and increase the risk of additional data loss. Evidence should be preserved through logs and exports, not by reintroducing the compromise artifact.
✗
Close the incident because the forwarding rule was removed.
Why it's wrong here
Removing one malicious rule does not end the incident. The OAuth consent grant and refresh token can still provide ongoing access after the password change, so the account is not yet fully remediated.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates assume changing the password is sufficient to stop an attacker, but they overlook that OAuth tokens and active sessions persist independently of password changes, allowing continued unauthorized access.
Detailed technical explanation
How to think about this question
OAuth 2.0 consent grants allow third-party applications to access resources without requiring the user's password. Revoking these grants via the Azure AD admin center or using the `Revoke-AzureADUserAllRefreshToken` PowerShell cmdlet invalidates all refresh and access tokens, effectively cutting off the attacker's session even if they have a valid token. This is critical because modern attacks often use token theft rather than password compromise, and password changes do not invalidate existing tokens.
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 SOC analyst notices unusual lateral movement in the network at 2 AM. The IR playbook dictates: identify and contain (isolate the affected machine), then eradicate (remove the malware), then recover (restore from backup), then document. Skipping containment before eradication risks the attacker regaining access. Questions like this test the sequence and rationale of incident response phases.
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this SY0-701 question in full detail.
Security Operations — This question tests Security Operations — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Revoke active sessions and OAuth consent grants for the account. — The exhibit shows a compromised account with a suspicious inbox rule forwarding emails externally. The most critical next step is to revoke active sessions and OAuth consent grants to immediately terminate the attacker's access and prevent further data exfiltration, as changing the password alone does not invalidate existing OAuth tokens or active sessions.
What should I do if I get this SY0-701 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 →
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. The SOC has contained a mailbox compromise by resetting the password and revoking active sessions. Investigation shows the attacker created an automatic forwarding rule and added an OAuth consent grant. What should happen next to eradicate the threat?
medium
A.Notify all employees to be more careful with email before taking any technical steps.
B.Delete the mailbox and create a new account for the user immediately.
✓ C.Remove the malicious forwarding rule and review or revoke suspicious OAuth app grants.
D.Restore the user's messages from backup and reopen access without further review.
Why C: Option C is correct because the immediate next step after containment is to remove the attacker's persistence mechanisms. The malicious forwarding rule (which exfiltrates emails via SMTP) and the OAuth consent grant (which provides persistent API access) must be removed to fully eradicate the threat. Simply resetting the password and revoking sessions does not remove these backdoors, as OAuth grants persist independently of user credentials.
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.
This SY0-701 practice question is part of Courseiva's free CompTIA 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 SY0-701 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.