A company adopted compliance requirements to log all user actions across every account in an AWS Organizations organization. The company must trigger alarms for specified actions and deliver alerts to an email distribution list with near-real-time responsiveness. Which solution meets these requirements?
Choose an answer
Tap an option to check your answer.
Correct answer: Configure an AWS CloudTrail organizational trail with Amazon CloudWatch Logs integration. In CloudWatch Logs, create metric filters for the specified user actions. Create Amazon CloudWatch alarms that publish to an Amazon Simple Notification Service (Amazon SNS) topic for alerts..
Why this is the answer
The correct solution uses an AWS CloudTrail organizational trail to centralize logging across all accounts, fulfilling the "all user actions across every account" requirement. Integrating with CloudWatch Logs allows for real-time analysis. Metric filters in CloudWatch Logs can identify specific user actions, and CloudWatch Alarms can then trigger based on these filters. Publishing to an Amazon SNS topic ensures near-real-time alerts are delivered to an email distribution list. The incorrect options fail for several reasons: Creating a non-organizational CloudTrail trail would require configuring it in each account, which is inefficient and doesn't meet the "across every account" requirement for centralized management. Sending messages to an SQS queue would require another service to poll the queue and send notifications, adding latency. Delivering logs directly to S3 and then mounting the bucket on an EC2 instance for ingestion is a complex and less scalable approach than using CloudWatch Logs for real-time analysis and alerting. Building an AWS Glue Data Catalog and using Athena queries hourly introduces significant latency, failing the "near-real-time responsiveness" requirement.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed