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-
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)- A4% (1)
- B7% (2)
- C4% (1)
- D85% (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
Community Discussion
No community discussion yet for this question.