Question 1 of 30
A company has implemented AWS Config to monitor its AWS resources and ensure compliance with internal policies. They have set up a rule to check whether all EC2 instances are tagged with a specific key-value pair, \"Environment: Production.\" After a recent audit, the company discovered that several EC2 instances were not compliant with this tagging rule. To address this issue, the company decides to create a remediation action that automatically tags non-compliant EC2 instances with the required key-value pair. Which of the following steps should the company take to implement this remediation action effectively?
Create an AWS Lambda function that uses the AWS SDK to tag non-compliant EC2 instances and configure AWS Config to trigger this function when a non-compliance event occurs.
Set up an AWS CloudFormation stack that includes a tagging policy for EC2 instances and deploy it to ensure compliance.
Use AWS Systems Manager to create a run command that tags all EC2 instances and schedule it to run daily.
Manually review the non-compliant instances and apply the required tags through the AWS Management Console.

Preparing for Amazon SCS-C02 AWS Certified Security – Specialty (SCS-C02)? Now land the interview.

73% of qualified candidates get rejected because of weak resumes. Build an ATS-optimized, recruiter-ready resume in under 5 minutes - free to start.

Build My Resume Free