SCS-C03 practice question 9 of 15

A company must capture AWS CloudTrail data events and must retain the logs for 7 years. The logs must be immutable and must be available to be searched by complex queries. The company also needs to visualize the data from the logs. Which solution will meet these requirements MOST cost-effectively?

Full set: 227 questions
Answer options
A: Create a CloudTrail Lake data store. Implement CloudTrail Lake dashboards to visualize and query the results. Correct answer
B: Use the CloudTrail Event History feature in the AWS Management Console. Visualize and query the results in the console.
C: Send the CloudTrail logs to an Amazon S3 bucket. Provision a persistent Amazon EMR cluster that has access to the S3 bucket. Enable S3 Object Lock on the S3 bucket. Use Apache Spark to perform queries. Use Amazon QuickSight for visualizations.
D: Send the CloudTrail logs to a log group in Amazon CloudWatch Logs. Set the CloudWatch Logs stream to send the data to an Amazon OpenSearch Service domain. Enable cold storage for the OpenSearch Service domain. Use OpenSearch Dashboards for visualizations and queries.
Correct Answer:
A. Create a CloudTrail Lake data store. Implement CloudTrail Lake dashboards to visualize and query the results.
Explanation

AWS CloudTrail Lake is a managed, purpose-built solution for capturing, storing, accessing, and analyzing CloudTrail events. It meets all requirements cost-effectively: it can retain data for up to 7 years (and beyond), ensures log immutability, allows for complex SQL-based queries, and includes integrated dashboards for visualization. As a single, managed service, it eliminates the operational overhead and potentially higher costs of building a multi-service solution.

Why Incorrect

B. The CloudTrail Event History feature only retains management events for 90 days and does not meet the 7-year retention requirement.
C. A persistent Amazon EMR cluster is very expensive for querying logs; this solution is complex and not cost-effective compared to the managed CloudTrail Lake.
D. Ingesting and storing high-volume data events in both CloudWatch Logs and OpenSearch Service for 7 years is typically more expensive than CloudTrail Lake's pricing model.

References

1. AWS CloudTrail Documentation. (2023). Working with AWS CloudTrail Lake. AWS CloudTrail User Guide. Retrieved from https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake.html. (See sections on "Create an event data store" for retention settings and "Query your CloudTrail events" for query capabilities).

2. AWS CloudTrail Documentation. (2023). CloudTrail Lake dashboards. AWS CloudTrail User Guide. Retrieved from https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-dashboards.html. (This section details the integrated visualization feature).

3. AWS CloudTrail. (2023). AWS CloudTrail Pricing. Retrieved from https://aws.amazon.com/cloudtrail/pricing/. (The pricing page details the cost structure for CloudTrail Lake, which is optimized for this use case).

Scroll to Top