AWS Certified Security – Specialty (SCS-C03) — Question 36

A company's security engineer is designing an isolation procedure for Amazon EC2 instances as part of an incident response plan. The security engineer needs to isolate a target instance to block any traffic to and from the target instance, except for traffic from the company's forensics team. Each of the company's EC2 instances has its own dedicated security group. The EC2 instances are deployed in subnets of a VPC. A subnet can contain multiple instances.
The security engineer is testing the procedure for EC2 isolation and opens an SSH session to the target instance. The procedure starts to simulate access to the target instance by an attacker. The security engineer removes the existing security group rules and adds security group rules to give the forensics team access to the target instance on port 22.
After these changes, the security engineer notices that the SSH connection is still active and usable. When the security engineer runs a ping command to the public IP address of the target instance, the ping command is blocked.
What should the security engineer do to isolate the target instance?

Answer options

Correct answer: B

Explanation

The correct answer is B because removing the port 22 rule while allowing access via AWS Systems Manager Session Manager ensures that the forensics team can still connect to the instance without allowing unwanted traffic. The other options either do not achieve the desired isolation or introduce unnecessary complexity and risk, such as allowing all traffic temporarily, which contradicts the isolation objective.