Question 439 of 1,738
Threat Detection and Incident ResponsehardMultiple ChoiceObjective-mapped

Quick Answer

The correct first step is to use AWS Systems Manager Run Command to create a memory dump and store it in S3. This is because volatile data—such as running processes, active network connections, and encryption keys in RAM—is the most fragile and easily lost forensic evidence; any action that stops, snapshots, or detaches the instance will alter or destroy this data. On the AWS Certified Security Specialty SCS-C02 exam, this scenario tests your understanding of the forensic order of volatility, where memory capture must precede any disk-level or instance-state changes. A common trap is choosing to take an EBS snapshot first, which preserves disk data but loses the critical memory state that may contain indicators of compromise. Remember the mnemonic "Memory Before Metal"—always capture volatile memory before touching persistent storage.

SCS-C02 Threat Detection and Incident Response Practice Question

This SCS-C02 practice question tests your understanding of threat detection and incident response. 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.

During an incident response, a security engineer needs to preserve the state of an EC2 instance for forensic analysis. The instance is running a production workload that cannot be interrupted. Which of the following actions should the engineer take FIRST to ensure data integrity?

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 1hardmultiple 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

Use AWS Systems Manager Run Command to create a memory dump and store it in S3.

Option D is correct because during an incident response, preserving volatile data (such as memory contents) is critical before any other action that might alter the system state. AWS Systems Manager Run Command can execute a command (e.g., using `dd` or `LiME`) to capture a memory dump and store it in Amazon S3 without interrupting the production workload. This ensures that forensic artifacts like running processes, network connections, and encryption keys are preserved before any disk-level operations that could overwrite or modify evidence.

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.

  • Run the dd command to clone the root volume to another EBS volume.

    Why it's wrong here

    Running dd on a live filesystem can cause data corruption.

  • Create an AMI from the instance while it is running.

    Why it's wrong here

    Creating an AMI while the instance is running may result in an inconsistent image.

  • Take a snapshot of the attached EBS volumes while the instance is running.

    Why it's wrong here

    Snapshots of a running instance may be inconsistent; recommended to stop first.

  • Use AWS Systems Manager Run Command to create a memory dump and store it in S3.

    Why this is correct

    Memory dumps capture volatile data for forensic analysis without stopping the instance.

    Clue confirmation

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

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often prioritize disk-level preservation (snapshots or AMIs) as the first step, forgetting that volatile memory contains critical evidence that is lost the moment the instance is stopped or snapshotted, and that AWS Systems Manager can capture this data without interrupting the workload.

Detailed technical explanation

How to think about this question

Memory forensics relies on capturing the contents of RAM, which includes kernel data structures, open network sockets, and active processes that are not stored on disk. Tools like LiME (Linux Memory Extractor) or `dumpit` for Windows can be invoked via Systems Manager Run Command to write the memory dump directly to S3 using the AWS CLI or SDK. Under the hood, Systems Manager uses the SSM Agent installed on the EC2 instance to execute commands with minimal performance impact, and the memory dump is streamed to S3 to avoid filling the instance's local disk, which is critical for production workloads that cannot be interrupted.

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.

Related practice questions

Related SCS-C02 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 SCS-C02 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 SCS-C02 question test?

Threat Detection and Incident Response — This question tests Threat Detection and Incident Response — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Use AWS Systems Manager Run Command to create a memory dump and store it in S3. — Option D is correct because during an incident response, preserving volatile data (such as memory contents) is critical before any other action that might alter the system state. AWS Systems Manager Run Command can execute a command (e.g., using `dd` or `LiME`) to capture a memory dump and store it in Amazon S3 without interrupting the production workload. This ensures that forensic artifacts like running processes, network connections, and encryption keys are preserved before any disk-level operations that could overwrite or modify evidence.

What should I do if I get this SCS-C02 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

Same concept, more angles

3 more ways this is tested on SCS-C02

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. During a security incident, a security engineer needs to preserve forensic evidence from an EC2 instance that may be compromised. The instance is running a critical application. Which approach minimizes data loss while ensuring the integrity of the evidence?

hard
  • A.Create an EBS snapshot, then isolate the instance by modifying the security group and removing it from the load balancer.
  • B.Immediately terminate the instance to stop any ongoing malicious activity.
  • C.SSH into the instance and run forensic tools to capture memory.
  • D.Detach the instance from the Auto Scaling group and leave it running without changes.

Why A: Option A is correct because creating an EBS snapshot preserves the disk state at the point of the incident, capturing forensic evidence without altering the running instance. Isolating the instance by modifying the security group (e.g., removing all inbound/outbound rules) and removing it from the load balancer stops network traffic and prevents further compromise, minimizing data loss while maintaining the integrity of the evidence for later analysis.

Variation 2. During incident response, a security engineer needs to preserve the state of a running EC2 instance for forensic analysis without losing volatile data. The instance is in an Auto Scaling group. Which action should the engineer take FIRST?

hard
  • A.Detach the instance from the Auto Scaling group.
  • B.Stop the instance to preserve its EBS volumes.
  • C.Take an AMI of the instance immediately.
  • D.Suspend the `HealthCheck` and `ReplaceUnhealthy` processes on the Auto Scaling group.

Why D: Option D is correct because suspending the `HealthCheck` and `ReplaceUnhealthy` processes on the Auto Scaling group prevents the group from detecting the instance as unhealthy and terminating it while the engineer preserves volatile data. This is the first step to ensure the instance remains running and accessible for forensic collection (e.g., memory dump) before any other actions that could alter its state.

Variation 3. During an incident response, a security engineer needs to preserve the state of an EC2 instance's root volume for forensic analysis. The instance is still running. Which action should be taken to ensure the data is preserved without altering it?

medium
  • A.Stop the instance and then create an AMI.
  • B.Create a snapshot of the root volume.
  • C.Use dd if=/dev/xvda over SSH to copy the volume.
  • D.Detach the root volume and attach it to a forensics instance.

Why B: Creating a snapshot of the root volume is the correct action because it captures a point-in-time, crash-consistent copy of the volume's data without requiring the instance to be stopped or the volume to be detached. This preserves the current state of the running instance for forensic analysis while ensuring the data is not altered by the snapshot process itself, as AWS snapshots are read-only and do not modify the source volume.

Last reviewed: Jun 24, 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 SCS-C02 practice question is part of Courseiva's free Amazon Web Services 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 SCS-C02 exam.