nerdexam
Amazon

SOA-C02 · Question #302

A company has a policy that requires all Amazon EC2 instances to have a specific set of tags. If an EC2 instance does not have the required tags, the noncompliant instance should be terminated. What…

The correct answer is D. Create an AWS Config rule to check if the required tags are present. If an EC2 instance is. https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed- https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-

Submitted by satoshi_tk· Mar 30, 2026Monitoring, Logging, and Remediation

Question

A company has a policy that requires all Amazon EC2 instances to have a specific set of tags. If an EC2 instance does not have the required tags, the noncompliant instance should be terminated. What is the MOST operationally efficient solution that meets these requirements?

Options

  • ACreate an Amazon EventBridge (Amazon CloudWatch Events) rule to send all EC2 instance
  • BCreate an IAM policy that enforces all EC2 instance tag requirements.
  • CCreate an AWS Lambda function to determine if each EC2 instance is compliant and
  • DCreate an AWS Config rule to check if the required tags are present. If an EC2 instance is

How the community answered

(27 responses)
  • A
    4% (1)
  • B
    7% (2)
  • C
    4% (1)
  • D
    85% (23)

Explanation

https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed- https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-

Topics

#AWS Config rules#EC2 tagging#auto-remediation#compliance enforcement

Community Discussion

No community discussion yet for this question.

Full SOA-C02 Practice