ExamQuestions.com

Register
Login
AWS Certified SysOps Administrator Associate Exam Questions

Amazon

AWS Certified SysOps Administrator Associate

64 / 340

Question 64:

You are in charge of the maintenance of AWS resources. CloudTrail has been enabled in your AWS Organization, and events have been delivered to a CloudWatch Log group. You want to use the CloudTrail logs to monitor the configuration changes of EC2 security groups, and any security group change events should trigger a CloudWatch alarm. How would you configure this most easily?

Answer options:

A.Create a Lambda function that fetches the CloudTrail logs from the CloudWatch Logs group, filters the security group events and triggers a CloudWatch alarm.
B.In the CloudTrail console, select the CloudWatch Log group, filter the security group events and create a CloudWatch alarm.
C.In the CloudWatch Log group, create a metric filter that defines the security group change events. Create a CloudWatch alarm with the metric filter.
D.In the CloudWatch Log console, create an Athena table for the CloudTrail logs. In Athena, configure a filter for the security group change events and trigger a CloudWatch alarm.