This SY0-701 practice question tests your understanding of security operations. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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
Email security investigation for user amiller
- User submitted credentials on a fake sign-in page at 08:22
- Password was reset at 08:35
- Active sessions were revoked at 08:36
- Mailbox audit now shows:
* Inbox rule: 'FinanceDocs' forwards any message with 'invoice' to external address redacted@proton.example
* OAuth consent granted to unknown application 'QuickDocs Sync'
* Deleted Items folder contains no suspicious messages
Help desk confirms the user still has access to the mailbox after reset.
Based on the exhibit, what should the team do next after the account has been contained?
Email security investigation for user amiller
- User submitted credentials on a fake sign-in page at 08:22
- Password was reset at 08:35
- Active sessions were revoked at 08:36
- Mailbox audit now shows:
* Inbox rule: 'FinanceDocs' forwards any message with 'invoice' to external address redacted@proton.example
* OAuth consent granted to unknown application 'QuickDocs Sync'
* Deleted Items folder contains no suspicious messages
Help desk confirms the user still has access to the mailbox after reset.
A
Close the incident because the password reset removed the attacker from the environment.
Why wrong: Resetting the password is only one containment step. Persistence mechanisms can still remain in the mailbox and token store.
B
Remove mailbox persistence, revoke all tokens and app consent, then monitor for reentry.
The exhibit shows post-compromise persistence through a forwarding rule and unauthorized OAuth consent. After containment, the team must eradicate those artifacts, revoke any remaining tokens or sessions, and verify that no attacker-controlled application retains access. That sequence moves the response from containment into eradication and prepares the account for safe recovery and monitoring.
C
Reimage the user's laptop before reviewing mailbox settings.
Why wrong: The evidence points to a mailbox compromise, not an endpoint infection. Reimaging the laptop does not address the forwarding rule or OAuth app.
D
Restore the mailbox from backup to remove the forwarding rule and keep the user productive.
Why wrong: Restoring a mailbox can be disruptive and may reintroduce unwanted content. It also does not replace the need to investigate and remove the attacker access path.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Remove mailbox persistence, revoke all tokens and app consent, then monitor for reentry.
Option B is correct because after containing a compromised account (e.g., disabling it or resetting its password), the attacker may still have established persistence mechanisms such as mailbox forwarding rules, OAuth app consent grants, or session tokens that survive a password reset. Removing these artifacts and revoking all tokens and app consents ensures the attacker cannot regain access via delegated permissions or persistent mailbox rules. Monitoring for reentry is critical to detect any residual access or new compromise attempts.
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.
✗
Close the incident because the password reset removed the attacker from the environment.
Why it's wrong here
Resetting the password is only one containment step. Persistence mechanisms can still remain in the mailbox and token store.
✓
Remove mailbox persistence, revoke all tokens and app consent, then monitor for reentry.
Why this is correct
The exhibit shows post-compromise persistence through a forwarding rule and unauthorized OAuth consent. After containment, the team must eradicate those artifacts, revoke any remaining tokens or sessions, and verify that no attacker-controlled application retains access. That sequence moves the response from containment into eradication and prepares the account for safe recovery and monitoring.
Related concept
Read the scenario before looking for a memorised answer.
✗
Reimage the user's laptop before reviewing mailbox settings.
Why it's wrong here
The evidence points to a mailbox compromise, not an endpoint infection. Reimaging the laptop does not address the forwarding rule or OAuth app.
✗
Restore the mailbox from backup to remove the forwarding rule and keep the user productive.
Why it's wrong here
Restoring a mailbox can be disruptive and may reintroduce unwanted content. It also does not replace the need to investigate and remove the attacker access path.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates assume a password reset fully evicts an attacker, overlooking that OAuth tokens and mailbox rules provide persistent access independent of the account password.
Detailed technical explanation
How to think about this question
When an attacker compromises a Microsoft 365 account, they often create inbox rules (e.g., via Outlook Web Access or Exchange Online PowerShell) to forward sensitive emails, and they may grant OAuth permissions to malicious apps (via the Azure AD consent framework) that persist even after a password reset. Revoking tokens (using `Revoke-AzureADUserAllRefreshToken` or the Microsoft Graph API) invalidates all existing session tokens, while removing app consents (via the Azure portal or `Remove-AzureADUserAppRoleAssignment`) eliminates delegated access. This two‑step process is essential because OAuth tokens and app permissions are not invalidated by a password change, allowing the attacker to continue accessing the mailbox via the app’s delegated permissions.
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: Remove mailbox persistence, revoke all tokens and app consent, then monitor for reentry. — Option B is correct because after containing a compromised account (e.g., disabling it or resetting its password), the attacker may still have established persistence mechanisms such as mailbox forwarding rules, OAuth app consent grants, or session tokens that survive a password reset. Removing these artifacts and revoking all tokens and app consents ensures the attacker cannot regain access via delegated permissions or persistent mailbox rules. Monitoring for reentry is critical to detect any residual access or new compromise attempts.
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 →
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.