AWS Certified Security – Specialty (SCS-C02) — Question 231

A company runs workloads that are spread across hundreds of Amazon EC2 instances. During a recent security incident, an EC2 instance was compromised and ran malware code until the company manually terminated the instance.

The company is now using Amazon GuardDuty to detect malware on EC2 instances. A security engineer needs to implement a solution that automates a response when GuardDuty determines that an instance is infected. The solution must mitigate the incident and must comply with the AWS Well-Architected Framework guidance for incident response.

Which solution will meet these requirements?

Answer options

Correct answer: C

Explanation

The correct answer, C, effectively mitigates the incident by detaching EBS volumes and terminating the compromised instance, preventing further malware execution. Option A fails to isolate the instance from threats, while B only removes network interfaces without stopping the instance, and D complicates the response by moving the instance instead of terminating it, which does not resolve the immediate threat.