AWS Certified Security – Specialty — Question 454

A security engineer receives a notice from the AWS Abuse team about suspicious activity from a Linux-based Amazon EC2 instance that uses Amazon Elastic Block Store (Amazon EBS)-based storage. The instance is making connections to known malicious addresses.

The instance is in a development account within a VPC that is in the us-east-1 Region. The VPC contains an internet gateway and has a subnet in us-east-1a and us-east-1 b. Each subnet is associate with a route table that uses the internet gateway as a default route. Each subnet also uses the default network ACL. The suspicious EC2 instance runs within the us-east-1 b subnet. During an initial investigation, a security engineer discovers that the suspicious instance is the only instance that runs in the subnet.

Which response will immediately mitigate the attack and help investigate the root cause?

Answer options

Correct answer: B

Explanation

Option B is correct as it immediately blocks all outbound connections from the subnet, effectively mitigating the attack, while also allowing for a controlled investigation with a dedicated diagnostics EC2 instance. Options A and D do not provide immediate mitigation of the outgoing connections, and Option C involves terminating the instance which may lead to loss of critical data for the investigation.