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

A company is testing incident response procedures for destination containment. The company needs to contain a critical Amazon EC2 instance as quickly as possible while keeping the EC2 instance running. The EC2 instance is the only resource in a public subnet and has active connections to other resources.

Which solution will contain the EC2 instance IMMEDIATELY?

Answer options

Correct answer: C

Explanation

Creating a new network ACL with a Deny rule for both inbound and outbound traffic will immediately contain the EC2 instance by blocking all traffic to and from it. The other options either do not take effect immediately or require stopping the instance, which is not permissible in this scenario.