A team is migrating a legacy application to AWS and needs near-real-time visibility into API calls for security investigations across multiple services. Which service provides this capability most directly?
Answer
AWS CloudTrail
Explanation
CloudTrail records API activity and related metadata across supported AWS services, enabling audit trails for investigators. GuardDuty and Inspector help with detection and vulnerability insights but do not provide the core API call history by themselves.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A customer says, “Because we encrypt our data at rest using S3 server-side encryption, all access to the data is automatically protected with the same key.” Which correction is most accurate?
View question →
A startup wants to adopt AWS while ensuring they can scale capacity automatically without re-architecting. They also need predictable cost visibility for fluctuating traffic. Which combination best matches these goals?
View question →
A solution requires that users access an application securely through the internet without exposing the application servers directly. It must also support TLS termination and efficient routing based on HTTP/HTTPS attributes. Which AWS service pattern best satisfies this?
View question →
A company runs a multi-account AWS environment with centralized logging. Which approach best provides cross-account auditability while minimizing operational overhead for investigators?
View question →
A company uses AWS Organizations and wants a governance approach that is enforced automatically to prevent noncompliant accounts from creating certain resources. Which control mechanism is most aligned?
View question →
Which AWS feature is specifically designed to help reduce IAM policy complexity by allowing you to control access to resources at scale using tags?
View question →