AWS Certified Solutions Architect – Professional (SAP-C02) — Question 509

A company has multiple AWS accounts that are in an organization in AWS Organizations. The company needs to store AWS account activity and query the data from a central location by using SQL.

Which solution will meet these requirements?

Answer options

Correct answer: B

Explanation

AWS CloudTrail Lake is a managed service that allows users to aggregate, store, and query activity logs using standard SQL. By using a delegated administrator account to create an organization-wide event data store, the company can centralize logs from all accounts and query them in one place. Other options like CloudWatch Logs Insights do not use standard SQL, and utilizing individual trails or StackSets does not provide the required centralized SQL querying capability.