Data Security and Governance

A team keeps audit logs in S3 for occasional SQL analysis and needs interactive full-text searches and dashboards over a separately indexed copy. Which approaches meet these needs? (Choose two.)

Choose 2 answers

Show the answer

Correct answersB. Use Amazon OpenSearch Service to index logs for searches and dashboards.D. Use Athena with a table describing the S3 log data.

AWhy not this: CloudTrail event history covers recent management events, not arbitrary application log datasets in S3.

BWhy this is right: OpenSearch Service indexes log data for interactive searches and visualization through dashboards.

CWhy not this: CloudWatch Logs Insights queries CloudWatch Logs log groups, not arbitrary S3 objects directly.

DWhy this is right: Athena queries S3 log data with SQL using a table that describes the data's schema and location.

Athena supports SQL analysis of logs in S3, while OpenSearch Service supports indexed full-text searches and dashboards. CloudWatch Logs Insights analyzes logs in CloudWatch Logs rather than directly querying arbitrary S3 objects.