ExamQuestions.com

Register
Login
AWS Certified Security Specialty Exam Questions

Amazon

AWS Certified Security Specialty

244 / 310

Question 244:

One AWS account of your company has dozens of IAM users. Yesterday, several IAM users performed some unexpected operations, such as terminating EC2 instances. CloudTrail is enabled in the account, and the logs are stored in an S3 bucket and a CloudWatch Log group. You want to identify all AWS Management Console logins that occurred over a 24-hour period. Which of the following methods is the easiest and most cost-efficient?

Answer options:

A.In AWS Athena, perform SQL queries to the CloudTrail log files. Filter the activities to view only ConsoleLogin events that happened during the last 24 hours.
B.In AWS Config, look up all EC2 instances. Check the configuration timeline for each instance to find out who logged in to the AWS console.
C.Login in the AWS CloudTrail console. In the event history, filter the ConsoleLogin resource type and select the time range of yesterday.
D.In the CloudWatch Log group, search for the logs that contain the ConsoleLogin event type over the 24-hour period.