AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 214

A company uses an organization in AWS Organizations to manage multiple AWS accounts. The company needs an automated process across all AWS accounts to isolate any compromised Amazon EC2 instances when the instances receive a specific tag.

Which combination of steps will meet these requirements? (Choose two.)

Answer options

Correct answer: A, E

Explanation

Option A is correct because using AWS CloudFormation StackSets allows for the deployment of consistent configurations across multiple accounts. Option E is also correct as it ensures the compromised EC2 instances are isolated by applying a security group with no rules, effectively blocking all traffic. Options B, C, and D do not directly address the requirement for automated isolation in the specified manner.