A company is testing incident response procedures for destination containment. The company must isolate a critical Amazon EC2 instance immediately while keeping it running. The instance is the only resource in its public subnet and has active connections to other resources. Which solution will contain the instance immediately?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a new network ACL with a single Deny rule for all inbound and all outbound traffic. Associate the network ACL with the subnet that contains the EC2 instance..
Why this is the answer
The correct solution is to create a new network ACL (NACL) with deny rules for all inbound and outbound traffic and associate it with the subnet. NACLs operate at the subnet level, providing an immediate and comprehensive way to block all traffic to and from the EC2 instance within that subnet without stopping the instance. This fulfills the requirement to isolate the instance while keeping it running. Modifying the instance's security group or attaching a new one would only affect traffic at the instance level and might not immediately sever all existing connections or prevent new ones if other security groups are also attached or if the existing rules are complex. Creating a new VPC and migrating the instance would involve stopping the instance, which violates the requirement to keep it running.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed