Question 181 of 510
Security OperationsmediumMultiple SelectObjective-mapped

Quick Answer

The answer is to reset the service account password and revoke active tokens. This is the correct first containment step because service accounts often use long-lived credentials or cached tokens that remain valid even after the initial compromise, so immediately invalidating them cuts off the attacker’s authenticated session and prevents further lateral movement or data exfiltration. On the CompTIA SecurityX CAS-004 exam, this scenario tests your ability to prioritize containment over investigation—a common trap is to first review logs or modify permissions, but those are secondary actions that don’t stop active access. Remember the memory tip: “Kill the keys first”—always disable the authentication mechanism before adjusting access controls, because a locked door is useless if the intruder still has the key.

CAS-004 Security Operations Practice Question

This CAS-004 practice question tests your understanding of security operations. Examine the command output carefully: the correct answer depends on what the output actually shows, not on general recall alone. 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 is investigating a potential data breach. The logs show that an attacker used a compromised service account to access sensitive files on a file server. Which TWO actions should the analyst take FIRST to contain the incident? (Choose TWO.)

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "first"

    Why it matters: Order matters here. You are being tested on which action comes before the others — not which action is generally useful.

Question 1mediummulti select
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

Reset the service account password and revoke any active tokens.

Resetting the service account password and revoking active tokens (C) immediately invalidates the attacker's current authentication credentials, preventing further unauthorized access via that compromised account. This is a critical containment step because service accounts often have persistent access and may use long-lived tokens or cached credentials that remain valid until explicitly revoked.

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.

  • Check the workstation logs for signs of malware.

    Why it's wrong here

    Checking endpoint logs is part of investigation, not immediate containment.

  • Notify law enforcement and the organization's legal department.

    Why it's wrong here

    Notification is typically done after containment and legal review.

  • Reset the service account password and revoke any active tokens.

    Why this is correct

    Immediately stops the attacker's access.

    Clue confirmation

    The clue word "first" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Review and modify permissions on the file server to limit the account's access.

    Why this is correct

    Helps identify and prevent excessive privileges.

    Clue confirmation

    The clue word "first" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Restore the affected files from a known good backup.

    Why it's wrong here

    Restoring is a recovery step, not containment.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Cisco often tests the distinction between containment, eradication, and recovery phases; the trap here is that candidates may confuse a recovery action (restoring backups) or a notification step (calling law enforcement) with the immediate containment priority of cutting off the attacker's access.

Detailed technical explanation

How to think about this question

Service accounts often use OAuth 2.0 tokens or Kerberos tickets that can be cached or delegated; simply changing the password may not invalidate already-issued tokens unless the token issuance service (e.g., Azure AD, ADFS) is explicitly configured to revoke them. In Active Directory environments, resetting the password and then running `Revoke-AzureADUserAllRefreshToken` or using `dsacls` to modify token lifetime policies ensures the attacker's existing sessions are terminated. Real-world breaches like the SolarWinds attack exploited service accounts with long-lived tokens that were not revoked, allowing persistent access even after password changes.

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 practitioner preparing for the CAS-004 exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

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 CAS-004 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 CAS-004 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 CAS-004 question test?

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: Reset the service account password and revoke any active tokens. — Resetting the service account password and revoking active tokens (C) immediately invalidates the attacker's current authentication credentials, preventing further unauthorized access via that compromised account. This is a critical containment step because service accounts often have persistent access and may use long-lived tokens or cached credentials that remain valid until explicitly revoked.

What should I do if I get this CAS-004 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "first". Order matters here. You are being tested on which action comes before the others — not which action is generally useful.

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 CAS-004 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 CAS-004 exam.