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? (Select TWO.)
This corresponds to Option A: Use AWS CloudFormation StackSets to deploy the CloudFormation stacks in all AWS accounts.
* Step 2: Isolate EC2 Instances using Lambda and Security Groups When an EC2 instance is compromised, it needs to be isolated from the network. This can be done by creating a security group with no inbound or outbound rules and attaching it to the instance. A Lambda function can handle this process and can be triggered automatically by an Amazon EventBridge rule when a specific tag (e.g., 'isolation') is applied to the compromised instance.
Action: Create a Lambda function that attaches an isolated security group (with no inbound or outbound rules) to the compromised EC2 instances. Set up an EventBridge rule to trigger the Lambda function when the 'isolation' tag is applied to the instance.
Why: This automates the isolation process, ensuring that any compromised instances are immediately cut off from the network, reducing the potential damage from the compromise.
This corresponds to Option E: Create an AWS CloudFormation template that creates an EC2 instance role that has no IAM policies attached. Configure the template to have a security group that has no inbound rules or outbound rules. Use the CloudFormation template to create an AWS Lambda function that attaches the IAM role to instances. Configure the Lambda function to replace any existing security groups with the new security group. Set up an Amazon EventBridge rule to invoke the Lambda function when a specific tag is applied to a compromised EC2 instance.
Maryanne
9 months agoQueen
9 months agoRochell
10 months agoTanesha
10 months agoOrville
10 months agoJimmie
10 months agoBeatriz
11 months agoGiovanna
11 months agoTommy
11 months agoHarris
11 months agoLong
11 months agoStephaine
11 months agoCarmen
11 months agoMammie
11 months agoIzetta
2 years agoJeniffer
2 years agoStephaine
2 years agoHyman
2 years agoSommer
2 years agoCarolynn
2 years agoBlair
2 years agoMozell
2 years agoMilly
2 years agoMaile
2 years agoFredric
2 years agoKrissy
2 years agoMila
2 years agoKrissy
2 years agoHector
2 years agoDiane
2 years ago