You need centralized logging for API activity, with retention and the ability to investigate anomalous actions. What is the best solution?

Answer

Enable AWS CloudTrail for the account and configure trails to deliver to an S3 bucket with appropriate retention

Explanation

CloudTrail captures AWS API activity, which is critical for forensic investigation. Delivering logs to S3 with controlled retention supports long-term analysis.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list