Question 585 of 1,738
Threat Detection and Incident ResponsemediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is to remove the instance from the target group and apply a security group that denies all traffic. This approach immediately stops exfiltration by cutting off new connections from the Application Load Balancer and halting any ongoing outbound traffic, all while preserving the EC2 instance and its attached EBS volumes for forensic analysis. On the AWS Certified Security Specialty SCS-C02 exam, this scenario tests your understanding of incident response containment strategies that prioritize evidence preservation over brute-force actions like termination or shutdown, which would destroy volatile memory and logs. A common trap is choosing to detach the instance or modify the Auto Scaling group, but those actions either lose data or fail to stop traffic instantly. Memory tip: think “isolate, don’t obliterate”—the goal is to quarantine the instance without deleting it, keeping the disk and memory intact for later investigation.

SCS-C02 Threat Detection and Incident Response Practice Question

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

A security engineer notices that an EC2 instance is sending outbound traffic to a known malicious IP address. The instance is part of an Auto Scaling group behind an Application Load Balancer. The engineer needs to immediately stop the exfiltration while preserving forensic evidence. What is the BEST course of action?

Clue words in this question

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

  • Clue: "best"

    Why it matters: Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.

  • Clue: "immediately / without restart"

    Why it matters: Time or reboot constraint — the correct answer must take effect right away without requiring a reboot or reload.

Question 1mediummultiple 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

Remove the instance from the target group and apply a security group that denies all traffic.

Option D is correct because removing the instance from the target group immediately stops new traffic from the Application Load Balancer to the instance, while applying a security group that denies all outbound traffic (e.g., a custom security group with no outbound rules) halts any ongoing exfiltration without destroying the instance or its attached EBS volumes. This preserves the forensic evidence (memory, disk, logs) for later analysis, unlike termination or shutdown which could lose volatile data.

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.

  • Detach the EBS volume from the instance.

    Why it's wrong here

    Does not stop network traffic.

  • Terminate the EC2 instance immediately.

    Why it's wrong here

    Terminating destroys evidence.

  • Shut down the instance from within the OS.

    Why it's wrong here

    May lose volatile data and does not isolate network immediately.

  • Remove the instance from the target group and apply a security group that denies all traffic.

    Why this is correct

    Stops traffic and preserves the instance for investigation.

    Clue confirmation

    The clue words "best", "immediately / without restart" 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 choose 'Terminate the EC2 instance immediately' (Option B) thinking it stops the exfiltration fastest, but they overlook the need to preserve forensic evidence and the fact that termination destroys the instance and its associated data, making post-incident analysis impossible.

Detailed technical explanation

How to think about this question

When an instance is removed from the target group, the ALB stops routing new requests to it, but existing connections may persist until they time out; applying a security group with a deny-all outbound rule (e.g., an empty outbound rule set) immediately drops all outbound packets at the hypervisor level, effectively cutting off exfiltration. This approach leverages the AWS security group stateful firewall, which evaluates outbound traffic before it leaves the instance, and does not require modifying the instance's OS or network configuration. In a real-world scenario, the engineer would then snapshot the EBS volumes and capture memory using tools like 'LiME' or 'AVML' before any further analysis.

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 healthcare organisation deploys an application with a public-facing web tier and a private database tier. The database subnet has no public IP and only accepts connections from the web tier's security group. Questions like this test whether you can design cloud network isolation using VNets/VPCs, subnets, and security group rules.

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: Remove the instance from the target group and apply a security group that denies all traffic. — Option D is correct because removing the instance from the target group immediately stops new traffic from the Application Load Balancer to the instance, while applying a security group that denies all outbound traffic (e.g., a custom security group with no outbound rules) halts any ongoing exfiltration without destroying the instance or its attached EBS volumes. This preserves the forensic evidence (memory, disk, logs) for later analysis, unlike termination or shutdown which could lose volatile data.

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: "best", "immediately / without restart". Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.

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

1 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. A security engineer notices that an EC2 instance is sending outbound traffic to a known malicious IP address. The engineer needs to quickly block all traffic to that IP while preserving the instance for forensic analysis. Which approach is the most effective?

hard
  • A.Stop the instance immediately.
  • B.Modify the instance's security group to deny outbound traffic to the malicious IP.
  • C.Add a network ACL rule to deny outbound traffic from the instance's subnet to the malicious IP.
  • D.Modify the route table to route traffic to the malicious IP to a blackhole.

Why B: Modifying the security group to deny outbound traffic to that IP is quick and reversible. Using NACLs is slower and affects subnets. Stopping the instance loses volatile data. Route table modification is not effective for a single IP.

Keep practising

More SCS-C02 practice questions

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.