exam questions

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 100 discussion

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 requirement?

  • A. Create an Amazon EventBridge (Amazon CloudWatch Events) rule to send all EC2 instance state changes to an AWS Lambda function to determine if each instance is compliant. Terminate any noncompliant instances.
  • B. Create an IAM policy that enforces all EC2 instance tag requirements. If the required tags are not in place for an instance, the policy will terminate noncompliant instance.
  • C. Create an AWS Lambda function to determine if each EC2 instance is compliant and terminate an instance if it is noncompliant. Schedule the Lambda function to invoke every 5 minutes.
  • D. Create an AWS Config rule to check if the required tags are present. If an EC2 instance is noncompliant, invoke an AWS Systems Manager Automation document to terminate the instance.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
johnson_chao
8 months, 3 weeks ago
Selected Answer: D
DDDDDD
upvoted 1 times
...
ronnykapo
1 year, 5 months ago
DDDDDDD
upvoted 2 times
...
michaldavid
2 years ago
Selected Answer: D
ddddddd
upvoted 2 times
...
Liongeek
2 years, 1 month ago
Ans: D
upvoted 1 times
...
Surferbolt
2 years, 2 months ago
Selected Answer: D
D. Use Config.
upvoted 1 times
...
kati2k22cz
2 years, 3 months ago
its D. https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-automation.html
upvoted 4 times
jipark
1 year, 4 months ago
Config Rule terminate or restrict many rules.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...