AWS Certified SysOps Administrator – Associate — Question 454

A SysOps administrator maintains the security and compliance of a company's AWS account. To ensure the company's Amazon EC2 instances are following company policy, a SysOps administrator wants to terminate any EC2 instance that do not contain a department tag. Noncompliant resources must be terminated in near-real time.
Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

AWS Config allows for the continuous monitoring of resource configurations against desired settings, such as checking for specific tags via the required-tags managed rule. By pairing this rule with automatic remediation using the AWS-TerminateEC2Instance Systems Manager automation document, noncompliant instances can be terminated in near-real time. The other options are incorrect because Amazon SNS cannot directly remediate resources without a computing service like Lambda, changing IAM permissions does not actively enforce tag presence, and stopping instances via Systems Manager does not meet the requirement to terminate them.