DEA-C01 practice question 23 of 25
A company stores its processed data in an S3 bucket. The company has a strict data access policy. The company uses IAM roles to grant teams within…
Full set: 287 questionsAWS CloudTrail is the appropriate service for auditing API activity. By enabling data events for the S3 bucket, all object-level API calls (like GetObject, PutObject, DeleteObject) are logged. These logs include the userIdentity element, which contains details about the principal that made the request, such as the username or assumed role. These detailed logs can be sent to Amazon CloudWatch Logs. In CloudWatch, you can create metric filters to search for specific patterns, such as AccessDenied errors, and configure alarms to send notifications when these patterns are detected, thus meeting all requirements.
A. AWS Config tracks resource configuration changes, not real-time API access violations by users. It is unsuitable for this use case.
B. Amazon CloudWatch metrics for S3 are aggregated and do not provide user-level details needed to identify a specific user violating a policy.
D. S3 server access logs are delivered on a best-effort basis and are not real-time. CloudTrail is the recommended service for security auditing and compliance.
1. AWS CloudTrail User Guide, "Logging Amazon S3 API calls by using AWS CloudTrail," Section: "Data events." This document explains how CloudTrail captures S3 object-level API activity.
2. AWS CloudTrail User Guide, "Working with CloudTrail log files," Section: "CloudTrail userIdentity element." This section details the userIdentity field which contains the necessary user information.
3. Amazon CloudWatch User Guide, "Creating alarms from CloudTrail events using the console," Section: "Create a CloudWatch alarm for a CloudTrail event." This guide shows how to create alarms based on specific API activity captured by CloudTrail.
Keep practicing
Take the free DEA-C01 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other DEA-C01 practice questions
- Question 1A company hosts its applications on Amazon EC2 instances. The company must use SSL/TLS co…
- Question 2A data engineer needs to build an enterprise data catalog based on the company's Amazon S…
- Question 3A company has an application that uses a microservice architecture. The company hosts the…
- Question 4A company stores customer records in Amazon S3. The company must not delete or modify the…
- Question 5A company uses AWS Glue Apache Spark jobs to handle extract, transform, and load (ETL) wo…
- Question 7A company has a data processing pipeline that includes several dozen steps. The data proc…
